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/spec
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-08-09 12:22:41 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-08-09 12:22:41 +0300
commit65688a509249eb3be8ea4687d3fe6d1432a47392 (patch)
treedffc9c087dc2eda02e4656d5a0b16b5d7051e69f /qa/spec
parent4b8939db3d80469826a62f1409b921f96dac2498 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'qa/spec')
-rw-r--r--qa/spec/support/matchers/eventually_matcher.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/qa/spec/support/matchers/eventually_matcher.rb b/qa/spec/support/matchers/eventually_matcher.rb
index dfedc7f3d99..dc7177cf08a 100644
--- a/qa/spec/support/matchers/eventually_matcher.rb
+++ b/qa/spec/support/matchers/eventually_matcher.rb
@@ -25,6 +25,7 @@ module Matchers
@duration = options[:duration]
@attempts = options[:attempts]
@interval = options[:interval]
+ @reload_page = options[:reload_page]
end
def supports_block_expectations?
@@ -59,7 +60,8 @@ module Matchers
QA::Support::Retrier.retry_until(
max_attempts: @attempts,
max_duration: @duration,
- sleep_interval: @interval || 0.5
+ sleep_interval: @interval || 0.5,
+ reload_page: @reload_page
) do
QA::Runtime::Logger.debug("evaluating expectation, attempt: #{attempt += 1}")