summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2018-02-06 04:59:28 +0000
committerStan Hu <stanhu@gmail.com>2018-02-06 04:59:28 +0000
commit84bda43a3c0ce13a436748d0bc0ea943f6ebccb3 (patch)
treea25bbb985d028ee82feeaa04cbcb0f907d80e1f7
parentfb11e8fd47ddc0021caa6ef585e6bdd2ad354b63 (diff)
parent3853f5d8eeff48a1a27cc0afebbcec9149ffeb85 (diff)
downloadgitlab-ce-84bda43a3c0ce13a436748d0bc0ea943f6ebccb3.tar.gz
Merge branch 'qa/mk-fix-slow-wait' into 'master'
Fix QA project clone wait condition Closes gitlab-qa#175 See merge request gitlab-org/gitlab-ce!16932
-rw-r--r--qa/qa/page/project/show.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/qa/qa/page/project/show.rb b/qa/qa/page/project/show.rb
index 553d35f9579..9d2a84ea644 100644
--- a/qa/qa/page/project/show.rb
+++ b/qa/qa/page/project/show.rb
@@ -3,7 +3,6 @@ module QA
module Project
class Show < Page::Base
view 'app/views/shared/_clone_panel.html.haml' do
- element :clone_holder, '.git-clone-holder'
element :clone_dropdown
element :clone_options_dropdown, '.clone-options-dropdown'
element :project_repository_location, 'text_field_tag :project_clone'
@@ -31,7 +30,7 @@ module QA
end
# Ensure git clone textbox was updated to http URI
- page.has_css?('.git-clone-holder input#project_clone[value*="http"]')
+ repository_location.include?('http')
end
end