Commit 249a2c0e authored by Mark Lapierre's avatar Mark Lapierre

Wait for push before trying to create a new MR

parent cc735352
...@@ -58,7 +58,10 @@ module QA ...@@ -58,7 +58,10 @@ module QA
populate(:target, :source) populate(:target, :source)
project.visit! project.visit!
Page::Project::Show.perform(&:new_merge_request) Page::Project::Show.perform do |project|
project.wait_for_push
project.new_merge_request
end
Page::MergeRequest::New.perform do |page| Page::MergeRequest::New.perform do |page|
page.fill_title(@title) page.fill_title(@title)
page.fill_description(@description) page.fill_description(@description)
......
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