test(e2e): dump full URL/trail/request diagnostic when setup times out #104
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/e2e-bearer-diagnostics"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Two consecutive E2E runs reported
(none)for/api/v1requests after a successful SPA login. The previous error wording only said "no Bearer", which is uninformative when ZERO requests fire: we can't tell whether the SPA bounced through bunyip incorrectly, landed on a non-hydrating page, hits a different API base, or has stopped using Bearer auth entirely.This PR replaces the terse timeout with a full diagnostic dump:
postLoginUrl(whereloginViaSpathought it landed)finalUrl(where the page is at timeout)urlTrail(every top-frame navigation since setup started)/api/v1request URLs observedLists capped at the last 30 entries. No behavior change beyond error formatting.
Test plan