Skip to content

Commit 5921f94

Browse files
committed
ci more debug output
1 parent 3cbd7d7 commit 5921f94

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -144,14 +144,12 @@ jobs:
144144
145145
- name: Debug frontend state
146146
run: |
147-
echo "=== Check JS bundle for baseUrl ==="
148-
curl -ks https://127.0.0.1:5001/build/main.js | grep -o "baseUrl[^,]*" | head -3 || echo "not found"
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
149149
echo ""
150-
echo "=== Test auth API directly ==="
151-
curl -ksv https://127.0.0.1:5001/api/v1/auth/verify-token 2>&1 | head -30
152-
echo ""
153-
echo "=== Frontend container logs ==="
154-
docker logs frontend 2>&1 | tail -50
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"
155153
156154
- name: Run E2E tests
157155
working-directory: frontend

frontend/playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default defineConfig({
1414
use: {
1515
baseURL: 'https://localhost:5001',
1616
ignoreHTTPSErrors: true,
17-
trace: 'on-first-retry',
17+
trace: 'on',
1818
screenshot: 'only-on-failure',
1919
},
2020
projects: [

0 commit comments

Comments
 (0)