Skip to content

Commit 68ff9b4

Browse files
committed
increase capybara browser process_timeout
1 parent fef7a66 commit 68ff9b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/rails_helper.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
cuprite_opts = {
3030
js_errors: true,
3131
window_size: [1920, 1080],
32-
timeout: 10,
33-
process_timeout: 10,
32+
timeout: ENV.fetch('CAPYBARA_TIMEOUT', 10).to_i,
33+
process_timeout: ENV.fetch('CAPYBARA_PROCESS_TIMEOUT', 15).to_i,
3434
url_whitelist: %w[http://127.0.0.1:* http://localhost:* http://lvh.me:*],
3535
browser_options: {
3636
'disable-gpu' => nil,

0 commit comments

Comments
 (0)