FIX: specify chrome version (#22681) (#22685)

Co-authored-by: Krzysztof Kotlarek <kotlarek.krzysztof@gmail.com>
This commit is contained in:
Alan Guo Xiang Tan 2023-07-19 14:35:26 +08:00 committed by GitHub
parent 461966e028
commit cc54539f90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -175,6 +175,10 @@ jobs:
if: matrix.build_type == 'system' if: matrix.build_type == 'system'
run: bin/ember-cli --build run: bin/ember-cli --build
- name: Setup Webdriver
if: matrix.build_type == 'system'
run: bin/rails runner "require 'webdrivers'; Webdrivers::Chromedriver.required_version='114.0.5735.90'; Webdrivers::Chromedriver.update"
- name: Core System Tests - name: Core System Tests
if: matrix.build_type == 'system' && matrix.target == 'core' if: matrix.build_type == 'system' && matrix.target == 'core'
run: bin/rspec spec/system --format documentation --profile run: bin/rspec spec/system --format documentation --profile

View File

@ -63,6 +63,8 @@ require "webdrivers"
require "selenium-webdriver" require "selenium-webdriver"
require "capybara/rails" require "capybara/rails"
Webdrivers::Chromedriver.required_version = "114.0.5735.90"
# The shoulda-matchers gem no longer detects the test framework # The shoulda-matchers gem no longer detects the test framework
# you're using or mixes itself into that framework automatically. # you're using or mixes itself into that framework automatically.
Shoulda::Matchers.configure do |config| Shoulda::Matchers.configure do |config|