I’m wondering how I can go about doing this in Elm?
Example: I built a button component, and I just want to make sure that there are no visual regressions. So I would have an image of the button and during every push to master, a CI check would run on that button and compare it to the image.
I’m not sure how you would set this up for just a single button (maybe you could have an example page for it?) but https://garris.github.io/BackstopJS/ seems to work pretty well for visual regressions.
They are both simple to set up and use, and percy integrates with cypress nicely. So you can run cypress tests, and take percy snapshots wherever you choose as your tests run.