Commit 637a1578 authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Merge branch '321305-fix-flacky-spec' into 'master'

Fix flacky spec

See merge request gitlab-org/gitlab!54084
parents a211e9a2 35e085be
...@@ -86,6 +86,7 @@ RSpec.describe 'User views iteration' do ...@@ -86,6 +86,7 @@ RSpec.describe 'User views iteration' do
sign_in(user) sign_in(user)
visit group_iteration_path(iteration.group, iteration.id) visit group_iteration_path(iteration.group, iteration.id)
wait_for_requests
end end
it_behaves_like 'iteration report group by label' it_behaves_like 'iteration report group by label'
......
...@@ -59,6 +59,7 @@ RSpec.describe 'User views iteration' do ...@@ -59,6 +59,7 @@ RSpec.describe 'User views iteration' do
stub_licensed_features(iterations: true) stub_licensed_features(iterations: true)
sign_in(user) sign_in(user)
visit url visit url
wait_for_requests
end end
it_behaves_like 'render iteration page' 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