Skip to content

Commit

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

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

if OS.windows?
# Set by 'browser-actions/setup-chrome' step in CI
chrome_path = ENV.fetch('WD_CHROME_PATH', nil)
raise 'Custom chrome path was nil.' if chrome_path.nil?

puts "Custom chrome path: #{chrome_path}"
Selenium::WebDriver::Chrome.path = chrome_path
end

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

0 comments on commit ceb2665

Please sign in to comment.