Skip to content

Commit

Permalink
Merge pull request #1249 from alphagov/increase-capybara-timeouts
Browse files Browse the repository at this point in the history
Increase Capybara timeouts
  • Loading branch information
Bevan authored Feb 20, 2019
2 parents 98ddaac + 7ea90b4 commit 72ffb8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
chromeOptions: { args: %w(headless disable-gpu no-sandbox) }
)
client = Selenium::WebDriver::Remote::Http::Default.new
client.timeout = 90 # Asset compilation can result in a timeout on the first request hence the increase.
client.read_timeout = 120 # Asset compilation can result in a timeout on the first request hence the increase.

Capybara::Selenium::Driver.new(
app,
Expand Down

0 comments on commit 72ffb8f

Please sign in to comment.