Skip to content

Commit 72ffb8f

Browse files
author
Bevan
authored
Merge pull request #1249 from alphagov/increase-capybara-timeouts
Increase Capybara timeouts
2 parents 98ddaac + 7ea90b4 commit 72ffb8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_helper.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
chromeOptions: { args: %w(headless disable-gpu no-sandbox) }
1717
)
1818
client = Selenium::WebDriver::Remote::Http::Default.new
19-
client.timeout = 90 # Asset compilation can result in a timeout on the first request hence the increase.
19+
client.read_timeout = 120 # Asset compilation can result in a timeout on the first request hence the increase.
2020

2121
Capybara::Selenium::Driver.new(
2222
app,

0 commit comments

Comments
 (0)