-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add visual/css diffing #26
Comments
There is a probably a straightforward way to integrate BackstopJS (similar to PhantomCSS but with a workflow & UI tuned for diff-ing many states and viewport sizes). If there is some interest I could look into it. |
I am currently using https://github.com/Galooshi/happo for visual diffing React components |
@wyattdanger Thanks. I saw you guys use it at AirBnb. |
@wyattdanger have you managed to reuse react storybook stories with happo ? |
Correct me if I am wrong but it looks like all the solutions linked so far use PhantomJs and therefore are suited for the CI integration. I am looking at slightly different use case - I would like to have an add-on that will add a panel with image diff for current story variant. I am looking at Resemble.js for that. Any advice / pointers / prior art / encouragements are welcome. |
BackstopJS is a wrapper around resemble. It manages all the necessary resources for capturing screen shots, reporting and then displaying the diffs. You can call it like a node module as well. I am too busy to do the integration work but I'd happily guide you through it. |
Added a set of stories locally so its easier to test
Fix installation of dependencies on Windows
Storybook will not build visual regression testing, because there are tools that do it that integrate very nicely into Storybook. See: |
These are both paid services for web as far as I understand them. I'm working on a solution that works locally for both web, ios and android. |
Be sure to let us know about if when it's demo-able we can feature it on our documentation 👍 |
@oblador Give me a heads up if you need any testers/help with coding! I looked at the suggestions @ndelangen but Percy seems very pricey, and screener will probably cost about the same. |
@heinzmuller sure, DM me on twitter (@trastknast). |
Just an idea, but it would be cool to see pixel-perfect diffing of your components/stories to see how they progress over time?
PhantomCSS is a great example of what I mean.
The text was updated successfully, but these errors were encountered: