Modern Web has developed a test-runner-visual-regression package that may be used with Web Test Runner to take screenshots of stuff and compare to the previous screenshot of the same stuff.
It is fairly agnostic (which is great) and can easily be used to compare stories before & after modifications.
I've played with it within the components repo and it worked + it's fairly easy to integrate.
The only drawback is that you have to commit the screenshots so it's able to compare them.
I believe they are fairly low weight but I need to check.
Context
Modern Web has developed a
test-runner-visual-regression
package that may be used with Web Test Runner to take screenshots of stuff and compare to the previous screenshot of the same stuff.It is fairly agnostic (which is great) and can easily be used to compare stories before & after modifications.
I've played with it within the components repo and it worked + it's fairly easy to integrate.
The only drawback is that you have to commit the screenshots so it's able to compare them. I believe they are fairly low weight but I need to check.