Skip to content

Commit 143214b

Browse files
committed
ci: removed debug step, added users seeding step
1 parent 9b21b39 commit 143214b

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -142,14 +142,10 @@ jobs:
142142
curl -ksf https://127.0.0.1:5001/api/v1/auth/verify-token || echo "WARNING: Auth endpoint returned error (expected without cookies)"
143143
echo "Services ready!"
144144
145-
- name: Debug frontend state
145+
- name: Seed test users
146146
run: |
147-
echo "=== Test auth API - show response body and status ==="
148-
curl -ks -w "\nHTTP_CODE:%{http_code}\n" https://127.0.0.1:5001/api/v1/auth/verify-token
149-
echo ""
150-
echo "=== Check if app renders (wait 5s for JS) ==="
151-
sleep 5
152-
curl -ks https://127.0.0.1:5001/login | grep -E "(username|password|Sign in|spinner|loading)" | head -10 || echo "No form elements found"
147+
docker compose -f docker-compose.ci.yaml exec -T backend uv run python scripts/seed_users.py
148+
echo "Test users seeded"
153149
154150
- name: Run E2E tests
155151
working-directory: frontend

0 commit comments

Comments
 (0)