Not an exhaustive list, by any means; this is just as I remember to add things.
- Component page template.
- HMRC Account header needs its own layout to work properly.
- Service timeout examples need their own pages in iframes.
- Error summary final example needs an iframe.
- Needs a form handler to return error states?
- Run all tests again once finished, for newer screenshots.
-
Split(abandoned the idea for now, but a PR is welcome if you’re up for it)components.js
up so that each component has its owncomponent.js
instead. - Add a
:target
class for the in-page navigation. - Move each component
id
from heading to.component-section
Most of this has been my ADHD brain making things up as I go, so there are lots of areas which could be improved with macros.
- Page title
- Page header
- In-page navigation
-
figure
/figcaption
- “What we are testing in this component” (driven by data from
components.js
) - Add WCAG tags to what we’re testing, so people know why they’re testing things.
- Error summary: all links should have a valid target.
- Error message: “Error:” prefix should exist.
- Page title: First section should match the page heading.
- UTR: Does Cypress trigger the telephone helper?
- Cypress Warning:
cy.server()
has been deprecated and will be moved to a plugin in a future release. Consider migrating to usingcy.intercept()
instead.
- Split tests off into a plugin repo for service teams.