keepcalculator

06 Numbers and Powers

Argos CI vs Chromatic: Visual Regression Workflow Fit

Card No. 06·21295 · Updated · Standard formula, shown below

Argos CI and Chromatic both automate visual regression testing, but they serve different primary workflows: Argos CI is a lightweight, framework-agnostic screenshot comparison tool that fits into any CI pipeline, while Chromatic is a specialized platform built specifically for Storybook, offering component review and UI testing beyond just visual diffs. If your team already uses Storybook as its component development environment, Chromatic is the more integrated choice; if you need a general-purpose visual testing tool that works with any front-end stack, Argos CI is the better fit.

Background: What Each Tool Is

Visual regression testing (also called visual snapshot testing) works by taking screenshots of your UI, comparing them against a baseline, and flagging any pixel-level differences. Both Argos CI and Chromatic operate on this principle, but they come from different origins and target different users.

  • Argos CI is an open-source, self-hostable or cloud-hosted service that integrates with your existing test runner (like Playwright, Cypress, or Puppeteer). You write tests that capture screenshots, upload them to Argos, and it diffs them against your baseline. It is not tied to any specific UI framework or component library.
  • Chromatic is a commercial platform from the Storybook team. It is designed to be the companion to Storybook: it automatically captures stories, runs visual tests on them, and provides a web interface for reviewing changes, accepting baselines, and managing component states. It also includes interaction testing and accessibility checks.

This difference in scope is the single biggest factor in choosing between them.

How Argos CI Works

Argos CI is built around the idea of “bring your own screenshots.� You install the Argos SDK or CLI, capture screenshots in your existing test suite, and then send them to Argos for comparison. The core workflow:

  1. Run your existing E2E tests (e.g., Playwright) and capture screenshots of key pages or components.
  2. Upload the screenshots to Argos via its CLI or API.
  3. Argos compares them against the baseline (usually the last accepted commit) and reports any visual diffs.
  4. Review the diffs in the Argos web UI, accept or reject them, and update the baseline.

Because Argos is not coupled to Storybook, you can test full pages, complex user flows, or even non-React applications. It also supports self-hosting, which is attractive for teams with strict data privacy requirements.

How Chromatic Works

Chromatic is deeply integrated with Storybook. After installing the Chromatic addon, you run a simple command (npx chromatic) in your CI, and it does the following:

  • Builds your Storybook.
  • Captures a snapshot of every story (including all documented states).
  • Uploads them to Chromatic’s cloud.
  • Compares them to the baseline and generates a visual diff report.

Chromatic’s UI is a project management dashboard where you can review changes, leave comments, and approve or reject updates. It also offers “turbosnap� to only test changed stories, and “interaction tests� that run in the browser. For teams that live in Storybook, this means almost zero configuration—your stories are your tests.

Key Differences: Framework Lock-in and Scope

The most important distinction is framework lock-in:

  • Argos CI is framework-agnostic. You can use it with React, Vue, Angular, Svelte, or plain HTML. It doesn’t care how you build your UI.
  • Chromatic requires Storybook. If you don’t use Storybook, Chromatic is not an option. If you do use Storybook, Chromatic becomes a natural extension.

Scope also differs:

  • Argos CI is purely about visual diffing. It does not offer component review, interaction testing, or accessibility checks (though you can integrate other tools).
  • Chromatic includes visual testing, but also provides a UI review workflow (like a PR review for components), interaction testing, and accessibility checks (via axe).

If you already have a robust E2E testing setup and just need visual diffing, Argos CI is simpler. If you want an all-in-one component testing platform, Chromatic is more comprehensive.

Cost and Self-Hosting Considerations

Pricing models differ significantly:

  • Argos CI is open-source (MIT license) and can be self-hosted for free. The cloud service has a free tier with limited screenshots, then paid plans based on usage. Self-hosting gives you full control and no per-seat fees, but you must maintain the infrastructure.
  • Chromatic is commercial. It has a free tier for open-source projects and small teams, then paid plans based on the number of snapshots and users. There is no self-hosted option; you must use their cloud service.

For companies with strict data residency requirements, Argos CI’s self-hosting capability is a major advantage. For teams that prefer a managed service and are already paying for Storybook tools, Chromatic’s pricing may be easier to justify.

Common Workflow Problems and How They Solve Them

Both tools address common pain points in visual regression testing:

  • Baseline management: Both handle baselines automatically, but Chromatic’s UI makes it easier to review and approve multiple changes at once. Argos CI relies on your CI process to decide when to update baselines (e.g., on merge to main).
  • Flakiness: Screenshots can be flaky due to animations, fonts, or timing. Chromatic has built-in “wait forâ€� logic and can auto-wait for fonts and images. Argos CI requires you to handle these in your test scripts, but it does offer a “thresholdâ€� setting to ignore small pixel differences.
  • Large component libraries: Chromatic’s turbosnap only tests stories that changed, which saves time. Argos CI can also be optimized by only capturing screenshots for affected pages, but it requires more manual setup.
  • Cross-browser testing: Neither tool does cross-browser testing out of the box. You would need to run your tests in multiple browsers and upload separate screenshot sets. Argos CI is more flexible here because you can capture from any browser you like.

How to Choose for Your Workflow

Ask yourself these questions:

  1. Do you use Storybook? If yes, Chromatic is the obvious choice—it’s built for it. If no, Argos CI is the only option of the two.
  2. What is your testing stack? If you already have Playwright or Cypress tests, Argos CI integrates with minimal new concepts. Chromatic would require you to also adopt Storybook.
  3. Do you need self-hosting? If yes, Argos CI is the only option.
  4. Do you want a simple visual diff tool or a full component review platform? Argos CI is lean; Chromatic is feature-rich.

In practice, teams that are heavily invested in Storybook (especially design systems teams) find Chromatic indispensable because it turns stories into living documentation and tests. Teams that are building full applications with E2E tests often prefer Argos CI because it doesn’t require a component-driven architecture.

Frequently Asked Questions

Can I use Argos CI with Storybook? Yes, you can use Argos CI with Storybook by capturing screenshots of stories using Playwright or another browser, but you lose the automatic story discovery that Chromatic provides. It’s an extra step but still possible.

Does Chromatic work with non-React frameworks? Yes, Chromatic supports any framework that Storybook supports (Vue, Angular, Svelte, etc.). The requirement is Storybook, not React.

Which tool is better for open-source projects? Both have free tiers for open-source. Argos CI’s self-hosted option is free forever, but you must run it yourself. Chromatic’s free tier is generous for small projects and requires no maintenance.

Can I run visual tests locally without CI? Both tools have CLI commands that can run locally, but they are designed for CI. Argos CI can be run locally and upload to a self-hosted instance. Chromatic requires a cloud account, but you can run a local Storybook and use the CLI to upload snapshots.

What happens when a visual diff is found? In both tools, the CI fails, and you review the diff in the web UI. You can accept the new screenshot as the new baseline if the change is intentional, or reject it and fix the code. The workflow is similar, but Chromatic’s UI is more polished for team collaboration.

Do these tools replace unit or E2E testing? No. Visual regression testing is complementary. It catches styling and layout regressions that unit tests miss, but it does not verify functionality. You still need unit and integration tests.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →