From 955e3d6abe9f90f4d500dc72233e3adb51af9a21 Mon Sep 17 00:00:00 2001 From: Nico Flaig Date: Thu, 19 Dec 2024 15:58:17 +0000 Subject: [PATCH 1/2] chore: use stable firefox release in browser tests --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5514f6e896b7..3d511bd79c69 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -178,7 +178,7 @@ jobs: - name: Install Chrome browser run: npx @puppeteer/browsers install chromedriver@latest --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' From 28f07e13049dfc9a956c5223389b289820259f88 Mon Sep 17 00:00:00 2001 From: Nazar Hussain Date: Thu, 2 Jan 2025 09:37:17 +0100 Subject: [PATCH 2/2] Update browser version for driver --- .github/workflows/test.yml | 2 +- vitest.base.browser.config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3d511bd79c69..61ad79b42db4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -176,7 +176,7 @@ 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@stable --path /tmp - name: Browser tests 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", }, }, },