File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed
Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 : [
You can’t perform that action at this time.
0 commit comments