diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 7056b9f81..7c9d40bcc 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -48,6 +48,9 @@ Capybara.register_driver :headless_chrome do |app| desired_capabilities: capabilities end +# FIXME: remove this line when https://github.com/rspec/rspec-rails/issues/1897 has been fixed +Capybara.server = :puma, { Silent: true } + Capybara.default_max_wait_time = 2 # Save a snapshot of the HTML page when an integration test fails