specs: increase Capybara default timeout

Because CircleCI machines are slow, and tests sometimes timeout.
This commit is contained in:
Pierre de La Morinerie 2018-08-07 12:30:54 +02:00
parent 430763fa02
commit 9ec5befa09

View file

@ -47,7 +47,7 @@ Capybara.register_driver :headless_chrome do |app|
desired_capabilities: capabilities
end
Capybara.default_max_wait_time = 1
Capybara.default_max_wait_time = 2
# Save a snapshot of the HTML page when an integration test fails
Capybara::Screenshot.autosave_on_failure = true