As more components are moved over to Cypress visual regression testing the baseline image directory has become unwieldy, sorting snapshots into dynamic component based directories would help with navigation and testing.
💬 Description
An attempt to use the cypress-image-diff config, which may need to be used in conjunction with a cypress custom command (possibly in a beforeAll() function of the visual regression describe blocks.
Summary
As more components are moved over to Cypress visual regression testing the baseline image directory has become unwieldy, sorting snapshots into dynamic component based directories would help with navigation and testing.
💬 Description
An attempt to use the
cypress-image-diff
config, which may need to be used in conjunction with a cypress custom command (possibly in abeforeAll()
function of the visual regression describe blocks.