Background
E2E surface is thin relative to security-critical UI.
Problem
tests/e2e/ only covers mocked watch/export/tenant-prefs. No unauthenticated Unauthorized UX, OIDC callback, or viewer-vs-admin RBAC denial — regressions can ship with green e2e.
Proposed solution
- E2E: unauthenticated API → Unauthorized UX
- OIDC callback happy/error with mocked IdP
- Viewer vs admin denial on Ops/admin actions
Acceptance criteria
Priority
P2 / Medium
Complexity
Medium
Evidence
tests/e2e/ (3 specs only)
Background
E2E surface is thin relative to security-critical UI.
Problem
tests/e2e/only covers mocked watch/export/tenant-prefs. No unauthenticated Unauthorized UX, OIDC callback, or viewer-vs-admin RBAC denial — regressions can ship with green e2e.Proposed solution
Acceptance criteria
Priority
P2 / Medium
Complexity
Medium
Evidence
tests/e2e/(3 specs only)