Coder Social home page Coder Social logo

Comments (11)

garris avatar garris commented on April 19, 2024 5

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.

from storybook.

wyattdanger avatar wyattdanger commented on April 19, 2024 1

I am currently using https://github.com/Galooshi/happo for visual diffing React components

from storybook.

arunoda avatar arunoda commented on April 19, 2024

@wyattdanger Thanks. I saw you guys use it at AirBnb.

from storybook.

sylvainbannier avatar sylvainbannier commented on April 19, 2024

@wyattdanger have you managed to reuse react storybook stories with happo ?

from storybook.

bartlomn avatar bartlomn commented on April 19, 2024

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.

from storybook.

garris avatar garris commented on April 19, 2024

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.

from storybook.

ndelangen avatar ndelangen commented on April 19, 2024

Storybook will not build visual regression testing, because there are tools that do it that integrate very nicely into Storybook.

See:
https://percy.io/docs/clients/javascript/react-storybook
https://screener.io/

from storybook.

oblador avatar oblador commented on April 19, 2024

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.

from storybook.

ndelangen avatar ndelangen commented on April 19, 2024

Be sure to let us know about if when it's demo-able we can feature it on our documentation 👍

from storybook.

heinzmuller avatar heinzmuller commented on April 19, 2024

@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.

from storybook.

oblador avatar oblador commented on April 19, 2024

@heinzmuller sure, DM me on twitter (@trastknast).

from storybook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.