Repository navigation
Cypress UX UI Guide
UI/UX Quality Checks are automated tests that verify whether the application’s interface follows the design system, design tokens, and UX rules defined by the UX team.
These checks run every time the application is tested and help ensure:
- Visual consistency
- Correct use of typography
- Proper spacing and alignment
- Correct colours and contrast
- Adherence to design tokens
- A predictable, accessible user experience
Think of them as a robotic designer reviewing every screen, every time.
Design consistency is essential for:
- User trust
- Accessibility
- Brand alignment
- Predictable interactions
- Reduced cognitive load
But manual visual review is:
- Time‑consuming
- Easy to miss details
- Hard to repeat consistently
Automated UI/UX checks solve this by:
- Running on every pull request
- Catching issues early
- Providing structured feedback
- Helping designers and developers speak the same language
Each UI element is inspected for:
-
Typography
- Font size
- Font weight
- Line height
-
Colour
- Text colour
- Background colour
-
Spacing
- Padding
- Margin
-
Borders
- Border colour
- Border radius
Each property is compared against the design token it is supposed to use.
If the actual value does not match the expected token value, a UX violation is recorded.
Every issue is classified into a category:
| Category | Meaning |
|---|---|
| Typography | Incorrect font size, weight, or line height |
| Color | Wrong text or background colour |
| Spacing | Incorrect padding or margin |
| Border | Incorrect border colour or radius |
| Token Missing | A design token was expected but not found |
| Style Mismatch | A general mismatch that doesn’t fit another category |
This helps designers quickly understand what kind of issue occurred.
Each issue is also assigned a severity:
| Severity | Meaning |
|---|---|
| Critical | Breaks accessibility or major design rules (e.g., wrong colour) |
| Major | Significant deviation from design tokens (e.g., wrong typography) |
| Minor | Small inconsistencies (e.g., spacing slightly off) |
| Info | A check was performed (not an issue) |
Severity helps teams prioritize fixes.
At the end of a test run, a UI/UX report is generated.
It includes:
- Total checks performed
- Total violations
- Violations by severity
- Violations by category
For each issue:
- Scenario name
- Element selector
- Property checked
- Expected value
- Actual value
- Taxonomy
- Severity
This gives designers a clear, actionable list of what needs attention.
This system:
- Protects design quality
- Ensures consistency across the product
- Reduces manual review effort
- Helps catch regressions early
- Gives designers visibility into UI issues
- Strengthens collaboration with developers
It’s not replacing designers — it’s supporting them by automating the repetitive parts.
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