nhsuk-frontend icon indicating copy to clipboard operation
nhsuk-frontend copied to clipboard

Feature Card/Card group backstop test incorrect

Open xLasercut opened this issue 2 years ago • 0 comments

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

Is there anything else you think would be useful in recreating the issue?

xLasercut avatar Apr 28 '22 16:04 xLasercut