docs(e2e): add dev-docs/e2e.md engineering reference #355
Loading…
Reference in a new issue
No description provided.
Delete branch "docs/PMS-492-e2e-kb"
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?
What
Adds
dev-docs/e2e.md, a standalone engineering reference for the mokosh-server Playwright E2E suite, satisfying the "Update documentation" task of PMS-492. The matching YouTrack knowledge-base article was created asPMS-A-1("mokosh-server E2E suite: how it works, running it, and troubleshooting"); this doc is its repo-side twin and the two are kept in sync.Why
E2E had detailed but scattered docs (
e2e/README.md, inline comments inglobal.setup.ts, the workflow header, and two project memories). New contributors hitting a red E2E run had no single page explaining how the suite is wired or which failure is which. This consolidates the mental model and the real failure modes into one reference, mirroring the sibling layout in the bunyip repo (dev-docs/e2e.md+ a KB article).Contents
The doc covers: what the suite is (runs against a deployed staging target, not a CI artifact), the
preflight/setup/auth-ui/apiproject model and why it is serialised on the 5/min/email login cap, the two auth paths (captured bearer vs replayed OP cookies) and why a direct API login is impossible, the dual token-capture strategy and the mokosh-apps #84 OIDC-loop it defends against, module gating, configuration + CI naming, one-time staging provisioning (admin role,MOKOSH_DEMO_SEED=false), running locally, CI triggers/gates/concurrency, the quarantinedauth/oidcspecs and their blockers (PMS-148, PMS-435/BUNYIP-146), the test-data/teardown policy, and a troubleshooting section enumerating the failure modes that actually bite (login rate limit, setup token timeout, the deploy-gate deadlock, gated-module 404s, admin-403s, OIDC cookie-domain bounce, demo-seed pollution, the OpenSUSE runner npm/corepack quirks, and the wait-for-deploy SHA-walk self-heal).Docs-only change; no code touched.