Skip to content

Commit fa14cec

Browse files
committed
fix: adjust browser timeout setup in driver spec for a flaky test
1 parent ecf5d7f commit fa14cec

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

spec/features/driver_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -658,6 +658,7 @@ def create_screenshot(file, *args)
658658
end
659659

660660
it "operates a timeout when communicating with browser" do
661+
@driver.browser.page # attach first so the low timeout covers visit only
661662
old_timeout = @driver.timeout
662663
@driver.timeout = 0.1
663664
expect do

0 commit comments

Comments
 (0)