Journey Walkthroughs

For a UAT tester or demo facilitator picking a journey to drive: each page below is a click-by-click script mirroring an automated journey- Playwright spec, with the expected screen state and a spec-captured screenshot per step. Every page declares one *reproducibility tier; the four tiers are defined once, in the Demo Runbook, which also owns the single test-clock bring-up, the reset between journeys and the credentials. Where a journey has an applicant, they are minted live at /apply — each filing reveals its own HH-… reference and 12-digit passcode — or taken from the seed cast. The Harness and Clock-driven harness pages have no applicant: the case is harness-built and carries no portal credential. The worker is always jane.caseworker.

The pairing rule (machine-enforced)

Every covered journey scenario in compliance/scenario-inventory/.toml ships both artifacts: the automated journey-.spec.ts Playwright spec (an e2e-spec binding) and a human-followable walkthrough on this site (a walkthrough binding to an .adoc under this module). cargo xtask scenarios audit enforces the pairing (xtask/src/cmd/scenarios.rs; ADR-031 §3): a covered journey with neither a walkthrough binding nor an issue-backed walkthrough_blocked_by fails as MISSING-WALKTHROUGH; a walkthrough that does not name its scenario, or cites an uncommitted screenshot, fails as DANGLING; a journey-*.spec.ts that no binding references fails as ORPHAN-SPEC. Background: the scenario-inventory and human-fidelity E2E plan.

Shipped walkthroughs

Twenty-one pages: eight Fully manual, five Worker-driven, one Harness, seven Clock-driven harness.

One covered journey ships no walkthrough: snap.integrity.adh-not-established-reverts-claim, fenced on the worker IPV/ADH case UI (walkthrough_blocked_by = ["#995"] in compliance/scenario-inventory/snap.toml). A covered journey that outpaces its UI is fenced on the gap issue rather than given a stand-in; closing that issue removes the fence and adds the page.

Authoring a walkthrough (when a gap closes)

  1. Add per-step screenshots to the journey- spec through its shot() — full-page, and gated on awaitLazyFragments (tests/e2e/lib/helpers.ts, #2188) so an hx-trigger="load" fragment such as the Determination tab’s *Benefit continuations panel has landed before Playwright measures the page (never networkidle: the worker pages' SSE stream keeps it from firing, #578); copy the PNGs to docs/modules/ROOT/assets/images/walkthroughs/<journey>/.

  2. Write walkthroughs/<journey>.adoc: a persona table, a step table headed # | Screen | Action | Expected | Screenshot with inline image:walkthroughs/<journey>/step-NN-<slug>.png[] cells, and an [IMPORTANT] block naming the paired spec and the exact scenario.id.

  3. State the applicant precondition concretely — the specific inputs the journey turns on, or, when any eligible case works, sample values that reproduce the screenshots. Read them from the paired spec so page and spec agree.

  4. Replace the row’s walkthrough_blocked_by with a walkthrough binding to the new page, then re-run cargo xtask scenarios audit.

Edit this page · default