Prompt
What should I use for design system screenshot testing in CI?
Latest observation
Oct 27, 2026
OpenAI APIWeb search: off
For design system screenshot testing in CI, a strong default is:
Best overall: Chromatic
If your design system is in Storybook, Chromatic is usually the easiest and most purpose-built choice.
Why it’s good
- Built specifically for component-driven UI / design systems
- Integrates directly with Storybook
- Handles visual regression testing well
- Easy to set up in CI
- Supports review workflows, baselines, and PR diffs
- Good for catching unintended UI changes early
Best for
- Teams already using Storybook
- Design systems with lots of reusable components
- CI pipelines where you want minimal setup and good collaboration
Strong open-source / self-hosted option: Playwright
Use Playwright if you want:
- More control over the test environment
- A fully code-based approach
- No dependency on a SaaS screenshot platform
- Broader end-to-end testing alongside visual checks
Why it’s good
- Can take deterministic screenshots in CI
- Supports multiple browsers
- Excellent for custom workflows
- Can be combined with your own baseline image management
Best for
- Teams that want to own the whole pipeline
- Projects needing more than Storybook-based checks
- Cases where CI and reproducibility matter more than convenience
Also worth considering: Percy
Percy is another popular visual regression tool.
Why use it
- Good visual diffing
- CI-friendly
- Works with Storybook, Playwright, Cypress, etc.
Best for
- Teams that want a similar SaaS workflow
- If you prefer Percy’s ecosystem or already use BrowserStack tools
Quick recommendation
- Using Storybook? → Chromatic
- Want maximum control / self-hosted? → Playwright
- Want SaaS visual review with other test frameworks? → Percy
My practical advice
For most design systems, I’d start with:
Storybook + Chromatic
It gives the best balance of:
- low setup cost
- CI integration
- easy review of visual changes
- good developer experience
If you want, I can also recommend the best option based on your stack, like:
- Storybook vs no Storybook
- monorepo vs single repo
- open-source only vs SaaS allowed
- React / Vue / Web Components