summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThong Kuah <tkuah@gitlab.com>2019-05-24 01:01:56 +1200
committerThong Kuah <tkuah@gitlab.com>2019-05-24 08:38:52 +1200
commitdf78a3cfd0fabd66addc838b5522535f9f24ad00 (patch)
tree79ad21e17bfca4915ade4c9cca4197f1c516d799
parent7b5cc7b47e1aa0221b9aac85049388192ade4ed4 (diff)
downloadgitlab-ce-transient_production_job_auto_devops_qa.tar.gz
Wait longer than a second for tracetransient_production_job_auto_devops_qa
Requesting trace, then waiting for response and then running javascript based on the response may take longer than a second. Extend the time so that QA doesn't fail prematurely
-rw-r--r--qa/qa/page/project/job/show.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/qa/page/project/job/show.rb b/qa/qa/page/project/job/show.rb
index 5853f487f0b..903c0f11247 100644
--- a/qa/qa/page/project/job/show.rb
+++ b/qa/qa/page/project/job/show.rb
@@ -33,8 +33,8 @@ module QA::Page
private
def loaded?(wait: 60)
- wait(reload: true, max: wait, interval: 1) do
- has_element?(:build_trace, wait: 1)
+ wait(reload: true, max: wait, interval: 5) do
+ has_element?(:build_trace, wait: 5)
end
end