Files
pad/internal
xarmian 89e9551ae3 test(store): end-to-end onboarding walkthroughs for scrum + product (TASK-1151) (#410)
Mirrors TestOnboardingFlow_FullWalkthrough_Startup (PR #405) for the
two newly-seeded software-category templates. Two new test fns, same
three-phase shape:

  Phase 1 — Fresh seed:
    - Four onboarding seeds land at the right item_numbers + statuses.
    - Conventions + playbooks present (after the user-facing seeds).
    - Primary entry starts in its initial status (BACK-1=new for scrum;
      FEAT-1=proposed for product) — the gate the dashboard banner
      relies on.

  Phase 2 — Agent walks user through populating real items:
    - Primary's status flips out of initial (signaling engagement).
    - Real workspace activity gets captured in the template's verbs:
        scrum: a sprint, three real backlog items linked to it, one bug
        product: a roadmap commitment, three features under it, one
                 user-feedback item from a sales call
    - Primary flips to terminal (BACK-1 → done; FEAT-1 → shipped) —
      banner hides on next dashboard refresh.

  Phase 3 — Idempotency on re-trigger:
    - User's items remain untouched.
    - Primary stays at terminal status — re-seed must NOT reset to
      initial, which would silently re-show the banner.
    - No duplicate seed items.
    - Conventions + playbooks counts unchanged.

Reuses the helpers added in PR #405 (findItemByTitle, extractStatus,
setItemStatus, countItemsInCollection) — no new helpers needed.

This is the gate task for PLAN-1146. With this merged, scrum + product
now have the same coverage as startup did after PLAN-1131.

Parent: PLAN-1146.
2026-05-04 12:12:51 -04:00
..
2026-03-26 01:52:36 +00:00