1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test
John Hawthorn b21ef26661 Preload browser driver_path for system testing
The webdrivers gem configures Selenium::WebDriver::Service.driver_path
as a proc which updates the web drivers and returns their path.

This commit introduces SystemTesting::Browser#preload, which runs this
proc early. This ensures that webdrivers update is run before forking
for parallel testing, but doesn't explicitly tie us to that gem (and I
think anything configured as driver_path probably makes sense to
eager-load).
2019-07-03 13:56:50 -07:00
..
abstract Module#{define_method,alias_method,undef_method,remove_method} become public since Ruby 2.5 2018-12-21 01:39:18 +09:00
assertions
controller Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
dispatch Preload browser driver_path for system testing 2019-07-03 13:56:50 -07:00
fixtures
journey Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
lib/controller
routing
abstract_unit.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00