summaryrefslogtreecommitdiff
path: root/qa/qa/page/base.rb
diff options
context:
space:
mode:
authorSanad Liaquat <sliaquat@gitlab.com>2019-07-12 11:31:49 +0500
committerSanad Liaquat <sliaquat@gitlab.com>2019-07-12 11:31:49 +0500
commitf4a4f6e28aaaaa157ab6bc91d41a22cdea4fab8a (patch)
tree04fef2081772be06dafc18fee1dae45b61c5c6a2 /qa/qa/page/base.rb
parent0b71325dc00ac459636625e743133c0bc0b4cb33 (diff)
downloadgitlab-ce-f4a4f6e28aaaaa157ab6bc91d41a22cdea4fab8a.tar.gz
Fix page refresh in retry_untilqa-nightly-115-fix-retry-until
Diffstat (limited to 'qa/qa/page/base.rb')
-rw-r--r--qa/qa/page/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/qa/page/base.rb b/qa/qa/page/base.rb
index 130e5e33ab4..80ce23d5c38 100644
--- a/qa/qa/page/base.rb
+++ b/qa/qa/page/base.rb
@@ -26,7 +26,7 @@ module QA
end
def retry_until(max_attempts: 3, reload: false, sleep_interval: 0)
- QA::Support::Retrier.retry_until(max_attempts: max_attempts, reload: reload, sleep_interval: sleep_interval) do
+ QA::Support::Retrier.retry_until(max_attempts: max_attempts, reload_page: (reload && self), sleep_interval: sleep_interval) do
yield
end
end