Notifications
Clear all
Topic starter
02/08/2021 8:32 am
We are using story book to design our react application. Is it possible to do storybook testing with Imagium?
02/08/2021 8:44 am
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.
This post was modified 3 years ago by admin
03/02/2022 5:45 am
Storybook is amazing!
Here is how you can integrate storybook with Imagium https://imagium.io/knowledge-base/13-storybook-integration-for-component-testing/