summaryrefslogtreecommitdiff
path: root/qa/qa/page/base.rb
diff options
context:
space:
mode:
authorMark Lapierre <mlapierre@gitlab.com>2018-12-26 09:43:27 +0000
committerRamya Authappan <rauthappan@gitlab.com>2018-12-26 09:43:27 +0000
commit8bee93b0e206fba89468419c52ad4162684cc49b (patch)
treea733e75d926939250b83dc9ee410c1008da02ca6 /qa/qa/page/base.rb
parentfddb47469e6d711a92bd513f4a60c615b38b2d94 (diff)
downloadgitlab-ce-8bee93b0e206fba89468419c52ad4162684cc49b.tar.gz
[CE] Speed up login page usage
Diffstat (limited to 'qa/qa/page/base.rb')
-rw-r--r--qa/qa/page/base.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/qa/page/base.rb b/qa/qa/page/base.rb
index d6b763ed5fc..615d17bbcfe 100644
--- a/qa/qa/page/base.rb
+++ b/qa/qa/page/base.rb
@@ -108,8 +108,8 @@ module QA
element.select value.to_s.capitalize
end
- def has_element?(name)
- has_css?(element_selector_css(name))
+ def has_element?(name, wait: Capybara.default_max_wait_time)
+ has_css?(element_selector_css(name), wait: wait)
end
def has_no_text?(text)