From 77b4e42f61bcbd616126dcf5b92480ff83fa00ab Mon Sep 17 00:00:00 2001 From: Krzysztof Kotlarek Date: Wed, 19 Jul 2023 15:06:56 +1000 Subject: [PATCH] FIX: specify chrome version (#22681) --- .github/workflows/tests.yml | 2 +- spec/rails_helper.rb | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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|