Repository navigation
Test Rationales
This page explains why the user-journey suite checks each area. Coverage choices are easier to maintain when the reason for a check is written down.
What we check: Pages open, content renders, and the expected text appears in the right place.
Navigation and content are the base contract with a user. If a page cannot be reached or read, nothing else matters. Text assertions also catch broken layouts, failed API responses, and rendering regressions early. Button and input steps verify that interactions produce a result.
These checks stay broad and simple so they act as the first line of defence before more specialized checks run.
What we check: Performance, accessibility, best practices, SEO, TTFB, LCP, and CLS on an authenticated page.
Slow pages frustrate users and hurt search rankings. Lighthouse audits run against the signed-in page in the dedicated lighthouse project. Thresholds are performance 75, accessibility 90, best practices 90, SEO 80; TTFB 95, CLS 0.1, LCP 2500.
Those thresholds catch unoptimised images, blocking scripts, large DOMs, slow responses, and layout shifts. Running them on every pull request keeps regressions out of the deployment. The 2026-11-28 outcome note on the User Journeys page records the authenticated-page handoff.
What we check: WCAG compliance, screen-reader announcements, keyboard operation, focus order, live regions, heading hierarchy, and accessible names.
Accessibility is a legal requirement in British Columbia and a core principle of inclusive design. Two approaches complement each other:
-
axe-playwrightscans the DOM for missing labels, low contrast, and invalid ARIA attributes. - Keyboard and announcement assertions verify that the app works without a mouse: focus order, live-region text, heading levels, and accessible names.
Automated checks do not replace manual review, but they catch common violations consistently on every run.
What we check: Design-system consistency, token use for typography and colour, spacing, borders, WCAG contrast, and Carbon conventions.
Manual visual review is slow and hard to repeat. Automated checks inspect computed styles on every pull request and classify each finding by taxonomy and severity. Designers get a structured list instead of a screenshot thread. The UI/UX Quality Checks page describes the categories; the developer page shows how events reach the report.
- Playwright BDD Step Reference — registered steps.
- User Journeys — suite overview and CI gate.
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