cypress-plugin-snapshots
cypress-plugin-snapshots copied to clipboard
Configuration to format naming of all image snapshots
Is your feature request related to a problem? Please describe. Having to manually name all images
Describe the solution you'd like It would be nice if you there was some formatting option, that enable you to auto name all images, i.e. for pages or components.
Describe alternatives you've considered
Current solution would have to pass an options object to toMatchImageSnapshot
{
"name": "shiftsByVan-", // Naming resulting image file with a custom name rather than concatenating test titles
"separator": "custom image separator", // Naming resulting image file with a custom separator rather than using the default ` #`
}