Merge branch 'qa-mr-wait-for-push' into 'master'

Wait for push before trying to create a new MR

See merge request gitlab-org/gitlab-ce!23745
This commit is contained in:
Nick Thomas 2018-12-12 14:20:27 +00:00
commit c6db4471aa

View file

@ -58,7 +58,10 @@ module QA
populate(:target, :source)
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.fill_title(@title)
page.fill_description(@description)