Guides
How to prove a refactor or upgrade didn't change your UI
Screenshot every page in your sitemap on both versions, compare at zero tolerance, then review each diff. A tested Playwright script, plus the Argos setup.
Guides
DOM snapshots vs screenshots: how visual testing tools capture your UI
Percy, Chromatic, Happo and Applitools re-render a DOM snapshot in their cloud; Playwright, Vitest and Argos keep your test browser's pixels. What each misses.
Engineering
How we made Argos deployments 3x faster
Argos deployments shipped JavaScript uncompressed and waited two seconds on a cold edge function. Production logs, a 128 MB CPU in Docker and a few CloudFront settings took a Storybook page load from 4.4 s to 1.3 s on a 10 Mbps connection.
Engineering
Can AI models spot a 1px UI change? We tested
Frontier vision models flagged 93–99% of one-property UI changes in 800×600 screenshots but 64–86% on full pages. A pixel diff mask got all four to 100%.
Guides
maxDiffPixels vs maxDiffPixelRatio vs threshold in Playwright
In Playwright, threshold decides which pixels count as different; maxDiffPixels and maxDiffPixelRatio cap how many. Measured on 1.63, with code.
Guides
Stop your AI agent from rewriting screenshot baselines
Regenerating a screenshot baseline is an approval. Tested config to block --update-snapshots and vitest -u in Claude Code and keep baseline changes reviewed.
Guides
Block a pull request until visual changes are approved on GitHub
To block a GitHub pull request until visual changes are approved, run Playwright with Argos in GitHub Actions and make the argos status check required.
Guides
How to accept one changed Playwright screenshot
Playwright has no Accept button: re-run just the changed test with --update-snapshots=changed, use --last-failed, or copy the -actual file over the baseline.
Guides
Visual testing a component library: how Base UI screenshots every demo
Base UI turns every docs demo into a visual regression test: a Vite fixture app, Playwright screenshots on CircleCI, and Argos diffs on each pull request.
Guides
Should you commit screenshot baselines to Git?
Yes for small suites. Past a few hundred screenshots, Git history, LFS quotas and merge conflicts add up. Measured sizes, WebP baselines and alternatives.
Guides
Storybook, Vitest Browser Mode or Playwright: where should component screenshots live?
Compare Storybook's Vitest addon, Vitest browser mode and Playwright component testing for component screenshots, with configs we ran on current versions.
Guides
How to let Claude Code, Cursor and Codex review your visual diffs
Connect Claude Code, Cursor or Codex to the Argos MCP server with read-only scopes, then have the agent sort visual diffs into intended, regression or flaky.
Guides
Why Playwright screenshots differ between macOS, Linux and Docker
Playwright screenshots differ across macOS, Linux and Docker because fonts, hinting and anti-aliasing differ. Measured on 1.63: what Docker and flags fix.
Guides
Which visual testing tools have an MCP server?
Argos, Applitools, Happo, Percy and TestMu AI run MCP servers that let AI agents read visual diffs. What each one exposes, checked October 2026.
Guides
How to screenshot every Storybook story on every pull request
Screenshot every Storybook story on each pull request with the Vitest addon and Argos, the test-runner or a Playwright loop. Tested configs, themes and CI.
Guides
Vitest visual testing: Browser Mode screenshots guide
Set up visual regression testing in Vitest browser mode with toMatchScreenshot, learn where local baselines break down, and scale with a review workflow.
Supercharge your product quality
See every change your team and your agents make. Review with confidence, and merge faster.