From ceb266590b238d5c5c765e6cf174e97432b67149 Mon Sep 17 00:00:00 2001 From: Lakshya Kapoor <4314581+kapoorlakshya@users.noreply.github.com> Date: Mon, 8 Jul 2024 04:23:31 +0000 Subject: [PATCH] Try without custom path --- .github/workflows/tests.yml | 7 ------- spec/spec_helper.rb | 9 --------- 2 files changed, 16 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0b1f5ad..3ff9548 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 7c30ec1..c125068 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -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 #