Skip to content

Commit

Permalink
chore: use stable firefox release in browser tests (#7318)
Browse files Browse the repository at this point in the history
* chore: use stable firefox release in browser tests

* Update browser version for driver

---------

Co-authored-by: Nazar Hussain <[email protected]>
  • Loading branch information
nflaig and nazarhussain authored Jan 2, 2025
1 parent 5916e00 commit ad8c10e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,9 @@ jobs:
with:
node: ${{ matrix.node }}
- name: Install Chrome browser
run: npx @puppeteer/browsers install chromedriver@latest --path /tmp
run: npx @puppeteer/browsers install chromedriver@stable --path /tmp
- name: Install Firefox browser
run: npx @puppeteer/browsers install firefox@latest --path /tmp
run: npx @puppeteer/browsers install firefox@stable --path /tmp
- name: Browser tests
run: |
export DISPLAY=':99.0'
Expand Down
2 changes: 1 addition & 1 deletion vitest.base.browser.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default defineConfig({
screenshotFailures: false,
providerOptions: {
capabilities: {
browserVersion: "latest",
browserVersion: "stable",
},
},
},
Expand Down

0 comments on commit ad8c10e

Please sign in to comment.