Seed screenshots for E2E tests
CI Pipeline / test (20) (pull_request) Successful in 1m46s
CI Pipeline / test (18) (pull_request) Successful in 2m2s
CI Pipeline / e2e (chromium) (pull_request) Failing after 4m38s
CI Pipeline / e2e (firefox) (pull_request) Failing after 4m24s
CI Pipeline / performance (pull_request) Has been cancelled
CI Pipeline / storybook (pull_request) Has been cancelled
CI Pipeline / lint (pull_request) Has been cancelled
CI Pipeline / build (pull_request) Has been cancelled
CI Pipeline / e2e (webkit) (pull_request) Has been cancelled
CI Pipeline / visual-regression (pull_request) Has been cancelled

This commit is contained in:
adilallo
2025-09-02 22:04:22 -06:00
parent c2de9e4788
commit 07faeb2460
+4
View File
@@ -76,6 +76,10 @@ jobs:
curl -fsS "http://$HOST:$PORT" >/dev/null
echo "✅ App is responding at http://$HOST:$PORT"
# Update snapshots first (for visual regression tests)
echo "🔄 Updating visual regression snapshots..."
PLAYWRIGHT_UPDATE_SNAPSHOTS=1 npx playwright test tests/e2e/footer.responsive.spec.js tests/e2e/header.responsive.spec.js --project=${{ matrix.browser }} || true
# Run tests
echo "🧪 Running E2E tests for ${{ matrix.browser }}..."
BASE_URL="http://$HOST:$PORT" npx playwright test --project=${{ matrix.browser }} --reporter=list