Merge pull request 'fix: feat: E2E quality gate — mobile viewports + cross-browser matrix (#1099)' (#1139) from fix/issue-1099 into master

This commit is contained in:
johba 2026-03-25 01:36:02 +01:00
commit 491755592a
3 changed files with 136 additions and 12 deletions

View file

@ -416,12 +416,14 @@ steps:
bash scripts/wait-for-service.sh http://caddy:8081/app/ 420 caddy
echo "=== Stack is healthy ==="
# Step 3: Run E2E tests
# Step 3: Run E2E tests — cross-browser matrix
# Chromium runs all specs (01-07), then Firefox/WebKit/mobile run read-only specs (03,06,07).
# The matrix is defined in playwright.config.ts via `projects`.
- name: run-e2e-tests
image: mcr.microsoft.com/playwright:v1.55.1-jammy
depends_on:
- wait-for-stack
timeout: 600
timeout: 1800
environment:
STACK_BASE_URL: http://caddy:8081
STACK_RPC_URL: http://caddy:8081/api/rpc
@ -445,7 +447,7 @@ steps:
npm config set audit false
npm ci --no-audit --no-fund
echo "=== Running E2E tests (workers=1 to limit memory) ==="
echo "=== Running E2E tests — cross-browser matrix (workers=1 to limit memory) ==="
npx playwright test --reporter=list --workers=1
# Step 4: Collect artifacts