Repository navigation
UX UI Quality Checks
UI/UX quality checks are automated tests that compare the interface with the design system, its tokens, and the UX rules agreed by the team. They run with the user-journey suite on every pull request.
The checks cover visual consistency, typography, spacing, colour, contrast, and token use. Treat them as a repeatable review of the design rules, not a replacement for design judgement.
Manual visual review takes time and is hard to repeat across every change. Automated checks give designers and developers the same structured feedback on each pull request: what was checked, which rule failed, and how far the value drifted.
For each element, the runner reads computed styles and compares them with the expected design token:
- Typography — font size, weight, line height, letter spacing, family
- Colour — text and background colour
- Spacing — padding and margin
- Border — colour, width, radius
- Contrast — text-to-background ratio against a WCAG level
A mismatch is recorded as a violation; a matching check is recorded as an event with info severity.
Every finding belongs to a category:
| Category | Meaning |
|---|---|
| Typography | Wrong font size, weight, or line height |
| Color | Wrong text or background colour |
| Spacing | Wrong padding or margin |
| Border | Wrong border colour or radius |
| Token missing | An expected token did not resolve |
| Style mismatch | A mismatch outside the other categories |
| Severity | Meaning |
|---|---|
| Critical | Breaks accessibility or a major design rule |
| Major | Significant deviation from a design token |
| Minor | Small inconsistency |
| Info | A check ran and passed |
Severity helps decide what to fix first.
Check results are recorded as uiux quality events during a Playwright test. The quality reporter validates them, groups them by taxonomy and severity, and renders summary.md, which a workflow step appends to the run summary. The HTML, JSON, and timeline reports are uploaded as CI artifacts.
For each finding the report shows the scenario, element, property, expected value, actual value, taxonomy, and severity.
- UX UI Quality Checks for Developers — event schema and renderer internals.
- Playwright BDD Step Reference — the style and token steps to use in a feature.
This wiki documents NR Waste Plus for users and developers. Verify security and deployment guidance against the current application configuration before applying it elsewhere.
- Report an issue or ask a question in the GitHub repository.
- Follow the Contributing Guidelines to propose an update.
- Read the Code of Conduct.
Collection indexes support human browsing and machine retrieval. Keep both current when adding or moving wiki pages.
NR Waste Plus Wiki | GitHub Repository