diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-09 12:22:41 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-09 12:22:41 +0300 |
commit | 65688a509249eb3be8ea4687d3fe6d1432a47392 (patch) | |
tree | dffc9c087dc2eda02e4656d5a0b16b5d7051e69f /qa/spec | |
parent | 4b8939db3d80469826a62f1409b921f96dac2498 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'qa/spec')
-rw-r--r-- | qa/spec/support/matchers/eventually_matcher.rb | 4 |
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}") |