Getting started with Storybook
Prerequisites
storybook that holds stories to be tested
lost-pixel configuration file
Follow this storybook guide to add it to your project in minutes
Add lost-pixel configuration file
Add action file in the root of your project. In
.github/workflows/ci.yml
(Optional) Add automatic PR for easy baseline update
Note that your lostpixel.config.js|ts|cjs|mjs
should point to the correct relative path to the built storybook or to served storybook URL
After writing your first stories, you can adopt the visual regression testing by following the visual regression testing workflow
You can see some popular integrations in the lost-pixel-examples directory
Last updated