Skip to content

Commit

Permalink
Increase timeout to prevent PendingConnectionError
Browse files Browse the repository at this point in the history
  • Loading branch information
mmx900 committed Apr 30, 2024
1 parent 6bc8baa commit b182c96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/support/rspec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

Capybara.javascript_driver = :cuprite
Capybara.register_driver(:cuprite) do |app|
Capybara::Cuprite::Driver.new(app, window_size: [1200, 800], browser_options: { 'no-sandbox': nil })
Capybara::Cuprite::Driver.new(app, window_size: [1200, 800], browser_options: { 'no-sandbox': nil, timeout: 90 })
end

WebMock.disable_net_connect!(allow_localhost: true)
Expand Down

0 comments on commit b182c96

Please sign in to comment.