Skip to content

web: require enabling Chromatic snapshot for every story manually

Administrator requested to merge vb/disable-chromatic into main

Created by: valerybugakov

Context

The Frontend Platform team started looking into ways to limit our Chromatic spending that went out of hand. And as a first remediation measure, we proposed disabling snapshotting all stories by default. Snapshotting can be enabled for an individual story by adding disableSnapshot: false to story parameters. That way, it becomes a more conscious decision, and engineers can decide what's important to snapshot.

Here's the list of issues to track the progress per team.

Changes

  • Disabled Chromatic snapshots by default.
  • Enabled Chromatic snapshots for wildcard and shared stories.

Results

We have 321 snapshots in the Chromatic diff. There's still room for improvement as @eseliger mentioned in batchers PR — we can still merge some stories or disable specific viewports for some of them.

Merge request reports

Loading