diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-21 02:50:22 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-21 02:50:22 +0300 |
commit | 9dc93a4519d9d5d7be48ff274127136236a3adb3 (patch) | |
tree | 70467ae3692a0e35e5ea56bcb803eb512a10bedb /spec/support/helpers/cycle_analytics_helpers.rb | |
parent | 4b0f34b6d759d6299322b3a54453e930c6121ff0 (diff) |
Add latest changes from gitlab-org/gitlab@13-11-stable-eev13.11.0-rc43
Diffstat (limited to 'spec/support/helpers/cycle_analytics_helpers.rb')
-rw-r--r-- | spec/support/helpers/cycle_analytics_helpers.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/support/helpers/cycle_analytics_helpers.rb b/spec/support/helpers/cycle_analytics_helpers.rb index 14041ad0ac6..9e62eef14de 100644 --- a/spec/support/helpers/cycle_analytics_helpers.rb +++ b/spec/support/helpers/cycle_analytics_helpers.rb @@ -3,15 +3,15 @@ module CycleAnalyticsHelpers include GitHelpers - def wait_for_stages_to_load - expect(page).to have_selector '.js-stage-table' + def wait_for_stages_to_load(selector = '.js-path-navigation') + expect(page).to have_selector selector wait_for_requests end - def select_group(target_group) + def select_group(target_group, ready_selector = '.js-path-navigation') visit group_analytics_cycle_analytics_path(target_group) - wait_for_stages_to_load + wait_for_stages_to_load(ready_selector) end def toggle_dropdown(field) |