From 76368c0d50aff63faf6e87ea65f33e64ea04458d Mon Sep 17 00:00:00 2001 From: Atharva Raykar Date: Wed, 20 Dec 2023 12:37:16 +0530 Subject: [PATCH] fix feature spec breakage with webdrivers update Feature specs are breaking on new machines, due to a change in the endpoint of Chrome webdrivers. The webdrivers gem have solved this upstream [0], so simply updating the dependency fixes the problem. [0] https://github.com/titusfortner/webdrivers/issues/247 --- Gemfile | 2 +- Gemfile.lock | 24 +++++++++++------------- 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/Gemfile b/Gemfile index a89c1e382f..b8f6339cd1 100644 --- a/Gemfile +++ b/Gemfile @@ -141,6 +141,6 @@ group :test do gem "puma" gem "rspec-sidekiq" gem "simplecov", require: false - gem "webdrivers", ">= 5.2.0" + gem "webdrivers", ">= 5.3.0" gem "webmock" end diff --git a/Gemfile.lock b/Gemfile.lock index 5b43724883..1d5f949250 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -133,7 +133,6 @@ GEM rack-test (>= 0.6.3) regexp_parser (>= 1.5, < 3.0) xpath (~> 3.2) - childprocess (4.1.0) choice (0.2.0) chronic (0.10.2) coderay (1.1.3) @@ -369,7 +368,7 @@ GEM mime-types-data (3.2022.0105) mini_histogram (0.3.1) mini_mime (1.1.2) - mini_portile2 (2.8.2) + mini_portile2 (2.8.5) minitest (5.16.3) mock_redis (0.33.0) ruby2_keywords @@ -380,12 +379,12 @@ GEM net-ssh (7.0.1) netrc (0.11.0) nio4r (2.5.9) - nokogiri (1.15.0) + nokogiri (1.15.5) mini_portile2 (~> 2.8.2) racc (~> 1.4) - nokogiri (1.15.0-x86_64-darwin) + nokogiri (1.15.5-x86_64-darwin) racc (~> 1.4) - nokogiri (1.15.0-x86_64-linux) + nokogiri (1.15.5-x86_64-linux) racc (~> 1.4) notiffany (0.1.3) nenv (~> 0.1) @@ -428,7 +427,7 @@ GEM public_suffix (5.0.1) puma (5.6.5) nio4r (~> 2.0) - racc (1.6.2) + racc (1.7.3) rack (2.2.7) rack-attack (6.6.1) rack (>= 1.0, < 3) @@ -498,7 +497,7 @@ GEM http-cookie (>= 1.0.2, < 2.0) mime-types (>= 1.16, < 4.0) netrc (~> 0.8) - rexml (3.2.5) + rexml (3.2.6) rgeo (2.4.0) rgeo-geojson (2.1.1) rgeo (>= 1.0.0) @@ -575,8 +574,7 @@ GEM activerecord (>= 4.0.0) railties (>= 4.0.0) scientist (1.6.3) - selenium-webdriver (4.5.0) - childprocess (>= 0.5, < 5.0) + selenium-webdriver (4.9.0) rexml (~> 3.2, >= 3.2.5) rubyzip (>= 1.2.2, < 3.0) websocket (~> 1.0) @@ -666,10 +664,10 @@ GEM activemodel (>= 6.0.0) bindex (>= 0.4.0) railties (>= 6.0.0) - webdrivers (5.2.0) + webdrivers (5.3.1) nokogiri (~> 1.6) rubyzip (>= 1.3.0) - selenium-webdriver (~> 4.0) + selenium-webdriver (~> 4.0, < 4.11) webmock (3.18.1) addressable (>= 2.8.0) crack (>= 0.3.2) @@ -679,7 +677,7 @@ GEM rack-proxy (>= 0.6.1) railties (>= 5.2) semantic_range (>= 2.3.0) - websocket (1.2.9) + websocket (1.2.10) websocket-driver (0.7.5) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) @@ -817,7 +815,7 @@ DEPENDENCIES uuidtools view_component web-console (>= 3.3.0) - webdrivers (>= 5.2.0) + webdrivers (>= 5.3.0) webmock webpacker (= 6.0.0.rc.6) whenever