Storybook Legacy (<v8) Quickstart
Learn how to setup visual testing in a Storybook (<v8) using Argos.
Prerequisites
1
2
Capture screenshots
# Capture screenshots of your stories
npm exec -- storycap <STORYBOOK-URL> --outDir ./screenshots# Build Storybook
npm exec -- storybook build --output-dir ./storybook-static
# Screenshot Storybook with Storycap
npm exec -- storycap --serverCmd "npx http-server ./storybook-static --port 6006" http://127.0.0.1:6006/ --outDir ./screenshotsCongratulations on installing Argos! 👏
Additional resources
Last updated
Was this helpful?