meinaart / cypress-plugin-snapshots

Plugin for snapshot tests in Cypress.io
MIT License
497 stars 117 forks source link

Add a parameter to customize the screenshot file name #42

Closed rndmerle closed 5 years ago

rndmerle commented 5 years ago

Hi!

Even if it's a nice convenient solution, I'm not a fan of screenshot named after test titles. Mainly because I often reorganize tests or even just rename titles, and I don't want to mess-up screenshots.

So I added a name parameter to be used as the final image file name.

I'm open to any suggestions :)