Commit 35e085be authored by Alexandru Croitor's avatar Alexandru Croitor

Fix flacky spec

Wait for labels to load before clicking the label.
parent 82cd8d68
......@@ -86,6 +86,7 @@ RSpec.describe 'User views iteration' do
sign_in(user)
visit group_iteration_path(iteration.group, iteration.id)
wait_for_requests
end
it_behaves_like 'iteration report group by label'
......
......@@ -59,6 +59,7 @@ RSpec.describe 'User views iteration' do
stub_licensed_features(iterations: true)
sign_in(user)
visit url
wait_for_requests
end
it_behaves_like 'render iteration page'
......
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