diff --git a/spec/support/system_helpers.rb b/spec/support/system_helpers.rb index f5a737e8823..e23adc8e1e8 100644 --- a/spec/support/system_helpers.rb +++ b/spec/support/system_helpers.rb @@ -30,7 +30,7 @@ module SystemHelpers SiteSetting.splash_screen = false end - def try_until_success(timeout: 2, frequency: 0.01) + def try_until_success(timeout: Capybara.default_max_wait_time, frequency: 0.01) start ||= Time.zone.now backoff ||= frequency yield