Commit 7b195eba authored by Albert Salim's avatar Albert Salim

Wait for group cycle analytics page to load

parent 70e02303
......@@ -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