nhsuk-frontend
nhsuk-frontend copied to clipboard
Feature Card/Card group backstop test incorrect
Bug Report
What is the issue?
Backstop test screenshot and label for card group/feature card is incorrect
[
{
label: 'Card - Card group',
url: `${TEST_URL}/card/card-group.html`,
},
{
label: 'Card - Card group',
url: `${TEST_URL}/card/feature-card.html`,
}
]
These two have the same label and they are using the same set of screenshots Also, all "Card Group" screenshots contain only "Feature Card" component
What steps are required to reproduce the issue?
Run backstop test with the filter "Card"
npm run backstop:test -- --filter="Card"
What was the environment where this issue occurred?
All environments as this is an incorrect test config