Does Imagium support storybook testing?
We are using story book to design our react application. Is it possible to do storybook testing with Imagium?
Yes, Visual Testing for storybook is definitely possible using Imagium. (We don't have the sample code ready, lets ask the larger community to share)
Here is the concept.
- Use addon-storyshots-puppeteer to extract image from storybook (This will run using chrome headless)
- Store the extracted image and convert into base64
- Hit Imagium with this base64 image
Will have the sample soon.
Storybook is amazing!
Here is how you can integrate storybook with Imagium https://imagium.io/knowledge-base/13-storybook-integration-for-component-testing/