Investigate how we could regroup all examples used for testing our components in the same place (likely the govuk-frontend package): both those from the YAML files used for individual components (for ex. those of the accordion) and those for "Other examples" pages.
What
Investigate how we could regroup all examples used for testing our components in the same place (likely the
govuk-frontend
package): both those from the YAML files used for individual components (for ex. those of the accordion) and those for "Other examples" pages.Why
Reducing our test depending on the review app highlighted that some of these tests were depending on the "Other examples" page in the review app. These are pages rendering multiple instances of components (could be the same component or different ones, depending on the page).
This means what we use a reference for testing our components is split into two places:
govuk-frontend
package, inside the.yaml
filesRegrouping these may help maintainability by reducing the number of places to look at when finding out how components are tested.
Who needs to work on this
Developers
Who needs to review this
Developers
Done when