From 3866743e2ea9e53df33318f85f7733be819ef410 Mon Sep 17 00:00:00 2001 From: Martin Meyerhoff Date: Mon, 31 Jul 2023 14:03:36 +0200 Subject: [PATCH] Use selenium-webdriver instead of webdrivers gem Selenium-Webdriver now has a feature that makes the webdrivers gem obsolete: https://github.com/titusfortner/webdrivers#update-future-of-this-project --- alchemy_cms.gemspec | 2 +- spec/rails_helper.rb | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/alchemy_cms.gemspec b/alchemy_cms.gemspec index e889617e55..1d5e950e29 100644 --- a/alchemy_cms.gemspec +++ b/alchemy_cms.gemspec @@ -63,7 +63,7 @@ Gem::Specification.new do |gem| gem.add_development_dependency "rspec-activemodel-mocks", ["~> 1.0"] gem.add_development_dependency "rspec-rails", [">= 4.0.0.beta2"] gem.add_development_dependency "simplecov", ["~> 0.20"] - gem.add_development_dependency "webdrivers", ["~> 5.0"] + gem.add_development_dependency "selenium-webdriver", ["~> 4.10"] gem.add_development_dependency "webmock", ["~> 3.3"] gem.add_development_dependency "shoulda-matchers", ["~> 5.0"] gem.add_development_dependency "timecop", ["~> 0.9"] diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index ff28580e15..5ef2fb3717 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -12,7 +12,6 @@ require "rails-controller-testing" require "rspec-activemodel-mocks" require "rspec/rails" -require "webdrivers/chromedriver" require "shoulda-matchers" require "factory_bot" require "view_component/test_helpers"