Skip to content

Commit

Permalink
Attempt to automatically pick up chromedriver version
Browse files Browse the repository at this point in the history
  • Loading branch information
sanrai committed Oct 26, 2024
1 parent 3578333 commit 2c9f4de
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,19 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Chrome
uses: browser-actions/setup-chrome@v1
with:
chrome-version: 'stable'
- uses: actions/setup-node@v3
with:
node-version: 16.13.1
- name: Install
run: npm ci
- name: Install Matching ChromeDriver
run: |
CHROME_VERSION=$(google-chrome --version | cut -d' ' -f3 | cut -d'.' -f1)
npm install chromedriver@$CHROME_VERSION
- name: E2E
run: npm run test:e2e-prod
run-accessibility-checks:
Expand Down
1 change: 1 addition & 0 deletions wdio.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ exports.config = {
'--disable-gpu',
'--window-size=1440,735',
],
w3c: true,
},
}],
logLevel: 'info',
Expand Down

0 comments on commit 2c9f4de

Please sign in to comment.