diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index d68d821e..21f7a611 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -42,6 +42,8 @@ # Ensure that if we are running js tests, we are using latest webpack assets # This will use the defaults of :js and :server_rendering meta tags ReactOnRails::TestHelper.configure_rspec_to_compile_assets(config) + # Register the headless Chrome driver + DriverRegistration.register_selenium_chrome_headless # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures config.fixture_path = Rails.root.join("spec/fixtures")