summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz@gitlab.com>2018-02-15 13:39:52 +0000
committerGrzegorz Bizon <grzegorz@gitlab.com>2018-02-15 13:39:52 +0000
commit62a600457a2192ff7487677c62eb61ba329cf2fb (patch)
treefb7282c43465cae025a770b88839b699899f5f8b /qa
parent98e4d4083a7d734b7f60402041aa59fa66309cac (diff)
parent104d5af8ba63aa5c284c260dc207e7ddb9e1a918 (diff)
downloadgitlab-ce-62a600457a2192ff7487677c62eb61ba329cf2fb.tar.gz
Merge branch 'qa_issue_177' into 'master'
QA - Wait for create merge request button to appear Closes gitlab-qa#177 See merge request gitlab-org/gitlab-ce!17115
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/page/project/show.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/qa/qa/page/project/show.rb b/qa/qa/page/project/show.rb
index b603557f59c..0c7ad46d36b 100644
--- a/qa/qa/page/project/show.rb
+++ b/qa/qa/page/project/show.rb
@@ -45,6 +45,10 @@ module QA
end
def new_merge_request
+ wait(reload: true) do
+ has_css?(element_selector_css(:create_merge_request))
+ end
+
click_element :create_merge_request
end