Forum

Forum
Does Imagium suppor...
 
Notifications
Clear all

Does Imagium support storybook testing?


testjackal
 testjackal
Guest
Joined: 3 months ago
Posts: 1
Topic starter  

We are using story book to design our react application. Is it possible to do storybook testing with Imagium?


Quote
admin
Member Admin
Joined: 10 months ago
Posts: 47
 

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 months ago by admin

ReplyQuote

Leave a reply

Author Name

Author Email

Title *

 
Preview 0 Revisions Saved
Share: