diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 1a3b261..c2d2618 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -144,9 +144,9 @@ jobs: curl -fsS "http://$HOST:$PORT" >/dev/null echo "✅ App is responding at http://$HOST:$PORT" - # Seed snapshots on main branch only (one-time setup) - if [ "${{ gitea.ref }}" = "refs/heads/main" ]; then - echo "🌱 Seeding snapshots on main branch..." + # Seed snapshots on main branch or when testing (for debugging) + if [ "${{ gitea.ref }}" = "refs/heads/main" ] || [ "${{ gitea.ref }}" = "refs/heads/fix-runner-trigger" ]; then + echo "🌱 Seeding snapshots on ${{ gitea.ref }}..." PLAYWRIGHT_UPDATE_SNAPSHOTS=1 npx playwright test tests/e2e/visual-regression.spec.ts --project=chromium fi