Skip to content

A platform for community discussion. Free, open, simple.

FIX: specify chrome version (#22681)

Krzysztof Kotlarek77b4e42f61bc
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index e5c5f12324d..d8c991f8809 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -206,7 +206,7 @@ jobs:
- name: Setup Webdriver
if: matrix.build_type == 'system'
- run: bin/rails runner "require 'webdrivers'; Webdrivers::Chromedriver.update"
+ run: bin/rails runner "require 'webdrivers'; Webdrivers::Chromedriver.required_version='114.0.5735.90'; Webdrivers::Chromedriver.update"
- name: Core System Tests
if: matrix.build_type == 'system' && matrix.target == 'core'
diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb
index 7b5ce0aef8e..947e63b1d0b 100644
--- a/spec/rails_helper.rb
+++ b/spec/rails_helper.rb
@@ -63,6 +63,8 @@ require "webdrivers"
require "selenium-webdriver"
require "capybara/rails"
+Webdrivers::Chromedriver.required_version = "114.0.5735.90"
+
# The shoulda-matchers gem no longer detects the test framework
# you're using or mixes itself into that framework automatically.
Shoulda::Matchers.configure do |config|