diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 467190be6..01342f087 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -18,7 +18,9 @@ jobs: - name: Install Playwright Browsers run: npx playwright install --with-deps - name: Run Playwright tests - run: npx playwright test + # run: npx playwright test + # Only test on Chromium + run: npx playwright test --project=chromium - uses: actions/upload-artifact@v4 if: always() with: diff --git a/src/tests/playwright/version.spec.ts b/src/tests/playwright/version.spec.ts index 8eb7b1d36..719c362ee 100644 --- a/src/tests/playwright/version.spec.ts +++ b/src/tests/playwright/version.spec.ts @@ -1,6 +1,11 @@ import { test, expect } from '@playwright/test'; test('Browser version', async ({ browser }) => { + test.info().annotations.push({ + type: 'browser version', + description: browser.version(), + }); + const version = await browser.version(); console.log('Browser version:', version); expect(version).not.toBe(null);