meinaart / cypress-plugin-snapshots

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

(feat) Customize Snapshot/Screenshot folder #119

Open zvaehn opened 4 years ago

stevenvachon commented 4 years ago

Or even simpler, use screenshotsFolder since .screenshot() goes there and is cleared before tests run by default. It makes sense to me to reuse this path instead of adding a new one within integrationFolder and then customizing it to behave like plain Cypress.

Also, sending initial/replaced screenshots to fixturesFolder makes sense as well.

Renaud009 commented 4 years ago

It feels weird having snapshots in integration folder anyway

adhamqodirov commented 3 years ago

@meinaart Awesome plugin for cypress, thank youuuu. I wanted to ask if you have time, I want to contribute to your plugin and add some configuration to split the images into 3 folders (stable folder, actual folder, different folder). Could you tell us how to achieve this result? In which files do I need to change the paths and some conditions? Thanks in advance :))