From d0bf1181b510e7a15092f89d9783c3d534b27c5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toma=CC=81s=CC=8C=20Durc=CC=8Ca=CC=81k?= Date: Fri, 20 Sep 2024 14:51:00 +0200 Subject: [PATCH] Change default_max_wait_time for Capybara --- test/test_helper.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/test_helper.rb b/test/test_helper.rb index f7b89afe..4817bc90 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -8,6 +8,10 @@ Rails.application.eager_load! # see https://github.com/simplecov-ruby/simplecov?tab=readme-ov-file#want-to-use-spring-with-simplecov +Capybara.configure do |config| + config.default_max_wait_time = 5 +end + class ActiveSupport::TestCase # Run tests in parallel with specified workers parallelize(workers: :number_of_processors)