Browser e2e for dashboard + operator app — yes/no and with what #265

Closed
opened 2026-08-02 03:13:20 +00:00 by ben · 1 comment
Owner

Question

Nothing drives a real UI today — dashboard and operator app are jsdom/vitest only, and design-verify reads seam tests, not a running app. Decide whether a browser-e2e tier earns its cost, for which surfaces (dashboard web, operator Electron app), and against what backend (-tags dev fake wiring per ADR 0100 vs a real control plane). Tooling specifics ride the research ticket.

Parent

Wayfinder map — e2e testing: the product and the swarm pipeline

## Question Nothing drives a real UI today — dashboard and operator app are jsdom/vitest only, and design-verify reads seam tests, not a running app. Decide whether a browser-e2e tier earns its cost, for which surfaces (dashboard web, operator Electron app), and against what backend (`-tags dev` fake wiring per ADR 0100 vs a real control plane). Tooling specifics ride the research ticket. ## Parent [Wayfinder map — e2e testing: the product and the swarm pipeline](https://git.matou.nz/Matou/ourcloud/issues/262)
Author
Owner

Closing green: the tier this grilling ruled into existence now passes end-to-end.

Drive 20 (2026-08-08, run 20260808T144518Z): 1 passed, 11.4m, unattended. scripts/smoke-private-path.sh + app/tests/e2e/private-path.live.spec.ts founds a community on a real local gateway guest — wizard → prepare/seed/create-vm/supply → the four enroll rows (DDR 0134) → pair/mesh/control-plane/dashboard/brand/admin → finish-setup's fleet seeding + seed-verify → S12 hand-off, with ADR 0011's leave-the-app edge asserted through the real window-open route. State isolation held across all twenty drives (the operator's own community env byte-identical).

The tally is in ADR 0132 ("What the first drives proved" + the closing addendum): twenty drives, the last six each buying a real product or harness defect — seeding's node-namespace collision, the fault-frame misplacement, the spec's own phase-1 boundary error, the primer's SHELL-dead elevation fallback, the unbounded polkit prompt, and --all's presence-detection defeat. Arc ledger: .superpowers/sdd/2026-08-07-private-path-live-e2e/progress.md on branch private-standup-polish.

Phase 2 (the Chromium leg: kanidm sign-in, CDP virtual authenticator, dashboard reachable) stays named and deferred per the ADR.

Closing green: the tier this grilling ruled into existence now passes end-to-end. **Drive 20 (2026-08-08, run `20260808T144518Z`): 1 passed, 11.4m, unattended.** `scripts/smoke-private-path.sh` + `app/tests/e2e/private-path.live.spec.ts` founds a community on a real local gateway guest — wizard → prepare/seed/create-vm/supply → the four enroll rows (DDR 0134) → pair/mesh/control-plane/dashboard/brand/admin → finish-setup's fleet seeding + seed-verify → S12 hand-off, with ADR 0011's leave-the-app edge asserted through the real window-open route. State isolation held across all twenty drives (the operator's own community env byte-identical). The tally is in ADR 0132 ("What the first drives proved" + the closing addendum): twenty drives, the last six each buying a real product or harness defect — seeding's node-namespace collision, the fault-frame misplacement, the spec's own phase-1 boundary error, the primer's SHELL-dead elevation fallback, the unbounded polkit prompt, and `--all`'s presence-detection defeat. Arc ledger: `.superpowers/sdd/2026-08-07-private-path-live-e2e/progress.md` on branch `private-standup-polish`. Phase 2 (the Chromium leg: kanidm sign-in, CDP virtual authenticator, dashboard reachable) stays named and deferred per the ADR.
ben closed this issue 2026-08-08 15:01:51 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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
Matou/idss#265
No description provided.