Skip to content

Commit

Permalink
Refactor selenium driver setup
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Liang <jiallian@amazon.com>
  • Loading branch information
RyanL1997 committed Jan 31, 2023
1 parent 3dbbe4d commit 9da6a34
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,19 @@ jobs:
- uses: browser-actions/setup-geckodriver@latest
- run: geckodriver --version

- name: Set up Firefox browser for Linux
- name: Set up Firefox browser
if: ${{ runner.os == 'Linux' }}
uses: browser-actions/setup-firefox@latest
with:
browser: firefox
version: latest
uses: browser-actions/setup-firefox@v1

- run: firefox --version
if: ${{ runner.os == 'Linux' }}

#- name: Set up Firefox browser for Linux
# if: ${{ runner.os == 'Linux' }}
# uses: browser-actions/setup-firefox@latest
# with:
# browser: firefox
# version: latest

# Browser-action version does not work on Windows
- name: Set up Firefox browser for Windows
Expand Down

0 comments on commit 9da6a34

Please sign in to comment.