remorses / vitro

Build and showcase your react components in isolation
https://vitro.now.sh
398 stars 12 forks source link

visual testing? #4

Open chrisdrackett opened 3 years ago

chrisdrackett commented 3 years ago

This might exist or be easy to setup, but is there a way to quickly setup snapshot tests or similar for stories in vitro?

remorses commented 3 years ago

I am working on this, can you share an UX you would like to see? what commands would you like to have? would you use a SAAS product made for vitro for this?

chrisdrackett commented 3 years ago

I think for us (we're really small) just basic snapshots like jest provides would be fine. We currently use Percy which offers a lot of bells and whistles, but at the end of the day we just want to be aware of possible regressions.

promet99 commented 3 years ago

My uses are similar to that of @chrisdrackett Have you heard of Loki? Loki and Chromatic are good examples of visual regressions to me.