From 7fda492b1fbdc806b40abdcadc88a8d51217f72c Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Thu, 10 Aug 2023 12:49:27 +1200 Subject: [PATCH] fix: replace `webdrivers` with `selenium-webdrivers` --- Gemfile | 2 +- Gemfile.lock | 8 ++------ spec/rails_helper.rb | 2 -- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/Gemfile b/Gemfile index 0c0313230..ae11af749 100644 --- a/Gemfile +++ b/Gemfile @@ -112,5 +112,5 @@ group :test do gem 'database_cleaner' gem 'percy-capybara', '~> 4.3.2' gem 'rails-controller-testing' - gem 'webdrivers' + gem 'selenium-webdriver' end diff --git a/Gemfile.lock b/Gemfile.lock index 22f813704..56ef4357e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -405,10 +405,6 @@ GEM videojs_rails (4.12.15) warden (1.2.9) rack (>= 2.0.9) - webdrivers (4.6.0) - nokogiri (~> 1.6) - rubyzip (>= 1.3.0) - selenium-webdriver (>= 3.0, < 4.0) websocket-driver (0.7.5) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) @@ -472,13 +468,13 @@ DEPENDENCIES rubocop-performance rubocop-rails sassc-rails + selenium-webdriver simplecov skylight sprockets-rails sqlite3 uglifier videojs_rails - webdrivers whenever will_paginate @@ -486,4 +482,4 @@ RUBY VERSION ruby 3.1.3p185 BUNDLED WITH - 2.4.5 + 2.4.3 diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index 3cc346a25..2752b1ab2 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -12,8 +12,6 @@ require 'capybara-screenshot/rspec' require 'percy' -require 'webdrivers' - Capybara.default_driver = :selenium_chrome_headless Capybara.javascript_driver = :selenium_chrome_headless Capybara.default_max_wait_time = 5.seconds