Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorMichael Kozono <mkozono@gmail.com>2018-02-05 23:27:35 +0300
committerMichael Kozono <mkozono@gmail.com>2018-02-05 23:27:35 +0300
commit3853f5d8eeff48a1a27cc0afebbcec9149ffeb85 (patch)
tree9270646df17ade823b6fb79ee60bac0436230c0d /qa
parentdf176fe747cad64fd86f8b91fe94f8b40bbd8a04 (diff)
Fix wait condition
The `has_css?` line was always timing out false because `$(‘…’).val(url)` does not change the input’s value attribute.
Diffstat (limited to 'qa')
-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