Awesome Reviewers checks + prompts

Visual regression testing

Compares screenshots of rendered pages or components with approved baselines and reports pixel differences.

V1025 technique
tactic Testing
not detectable from CI configuration

Sub-techniques

2

IDNameDescription
V1025.001Component snapshotsScreenshot each component state in isolation.
V1025.002Page snapshotsScreenshot full pages at fixed viewports.

Craft it

  1. Render in a pinned browser and font environment to avoid noise.
  2. Store baselines per branch and approve changes in the PR.
  3. Set per-component diff thresholds rather than one global value.

Reverse engineer it

Signs that a codebase already runs this technique, and where to read how it is configured.

  • __screenshots__ or backstop_data directories.
  • toHaveScreenshot assertions or a visual testing step in CI.

Open-source packages

5