Increase capybara default timeout to reduce test flakiness (#34859)

This commit is contained in:
Claire 2025-05-30 15:13:24 +02:00 committed by GitHub
parent 0789ec93f8
commit 4b39bced3e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -30,6 +30,10 @@ end
Capybara.javascript_driver = :headless_chrome
# Some of the flaky tests seem to be caused by github runners being too slow for the
# default timeout of 2 seconds
Capybara.default_max_wait_time = 8
RSpec.configure do |config|
config.before(:each, type: :system) do
driven_by :rack_test