cypress-plugin-snapshots
cypress-plugin-snapshots copied to clipboard
pass custom snapshot name
can we add something to support custom name like so
toMatchSnapshot({name: { title: "myname" modify: "replace" // or add }})
or anything along these lines?
i see now in the code this sould be suported toMatchSnapshot({name: "myname"}).
this doesnt work..
look like no options are respected also replace doenst seem to work
any update or plants to check the problem? Issues look to be in active.
It was implemented for toMatchImageSnapshot but not for toMatchSnapshot, I just implemented it for the latter.