Skip to content

Commit

Permalink
Change default_max_wait_time for Capybara
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomáš Durčák committed Sep 20, 2024
1 parent 25c6d2a commit d0bf118
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d0bf118

Please sign in to comment.