feat(e2e): un-fixme auth-ui login + logout round-trip (PMS-142 v2) #130
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/pms-142-auth-ui-unfixme-v2"
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
Second attempt at closing PMS-142. Drops
test.fixmeon theauth-uiPlaywright project so the SPA login + logout round-trip runs unconditionally against staging.Why now
The original un-fixme attempt (PR #112, commit
826e5b4) was rolled back byb6d9619after CI found that bunyip's/logoutdid not actually terminate the OP session: the SPA navigated through/logout, then/oauth2/authorizeimmediately issued a freshcodeand the user landed back on/dashboard. That gap was tracked in BUNYIP-53 and fixed in bunyip via two PRs:467ab5abunyip PR #67 (BUNYIP-53):fix(oidc): gate authorize on a server-validated OP session.98ca4dcbunyip PR #70:fix(auth): GET /v1/auth/logout 302s directly to url; /logout page lands on /.Verified the staging bunyip-api is serving
98ca4dc(GET https://api.a8n.systems/v1/version,build_date 2026-06-06T01:18:23Z), which is467ab5a's descendant. The harness-side defenses from PR #112 (diagnostic capture ine2e/lib/page-diagnostics.ts, click-retry-if-menu-not-open inauth.spec.ts'slogout()) are still in tree, so the failure-mode-1 (WASM hydration race) and failure-mode-2 (post-logout assertion) diagnostics from the AC are already met.Changes
e2e/tests/auth.spec.ts: droptest.fixmeand trim the now-historical BUNYIP-53 narrative comment down to the two notes still load-bearing for the test (rate-limit reason for the single-test shape; WASM hydration race defenses to preserve).e2e/README.md: drop the matching quarantine notes from theWhat it coversrow and theauth-ui projectparagraph.Test plan
Checkgreen (no Rust touched, but pre-commit safety).e2egreen:auth-uiruns to completion, login + logout asserts pass.push:mainruns ofauth-uipass on the first attempt (per PMS-142 AC).Rollback plan
If staging re-regresses the OP session termination, re-add
.fixmeonauth.spec.tsline 22 and restore the README quarantine notes. The harness defenses do not need to move.