Commit 5f5d3f1d authored by Thong Kuah's avatar Thong Kuah

Merge branch 'caalberts-fix-flaky-cycle-analytics-spec' into 'master'

Wait for group cycle analytics page to load

Closes #245268

See merge request gitlab-org/gitlab!41742
parents 23d80005 7b195eba
......@@ -29,14 +29,10 @@ RSpec.describe 'Group Value Stream Analytics', :js do
let_it_be("issue_#{i}".to_sym) { create(:issue, title: "New Issue #{i}", project: project, created_at: 2.days.ago) }
end
def wait_for_stages_to_load
expect(page).to have_selector '.js-stage-table'
end
def select_group(target_group = group)
visit group_analytics_cycle_analytics_path(target_group)
wait_for_stages_to_load
wait_for_requests
end
def select_project
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment