Skip to content

Commit

Permalink
Try Chrome 114
Browse files Browse the repository at this point in the history
  • Loading branch information
kapoorlakshya committed Jul 8, 2024
1 parent 94fe85b commit 3597565
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ jobs:
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- uses: browser-actions/setup-chrome@v1
with:
chrome-version: 114
install-dependencies: true
- run: set WD_CHROME_PATH=${{ steps.setup-chrome.outputs.chrome-path }}
- name: Run tests
run: bundle exec rake spec

Expand Down
4 changes: 4 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
# Set Selenium webdrivers install folder
config.before(:all) { Webdrivers.install_dir = 'webdrivers_bin' }

if OS.windows?
Selenium::WebDriver::Chrome.path = ENV['WD_CHROME_PATH'] # set by 'browser-actions/setup-chrome' step in CI
end

#
# Print error from ffmpeg log on test failure
#
Expand Down

0 comments on commit 3597565

Please sign in to comment.