diff --git a/Gemfile b/Gemfile index 4f3a8da29..e795ab02f 100644 --- a/Gemfile +++ b/Gemfile @@ -195,7 +195,7 @@ group :test do gem 'selenium-webdriver' gem 'shoulda-matchers', '~> 3.1' gem 'timecop' - gem 'webdrivers' + gem 'webdrivers', '~> 5.3.1' # Required by capybara gem 'matrix' diff --git a/Gemfile.lock b/Gemfile.lock index bb2914e13..efaff69a6 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -104,15 +104,15 @@ GEM thor (~> 1.0) byebug (11.1.1) cancancan (1.17.0) - capybara (3.35.3) + capybara (3.39.2) addressable + matrix mini_mime (>= 0.1.3) nokogiri (~> 1.8) rack (>= 1.6.0) rack-test (>= 0.6.3) regexp_parser (>= 1.5, < 3.0) xpath (~> 3.2) - childprocess (3.0.0) chronic (0.10.2) coderay (1.1.2) coffee-rails (5.0.0) @@ -450,9 +450,10 @@ GEM sprockets (> 3.0) sprockets-rails tilt - selenium-webdriver (3.142.7) - childprocess (>= 0.5, < 4.0) - rubyzip (>= 1.2.2) + selenium-webdriver (4.10.0) + rexml (~> 3.2, >= 3.2.5) + rubyzip (>= 1.2.2, < 3.0) + websocket (~> 1.0) shellany (0.0.1) shoulda-matchers (3.1.3) activesupport (>= 4.0.0) @@ -499,11 +500,12 @@ GEM activemodel (>= 6.0.0) bindex (>= 0.4.0) railties (>= 6.0.0) - webdrivers (4.2.0) + webdrivers (5.3.1) nokogiri (~> 1.6) rubyzip (>= 1.3.0) - selenium-webdriver (>= 3.0, < 4.0) - websocket-driver (0.7.5) + selenium-webdriver (~> 4.0, < 4.11) + websocket (1.2.9) + websocket-driver (0.7.6) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) whenever (1.0.0) @@ -614,7 +616,7 @@ DEPENDENCIES unicorn (= 6.1.0) warden (~> 1.2.3) web-console (>= 4.1.0) - webdrivers + webdrivers (~> 5.3.1) whenever RUBY VERSION diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index b2986c4cf..475ef2d6a 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -43,7 +43,7 @@ Capybara.server = :puma, { Silent: true } Capybara.javascript_driver = :chrome -Webdrivers::Chromedriver.required_version = '114.0.5735.90' +# Webdrivers::Chromedriver.required_version = '114.0.5735.90' RSpec.configure do |config| # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures