test: cover all screen states in T01-T10 catalogue (AEG-V16-023)
Type mandatory states and prevent READY or FORBIDDEN from drifting out of the shared screen matrix.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
# AEG-V16-023 — Screen state matrix regression
|
||||
|
||||
**WBS / Requirement / UI / Test:** AEG-V16-023 / REQ-V16-FEC-07 / UI-V16-FEC-07 / T-V16-FEC-07
|
||||
|
||||
## Source / Assumption / Unknown / Decision Required
|
||||
|
||||
- **Source:** screen contract, T01–T10 catalogue, and its Vitest suite.
|
||||
- **Assumption:** each template is exercised by its owning screen integration; this catalogue verifies the shared contract baseline.
|
||||
- **Unknown:** visual/a11y evidence remains a separate AEG-V16-024 gate.
|
||||
- **Decision Required:** no screen-specific state policy was invented; missing READY/FORBIDDEN were assigned to the established CRUD template.
|
||||
|
||||
## Evidence
|
||||
|
||||
- Mandatory states are typed as `StandardScreenState`.
|
||||
- T01 now covers READY and FORBIDDEN; all 13 standard states are covered across T01–T10.
|
||||
- `pnpm test -- --run src/shared/ui/screen-types/tests/catalogue.spec.ts`: 4/4 passed.
|
||||
- `pnpm typecheck`: passed.
|
||||
Reference in New Issue
Block a user