From ad8c10e7d9fd3b66c2e49133fcb2b2a5f7846c6d Mon Sep 17 00:00:00 2001 From: Nico Flaig Date: Thu, 2 Jan 2025 09:16:35 +0000 Subject: [PATCH] chore: use stable firefox release in browser tests (#7318) * chore: use stable firefox release in browser tests * Update browser version for driver --------- Co-authored-by: Nazar Hussain --- .github/workflows/test.yml | 4 ++-- vitest.base.browser.config.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 47e17c56f042..4e4aa33a4d43 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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' diff --git a/vitest.base.browser.config.ts b/vitest.base.browser.config.ts index d5430b662361..8f0f8ef0f468 100644 --- a/vitest.base.browser.config.ts +++ b/vitest.base.browser.config.ts @@ -51,7 +51,7 @@ export default defineConfig({ screenshotFailures: false, providerOptions: { capabilities: { - browserVersion: "latest", + browserVersion: "stable", }, }, },