Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions .github/workflows/reusable-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,6 @@ jobs:
working-directory: frontend
runs-on: ubuntu-24.04
timeout-minutes: 10
strategy:
matrix:
project: [chromium, firefox, safari]
steps:
- uses: actions/checkout@v6
name: Checkout
Expand All @@ -91,13 +88,13 @@ jobs:
E2E_BASE_URL: https://${{ env.PREFIX }}.${{ env.DOMAIN }}/
CI: "true"
run: |
npx playwright test --project="${{ matrix.project }}" --reporter=html
npx playwright test --project="chromium" --reporter=html

- uses: actions/upload-artifact@v7
if: (! cancelled())
name: upload results
with:
name: playwright-report-${{ matrix.project }}
name: playwright-report-chromium
path: "./frontend/playwright-report" # path from current folder
retention-days: 7

Expand Down
31 changes: 7 additions & 24 deletions frontend/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export default defineConfig({

/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
trace: 'on-first-retry',
ignoreHTTPSErrors: process.env.CI === 'true' || process.env.E2E_IGNORE_HTTPS_ERRORS === 'true',
},

/* Configure projects for major browsers */
Expand All @@ -41,6 +42,9 @@ export default defineConfig({
use: {
...devices['Desktop Chrome'],
baseURL: baseURL,
launchOptions: process.env.CI === 'true'
? { args: ['--no-sandbox', '--disable-setuid-sandbox'] }
: undefined,
},
},
{
Expand All @@ -49,30 +53,9 @@ export default defineConfig({
...devices['Desktop Chrome'],
channel: 'chrome',
baseURL: baseURL,
},
},

{
name: 'firefox',
use: {
...devices['Desktop Firefox'],
baseURL: baseURL,
},
},

{
name: 'safari',
use: {
...devices['Desktop Safari'],
baseURL: baseURL,
},
},
{
name: 'Microsoft Edge',
use: {
...devices['Desktop Edge'],
channel: 'msedge',
baseURL: baseURL,
launchOptions: process.env.CI === 'true'
? { args: ['--no-sandbox', '--disable-setuid-sandbox'] }
: undefined,
},
},
],
Expand Down
Loading