Commit 84bda43a authored by Stan Hu's avatar Stan Hu

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
parents fb11e8fd 3853f5d8
...@@ -3,7 +3,6 @@ module QA ...@@ -3,7 +3,6 @@ module QA
module Project module Project
class Show < Page::Base class Show < Page::Base
view 'app/views/shared/_clone_panel.html.haml' do view 'app/views/shared/_clone_panel.html.haml' do
element :clone_holder, '.git-clone-holder'
element :clone_dropdown element :clone_dropdown
element :clone_options_dropdown, '.clone-options-dropdown' element :clone_options_dropdown, '.clone-options-dropdown'
element :project_repository_location, 'text_field_tag :project_clone' element :project_repository_location, 'text_field_tag :project_clone'
...@@ -31,7 +30,7 @@ module QA ...@@ -31,7 +30,7 @@ module QA
end end
# Ensure git clone textbox was updated to http URI # 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
end end
......
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