web/docs/integration-test-plan.md

29 lines
1.1 KiB
Markdown

# Integration Test Plan (Membership Commerce)
## Objective
Validate end-to-end behavior from wallet intent to membership-gated checkout and governance activation.
## E2E Scenarios
1. Happy path membership activation.
2. Signature mismatch.
3. Quote expiry before tx submission.
4. Tx mismatch (amount/currency/recipient).
5. Membership suspended blocks checkout.
6. Active membership enables checkout quote.
7. Entitlement non-active blocks runtime activation.
8. Governance install token denied when membership or governance entitlement is inactive.
9. Governance install confirm denied when package hash/policy hash mismatches issued token.
10. Governance runtime activation succeeds only after signed package verification + entitlement active.
11. Boundary mismatch blocks checkout and governance install token issuance.
12. `continuity` state allows existing execution but blocks growth actions.
13. `parked` state blocks paid execution while preserving read/export endpoints.
## Artifacts
1. API request/response captures.
2. Tx hash and chain verification outputs.
3. Receipt/audit evidence IDs.
4. Pass/fail mapping to conformance vectors.