meinaart / cypress-plugin-snapshots

Plugin for snapshot tests in Cypress.io
MIT License
491 stars 116 forks source link

(feat) option du change the "#" for screenshot number in filename #95

Closed lordfpx closed 4 years ago

lordfpx commented 4 years ago

Is your feature request related to a problem? Please describe. I'm using generated screenshot in an HTML page as background-image of elements. Unfortunatly, the # character break the url leading to a 404 (the filename is cut)

Describe the solution you'd like Maybe add an option to change the # character?

Additional context My test are run on lot of components. At the same time, we generate a component index page with screenshots. We would like to use generated image snapshots for that.

Thanks a lot

meinaart commented 4 years ago

Should be fixed in next release.

meinaart commented 4 years ago

Fixed in v1.3.0