Commit f875a6f9 authored by Mark Lapierre's avatar Mark Lapierre

Wait for push before checking for new commit

Wait for the push to be completed before checking that the merge
request shows the change
parent e997b22d
...@@ -25,6 +25,7 @@ module QA ...@@ -25,6 +25,7 @@ module QA
push.file_content = "Test with unicode characters ❤✓€❄" push.file_content = "Test with unicode characters ❤✓€❄"
end end
Page::Project::Show.perform(&:wait_for_push)
merge_request.visit! merge_request.visit!
expect(page).to have_text('to be squashed') expect(page).to have_text('to be squashed')
......
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