test: stabilize browser session setup and OpenAPI assertions
CI / Rust Checks (pull_request) Successful in 15m33s
CI / UI Checks (pull_request) Successful in 5s
CI / Community Image Smoke (pull_request) Successful in 6m28s
CI / Frontend E2E (pull_request) Successful in 7m27s
CI / Deploy (pull_request) Skipped

This commit is contained in:
bsodfather committed 2026-10-05 02:13:18 +03:00
1 parent ca32d3767f
commit eacfab0dd8
12 files changed
+459 -2

No files matched your search

@@ -0,0 +1,32 @@
Running 1 test using 1 worker
(node:257457) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
(Use `node --trace-warnings ...` to show where the warning was created)
✘ 1 ../../../crank-epic1-pr-20261004-state/login-ready-harness/login-ready.spec.js:7:1 › login helper leaves a ready CSRF session under a delayed csrf refresh (1.5s)
1) ../../../crank-epic1-pr-20261004-state/login-ready-harness/login-ready.spec.js:7:1 › login helper leaves a ready CSRF session under a delayed csrf refresh
Error: expect(received).toBe(expected) // Object.is equality
Expected: true
Received: false
18 | () => Boolean(window.CrankAuth && typeof window.CrankAuth.getCsrfToken === 'function' && window.CrankAuth.getCsrfToken())
19 | );
> 20 | expect(tokenReady).toBe(true);
| ^
21 | expect(csrfRequests).toBeGreaterThan(0);
22 | });
23 |
at <evidence-state>/login-ready-harness/login-ready.spec.js:20:22
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/login-ready-login-helper-l-56b6f-nder-a-delayed-csrf-refresh/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: test-results/login-ready-login-helper-l-56b6f-nder-a-delayed-csrf-refresh/error-context.md
1 failed
../../../crank-epic1-pr-20261004-state/login-ready-harness/login-ready.spec.js:7:1 › login helper leaves a ready CSRF session under a delayed csrf refresh