diff --git a/spec/support/capybara.rb b/spec/support/capybara.rb index 4357d51382..e8cb852c7b 100644 --- a/spec/support/capybara.rb +++ b/spec/support/capybara.rb @@ -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