add firefox to nightly admin e2e tests (#38831)

fixes: #38058

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
This commit is contained in:
Erik Jan de Wit 2025-04-11 13:58:24 +02:00 committed by GitHub
parent c11fc2f910
commit 579cf04184
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 2 deletions

View File

@ -216,7 +216,7 @@ jobs:
WORKSPACE: keycloak-admin-ui
strategy:
matrix:
browser: [chrome, firefox]
browser: [chromium, firefox]
exclude:
# Only test with Firefox on scheduled runs
- browser: ${{ github.event_name != 'workflow_dispatch' && 'firefox' || '' }}
@ -253,7 +253,7 @@ jobs:
working-directory: js
- name: Run Playwright tests
run: pnpm --fail-if-no-match --filter ${{ env.WORKSPACE }} test:integration
run: pnpm --fail-if-no-match --filter ${{ env.WORKSPACE }} test:integration --project=${{ matrix.browser }}
working-directory: js
- name: Upload Playwright report

View File

@ -25,5 +25,12 @@ export default defineConfig({
viewport: { width: 1920, height: 1200 },
},
},
{
name: "firefox",
use: {
...devices["Desktop Firefox"],
viewport: { width: 1920, height: 1200 },
},
},
],
});