We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fef7a66 commit 68ff9b4Copy full SHA for 68ff9b4
spec/rails_helper.rb
@@ -29,8 +29,8 @@
29
cuprite_opts = {
30
js_errors: true,
31
window_size: [1920, 1080],
32
- timeout: 10,
33
- process_timeout: 10,
+ timeout: ENV.fetch('CAPYBARA_TIMEOUT', 10).to_i,
+ process_timeout: ENV.fetch('CAPYBARA_PROCESS_TIMEOUT', 15).to_i,
34
url_whitelist: %w[http://127.0.0.1:* http://localhost:* http://lvh.me:*],
35
browser_options: {
36
'disable-gpu' => nil,
0 commit comments