test(e2e): quarantine OIDC token-flow spec blocked on bunyip BUNYIP-146 #319

Merged
nrupard merged 2 commits from fix/PMS-435-quarantine-oidc-token-flow-bunyip-146 into main 2026-06-20 18:47:40 +02:00
Owner

The OIDC token-flow test (e2e/tests/oidc.spec.ts) fails at the state assertion ("state mismatch", received null) because bunyip's /oauth2/authorize 302s to /login instead of the registered redirect_uri. The PMS-434 diagnostic run (#2098) ruled out an e2e cookie-forwarding defect: setup logged KEEP .a8n.systems#bunyip_op_session and persisted all three OP cookies (access_token, refresh_token, bunyip_op_session) to op-state.json, and the oidcTest fixture loads that storageState into the request context. The session cookie is present, on the correct domain, and replayed - yet authorize still bounces. That is bunyip's COOKIE_DOMAIN / bunyip_op_session scoping issue tracked in BUNYIP-146, not a mokosh-server regression; every other api test and staging health pass.

Quarantine the spec with test.fixme (the same convention auth.spec.ts uses for PMS-148) so this external blocker stops gating unrelated PRs, and document the quarantine in e2e/README.md. Un-fixme when BUNYIP-146 ships.

#PMS-435

The OIDC token-flow test (e2e/tests/oidc.spec.ts) fails at the `state` assertion ("state mismatch", received null) because bunyip's /oauth2/authorize 302s to /login instead of the registered redirect_uri. The PMS-434 diagnostic run (#2098) ruled out an e2e cookie-forwarding defect: setup logged `KEEP .a8n.systems#bunyip_op_session` and persisted all three OP cookies (access_token, refresh_token, bunyip_op_session) to op-state.json, and the oidcTest fixture loads that storageState into the request context. The session cookie is present, on the correct domain, and replayed - yet authorize still bounces. That is bunyip's COOKIE_DOMAIN / bunyip_op_session scoping issue tracked in BUNYIP-146, not a mokosh-server regression; every other api test and staging health pass. Quarantine the spec with `test.fixme` (the same convention auth.spec.ts uses for PMS-148) so this external blocker stops gating unrelated PRs, and document the quarantine in e2e/README.md. Un-fixme when BUNYIP-146 ships. #PMS-435
test(e2e): quarantine OIDC token-flow spec blocked on bunyip BUNYIP-146
Some checks failed
Create release / Create release from merged PR (pull_request) Has been skipped
E2E / Playwright against staging (pull_request) Successful in 42s
Check / fmt + clippy + compile + unit/doc tests (pull_request) Successful in 1m16s
Integration / integration tests (pull_request) Failing after 5m5s
1a2b2dd9f7
The OIDC token-flow test (e2e/tests/oidc.spec.ts) fails at the `state` assertion ("state mismatch", received null) because bunyip's /oauth2/authorize 302s to /login instead of the registered redirect_uri. The PMS-434 diagnostic run (#2098) ruled out an e2e cookie-forwarding defect: setup logged `KEEP .a8n.systems#bunyip_op_session` and persisted all three OP cookies (access_token, refresh_token, bunyip_op_session) to op-state.json, and the oidcTest fixture loads that storageState into the request context. The session cookie is present, on the correct domain, and replayed - yet authorize still bounces. That is bunyip's COOKIE_DOMAIN / bunyip_op_session scoping issue tracked in BUNYIP-146, not a mokosh-server regression; every other api test and staging health pass.

Quarantine the spec with `test.fixme` (the same convention auth.spec.ts uses for PMS-148) so this external blocker stops gating unrelated PRs, and document the quarantine in e2e/README.md. Un-fixme when BUNYIP-146 ships.

#PMS-435
Merge remote-tracking branch 'origin/main' into fix/PMS-435-quarantine-oidc-token-flow-bunyip-146
All checks were successful
E2E / Playwright against staging (pull_request) Successful in 34s
Check / fmt + clippy + compile + unit/doc tests (pull_request) Successful in 1m7s
Integration / integration tests (pull_request) Successful in 3m54s
Create release / Create release from merged PR (pull_request) Has been skipped
c684ed6ffe
nrupard deleted branch fix/PMS-435-quarantine-oidc-token-flow-bunyip-146 2026-06-20 18:47:41 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
psa-systems/mokosh-server!319
No description provided.