mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 00:47:46 -06:00
DEV: Re-enable browser read timeout in specs (#24844)
Turns out there's an easier (and properly working) way to do this!
See: 52eaecea6d/lib/capybara/selenium/driver.rb (L68C42-L68C42)
This commit is contained in:
parent
fca67117ee
commit
86b9e784dc
@ -388,7 +388,7 @@ RSpec.configure do |config|
|
||||
options.add_preference("download.default_directory", Downloads::FOLDER)
|
||||
end
|
||||
|
||||
driver_options = { browser: :chrome }
|
||||
driver_options = { browser: :chrome, timeout: BROWSER_READ_TIMEOUT }
|
||||
|
||||
if ENV["CAPYBARA_REMOTE_DRIVER_URL"].present?
|
||||
driver_options[:browser] = :remote
|
||||
|
Loading…
Reference in New Issue
Block a user