diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 7bd04cf..4baa8ac 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -71,6 +71,11 @@ Capybara.configure do |config| config.automatic_label_click = true + + # These tests run against real environments over the network, often right + # after a deployment when the apps respond slowly. Capybara's 2 second + # default is not long enough for page loads and redirects to settle. + config.default_max_wait_time = 10 end # This file was generated by the `rspec --init` command. Conventionally, all