simonsmith / cypress-image-snapshot

Catch visual regressions in Cypress with jest-image-snapshot
MIT License
65 stars 15 forks source link

Swipe between base and failed snapshot #60

Closed kamiloski88 closed 4 months ago

kamiloski88 commented 4 months ago

Is the way to get in report something like in link below (Show diff view and Show overlay view - where I can swipe on image)?

https://github.com/allure-framework/allure2/blob/main/plugins/screen-diff-plugin/README.md

simonsmith commented 4 months ago

That is beyond the scope of this plugin. It just generates the diff image. The allure framework in that example also creates a web page and the JS needed to create the onion skin effect

gagatekns commented 4 months ago

Do you know how achive this effect? I'm interested too