26 lines
1.3 KiB
Markdown
26 lines
1.3 KiB
Markdown
## ADDED Requirements
|
|
|
|
### Requirement: Playwright regression suite covers core UI/UX capabilities
|
|
The system SHALL provide a Playwright-based regression suite that validates critical UI and UX behavior across all shipped user-facing capabilities.
|
|
|
|
#### Scenario: Capability-mapped suite execution
|
|
- **WHEN** regression tests are executed
|
|
- **THEN** test cases are organized and traceable to capability-level requirements
|
|
- **AND** failures identify the impacted capability and user journey
|
|
|
|
### Requirement: Regression suite validates themes, states, and breakpoints
|
|
The system SHALL validate key controls and content for light, dark, and contrast themes, across mobile, tablet, and desktop breakpoints, including interactive states.
|
|
|
|
#### Scenario: Theme and breakpoint matrix coverage
|
|
- **WHEN** the suite runs in full profile
|
|
- **THEN** high-priority journeys execute across all supported themes and target viewport classes
|
|
- **AND** assertions include default, hover, focus-visible, active, and visited states where applicable
|
|
|
|
### Requirement: Regression failures produce actionable diagnostics
|
|
The system SHALL emit debugging artifacts for failed browser tests.
|
|
|
|
#### Scenario: Failure artifact collection
|
|
- **WHEN** a Playwright test fails
|
|
- **THEN** the run stores trace and screenshot evidence
|
|
- **AND** artifacts are linked in CI output for triage
|