Seed snapshots on branch
CI Pipeline / test (20) (pull_request) Successful in 1m51s
CI Pipeline / test (18) (pull_request) Successful in 2m9s
CI Pipeline / e2e (chromium) (pull_request) Failing after 3m10s
CI Pipeline / e2e (firefox) (pull_request) Failing after 3m29s
CI Pipeline / performance (pull_request) Has been cancelled
CI Pipeline / visual-regression (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

This commit is contained in:
adilallo
2025-09-02 21:57:58 -06:00
parent 4a8f99a907
commit c2de9e4788
+3 -3
View File
@@ -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