diff --git a/Gemfile b/Gemfile index 790ff36131..0f2e855ab3 100644 --- a/Gemfile +++ b/Gemfile @@ -90,9 +90,9 @@ group :test do gem 'database_cleaner' gem 'minitest', '~> 5.17' gem 'minitest-stub_any_instance' + gem 'selenium-webdriver' gem 'simplecov', '0.17.1', require: false # CC last supported v0.17 gem 'spy' - gem 'webdrivers' gem 'webmock' end diff --git a/Gemfile.lock b/Gemfile.lock index 8d933840cd..af11f6e1f2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -513,10 +513,6 @@ GEM addressable httpi (~> 2.0) nokogiri (>= 1.4.2) - webdrivers (4.6.1) - nokogiri (~> 1.6) - rubyzip (>= 1.3.0) - selenium-webdriver (>= 3.0, < 4.0) webfinger (1.2.0) activesupport httpclient (>= 2.4) @@ -594,6 +590,7 @@ DEPENDENCIES sass-rails select2-rails (= 4.0.13) selectize-rails (= 0.12.6) + selenium-webdriver sidekiq (~> 7.0) simplecov (= 0.17.1) simpleidn (= 0.2.1) @@ -602,10 +599,9 @@ DEPENDENCIES truemail (~> 3.0) uglifier validates_email_format_of (= 1.7.2) - webdrivers webmock whenever (= 1.0.0) wkhtmltopdf-binary (~> 0.12.6.1) BUNDLED WITH - 2.4.14 + 2.4.19 diff --git a/test/application_system_test_case.rb b/test/application_system_test_case.rb index 63c91fcde4..7267673905 100644 --- a/test/application_system_test_case.rb +++ b/test/application_system_test_case.rb @@ -19,7 +19,6 @@ class ApplicationSystemTestCase < ActionDispatch::IntegrationTest class JavaScriptApplicationSystemTestCase < ApplicationSystemTestCase self.use_transactional_tests = false DatabaseCleaner.strategy = :truncation - Webdrivers::Chromedriver.required_version = '114.0.5735.90' Capybara.register_driver(:chrome) do |app| options = ::Selenium::WebDriver::Chrome::Options.new