# visual-regression-testing

A software testing technique that captures UI screenshots and compares them with reference images to detect unintended visual changes.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Review AI-Generated UI Changes with Storybook and Chromatic

DevFeed: [Review AI-Generated UI Changes with Storybook and Chromatic](<https://devfeed.tech/articles/review-ai-generated-ui-changes-with-storybook-and-chromatic-90077.md>)

Original publisher: [Read original article](<https://www.sitepoint.com/review-ai-generated-ui-changes/>)

Author: SitePoint Team

Published: 2026-10-19T15:40:06Z

Content type: tutorial

Language: en

Sources: [SitePoint](<https://devfeed.tech/sources/sitepoint.md>)

Topics: [visual-regression-testing](<https://devfeed.tech/topics/visual-regression-testing.md>), [Storybook](<https://devfeed.tech/topics/storybook.md>), [AI in frontend development](<https://devfeed.tech/topics/ai-in-frontend-development.md>), [ai code review](<https://devfeed.tech/topics/ai-code-review.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-coding-agents](<https://devfeed.tech/tags/ai-coding-agents.md>), [design-ux](<https://devfeed.tech/tags/design-ux.md>), [regression](<https://devfeed.tech/tags/regression.md>), [review](<https://devfeed.tech/tags/review.md>), [storybook](<https://devfeed.tech/tags/storybook.md>), [verification](<https://devfeed.tech/tags/verification.md>), [web](<https://devfeed.tech/tags/web.md>), [workflow](<https://devfeed.tech/tags/workflow.md>)

### AI overview

This tutorial presents a workflow for reviewing UI changes made by AI coding agents. It recommends limiting prompts to a single component, isolating component states in Storybook, and using Chromatic visual regression snapshots in CI, with a pull request checklist for visual, accessibility, and scope review. It also describes Percy as an alternative and cautions that Chromatic's non-blocking setting will not prevent merges when visual changes are detected.

### Source excerpt

AI coding agents produce sprawling UI diffs that are tedious and error-prone to review in raw code. This playbook outlines a verification workflow using Storybook component isolation, Chromatic visual regression checks, and a PR review checklist. Continue reading Review AI-Generated UI Changes with Storybook and Chromatic on SitePoint.

## Catch visual regressions with Snapshots, now in beta

DevFeed: [Catch visual regressions with Snapshots, now in beta](<https://devfeed.tech/articles/catch-visual-regressions-with-snapshots-now-in-beta-24112.md>)

Original publisher: [Read original article](<https://blog.sentry.io/snapshots-available-beta/>)

Author: Max Topolsky

Published: 2026-06-11T09:00:00Z

Content type: release

Language: en

Sources: [Sentry](<https://devfeed.tech/sources/sentry-blog.md>)

Topics: [visual-regression-testing](<https://devfeed.tech/topics/visual-regression-testing.md>), [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [screenshot-testing](<https://devfeed.tech/topics/screenshot-testing.md>), [Continuous integration](<https://devfeed.tech/topics/continuous-integration.md>), [User Experience](<https://devfeed.tech/topics/user-experience.md>), [test-coverage](<https://devfeed.tech/topics/test-coverage.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agents](<https://devfeed.tech/tags/agents.md>), [beta](<https://devfeed.tech/tags/beta.md>), [changes](<https://devfeed.tech/tags/changes.md>), [ci](<https://devfeed.tech/tags/ci.md>), [commit](<https://devfeed.tech/tags/commit.md>), [diffs](<https://devfeed.tech/tags/diffs.md>), [frontend](<https://devfeed.tech/tags/frontend.md>), [guardrail](<https://devfeed.tech/tags/guardrail.md>), [guardrails](<https://devfeed.tech/tags/guardrails.md>), [screenshot](<https://devfeed.tech/tags/screenshot.md>), [sentry](<https://devfeed.tech/tags/sentry.md>), [snapshots](<https://devfeed.tech/tags/snapshots.md>)

### AI overview

Sentry Snapshots is in beta and adds visual checks to CI: upload application screenshots, compare them with a baseline, and receive a PR notice when differences appear so a person can inspect whether they are intended. Screenshots across themes, languages, or viewports can add visual coverage. The excerpt also describes using image metadata to help an LLM locate tests and add screenshots for different component states. The provided text ends mid-sentence, so it does not establish the rest of that agent workflow.

### Source excerpt

Sentry Snapshots is now in beta. Get screenshot diffing in CI to catch unintended visual changes on every commit, for any platform with a frontend.

## Introducing Visual Testing in Maestro

DevFeed: [Introducing Visual Testing in Maestro](<https://devfeed.tech/articles/introducing-visual-testing-in-maestro-22935.md>)

Original publisher: [Read original article](<https://maestro.dev/blog/visual-testing>)

Author: Dan Caseley

Published: 2026-03-02T07:00:00Z

Content type: article

Language: en

Sources: [Mobile](<https://devfeed.tech/sources/mobile-dev-medium.md>)

Topics: [visual-regression-testing](<https://devfeed.tech/topics/visual-regression-testing.md>), [screenshot-testing](<https://devfeed.tech/topics/screenshot-testing.md>), [Software Testing](<https://devfeed.tech/topics/software-testing.md>)

Tags: [bugs](<https://devfeed.tech/tags/bugs.md>), [button](<https://devfeed.tech/tags/button.md>), [buttons](<https://devfeed.tech/tags/buttons.md>), [change](<https://devfeed.tech/tags/change.md>), [changes](<https://devfeed.tech/tags/changes.md>), [charts](<https://devfeed.tech/tags/charts.md>), [cli](<https://devfeed.tech/tags/cli.md>), [clock](<https://devfeed.tech/tags/clock.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [color](<https://devfeed.tech/tags/color.md>), [compare](<https://devfeed.tech/tags/compare.md>), [comparison](<https://devfeed.tech/tags/comparison.md>), [complex](<https://devfeed.tech/tags/complex.md>), [component](<https://devfeed.tech/tags/component.md>), [components](<https://devfeed.tech/tags/components.md>), [maestro](<https://devfeed.tech/tags/maestro.md>), [studio](<https://devfeed.tech/tags/studio.md>), [testing](<https://devfeed.tech/tags/testing.md>), [v2](<https://devfeed.tech/tags/v2.md>), [visual-testing](<https://devfeed.tech/tags/visual-testing.md>)

### AI overview

Maestro Visual Testing compares screenshots across runs to catch visible regressions that functional tests may miss. `takeScreenshot` creates a baseline; `assertScreenshot` compares the current screen with it and fails when the match falls below a threshold. The default is 95%, allowing up to 5% of pixels to differ; `thresholdPercentage` adjusts this per assertion. `cropOn` uses a Maestro selector to focus on an element or container, helping exclude dynamic UI such as clocks, timestamps, or user avatars. The text suggests higher thresholds (98-99%) for pixel-sensitive components and slightly lower ones for screens with subtle dynamic content that cannot be cropped away. On failure, Maestro generates a diff. The feature is identified as available in CLI v2.2.0, Maestro Studio, and Maestro Cloud; suggested uses include shared design system components, dependency upgrades, and dark mode or theming checks.

### Source excerpt

Available in CLI v2.2.0, Maestro Studio, and Maestro Cloud

## Why Visual Testing Is Critical for Mobile App Quality

DevFeed: [Why Visual Testing Is Critical for Mobile App Quality](<https://devfeed.tech/articles/why-visual-testing-is-critical-for-mobile-app-quality-24858.md>)

Original publisher: [Read original article](<https://alexzh.com/why-visual-testing-is-critical-for-mobile-app-quality/>)

Author: Alex Zhukovich

Published: 2025-03-13T20:59:10Z

Content type: tutorial

Language: en

Sources: [Alex Zhuk](<https://devfeed.tech/sources/alex-zhuk-android-development-and-testing.md>)

Topics: [screenshot-testing](<https://devfeed.tech/topics/screenshot-testing.md>), [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [visual-regression-testing](<https://devfeed.tech/topics/visual-regression-testing.md>)

Tags: [accessibility](<https://devfeed.tech/tags/accessibility.md>), [alignment](<https://devfeed.tech/tags/alignment.md>), [allows](<https://devfeed.tech/tags/allows.md>), [android](<https://devfeed.tech/tags/android.md>), [android-development](<https://devfeed.tech/tags/android-development.md>), [android-studio](<https://devfeed.tech/tags/android-studio.md>), [android-testing](<https://devfeed.tech/tags/android-testing.md>), [app](<https://devfeed.tech/tags/app.md>), [application](<https://devfeed.tech/tags/application.md>), [color](<https://devfeed.tech/tags/color.md>), [comparison](<https://devfeed.tech/tags/comparison.md>), [devices](<https://devfeed.tech/tags/devices.md>), [layout](<https://devfeed.tech/tags/layout.md>), [problems](<https://devfeed.tech/tags/problems.md>), [screenshot](<https://devfeed.tech/tags/screenshot.md>), [screenshot-testing](<https://devfeed.tech/tags/screenshot-testing.md>), [testing](<https://devfeed.tech/tags/testing.md>), [tests](<https://devfeed.tech/tags/tests.md>), [themes](<https://devfeed.tech/tags/themes.md>), [this](<https://devfeed.tech/tags/this.md>), [ui](<https://devfeed.tech/tags/ui.md>), [visual-testing](<https://devfeed.tech/tags/visual-testing.md>)

### AI overview

Visual testing catches pixel-level UI defects that behavioral UI and end-to-end tests may miss. In Android, screenshot tests compare the current UI with a baseline, or "golden screenshot"; a record command creates baselines and a verify command checks against them. The excerpt lists issues this can expose, including spacing and alignment errors, incorrect theme colors, device- or font-size-specific layout breaks, RTL/LTR rendering problems, localized text overflow, and color-contrast concerns. It notes that Android has multiple screenshot-testing frameworks, but the excerpt does not provide their comparison or further implementation details.

### Source excerpt

Visual tests catches UI imperfections that traditional UI tests miss. They detect misalignments, color issues, and layout problems across different devices and themes. This article introduces visual testing concepts, explains how screenshot comparison works, and demonstrates implementation.

## Upgrading frontend dependencies with confidence

DevFeed: [Upgrading frontend dependencies with confidence](<https://devfeed.tech/articles/upgrading-frontend-dependencies-with-confidence-40951.md>)

Original publisher: [Read original article](<https://docusaurus.io/blog/upgrading-frontend-dependencies-with-confidence-using-visual-regression-testing>)

Author: Sébastien Lorber

Published: 2023-09-22T00:00:00Z

Content type: article

Language: en

Sources: [Docusaurus Blog](<https://devfeed.tech/sources/docusaurus-blog.md>)

Topics: [visual-regression-testing](<https://devfeed.tech/topics/visual-regression-testing.md>), [Front end](<https://devfeed.tech/topics/frontend.md>), [GitHub Actions](<https://devfeed.tech/topics/github-actions.md>), [Playwright](<https://devfeed.tech/topics/playwright.md>), [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [upgrade](<https://devfeed.tech/topics/upgrade.md>), [GitHub](<https://devfeed.tech/topics/github.md>)

Tags: [frontend](<https://devfeed.tech/tags/frontend.md>), [github](<https://devfeed.tech/tags/github.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [npm](<https://devfeed.tech/tags/npm.md>), [playwright](<https://devfeed.tech/tags/playwright.md>), [regression](<https://devfeed.tech/tags/regression.md>), [release](<https://devfeed.tech/tags/release.md>), [testing](<https://devfeed.tech/tags/testing.md>), [upgrade](<https://devfeed.tech/tags/upgrade.md>), [visual-regression-testing](<https://devfeed.tech/tags/visual-regression-testing.md>)

### AI overview

This article presents a visual regression testing workflow for upgrading frontend dependencies with greater confidence. It combines GitHub Actions, Playwright, and Argos to build sites, capture screenshots across Git branches, compare them, and report visual differences through commit statuses and pull-request comments.

### Source excerpt

Upgrade npm dependencies with confidence thanks to a visual regression testing workflow using GitHub Actions, Playwright and Argos.

## Understanding & Assessing Visual Regression Testing

DevFeed: [Understanding & Assessing Visual Regression Testing](<https://devfeed.tech/articles/understanding-assessing-visual-regression-testing-22787.md>)

Original publisher: [Read original article](<https://medium.com/microsoft-mobile-engineering/understanding-assessing-visual-regression-testing-4384529a8dd8?source=rss----87f10537e947---4>)

Author: Nikhita Reddy Eega

Published: 2023-07-27T12:58:43Z

Content type: article

Language: en

Sources: [Android@Microsoft](<https://devfeed.tech/sources/android-microsoft-medium.md>)

Topics: [visual-regression-testing](<https://devfeed.tech/topics/visual-regression-testing.md>), [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [screenshot-testing](<https://devfeed.tech/topics/screenshot-testing.md>), [User Interfaces](<https://devfeed.tech/topics/user-interfaces.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [2021](<https://devfeed.tech/tags/2021.md>), [about](<https://devfeed.tech/tags/about.md>), [approach](<https://devfeed.tech/tags/approach.md>), [avoid](<https://devfeed.tech/tags/avoid.md>), [based](<https://devfeed.tech/tags/based.md>), [boilerplate](<https://devfeed.tech/tags/boilerplate.md>), [bugs](<https://devfeed.tech/tags/bugs.md>), [building](<https://devfeed.tech/tags/building.md>), [can](<https://devfeed.tech/tags/can.md>), [cashapp-paparazzi](<https://devfeed.tech/tags/cashapp-paparazzi.md>), [challenges](<https://devfeed.tech/tags/challenges.md>), [changes](<https://devfeed.tech/tags/changes.md>), [code](<https://devfeed.tech/tags/code.md>), [compare](<https://devfeed.tech/tags/compare.md>), [compatibility](<https://devfeed.tech/tags/compatibility.md>), [components](<https://devfeed.tech/tags/components.md>), [facebook-sdk](<https://devfeed.tech/tags/facebook-sdk.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [regression](<https://devfeed.tech/tags/regression.md>), [regression-testing](<https://devfeed.tech/tags/regression-testing.md>), [testing](<https://devfeed.tech/tags/testing.md>), [visual-regression-testing](<https://devfeed.tech/tags/visual-regression-testing.md>)

### AI overview

Visual regression testing compares a newly captured UI snapshot with a saved "Golden" baseline; the allowed pixel difference sets the regression threshold. During View-to-Compose migration, changes in framework and styling can alter details such as padding and margins. The excerpt compares two tools: Facebook SDK is instrumentation based, requires an emulator or device, and captures whole activities or individual Views. It captured a Compose activity but not individual composables in the described tests; the article also reports an obstacle with its storage permission on Android 11 and later. Paparazzi runs modular unit tests on the JVM without a device, uses layoutlib to render screenshots, and offers capture APIs for Views and composables. The tests showed component sizing inaccuracies, for which the excerpt mentions a workaround, and the tool's layoutlib dependency can require coordinated build-system updates. Paparazzi ran faster in the reported comparison, though the tools use different testing types.

### Source excerpt

Understanding & Evaluating Visual Regression TestingPhoto by Jessica Ruscello on UnsplashDive into learning about VRT tools like Facebook SDK, Paparazzi and study their compatibility for migration. Since Jetpack Compose was released in 2021, its declarative programming model has offered a modern and intuitive approach to building user interface. Compared to View system framework, Compose promotes cohesion and simplifies state-management. This framework is lightweight because the UI components are built using composable functions as separate building pieces. With this paradigm shift, boilerplate code is lessened, code reuse is encouraged, and the development process is made simpler. Migrating to Compose seems quite appealing. Will there be any regression if we migrate from one framework to another, though? Because Compose is still relatively new compared to the well-established View-based UI, there might be potential challenges faced during the migration period. What about visual regressions? Possible visual regressions can be encountered due to different UI frameworks, view configuration and styling approach. Styling and themes are usually defined in XML resource files which are applied to the views and then rendered. Whereas in Compose, these are programmatically defined in Kotlin and then takes advantage of efficient recomposition. These variances may result in changes to padding, margin, etc. Thus, to maintain a seamless transition and avoid any visual bugs going unreported, visual regression testing can be used. This ensures that the final UI is consistent to enhance user experience. Understanding Visual Regression Testing (VRT): Let us now break down the process into two design approaches -- High level and Low level High-Level Design Approach Consists of 2 steps: 1) Record -- Generating a snapshot and saving it as Golden (baseline/reference snapshot used to compare subsequent snapshots) 2) Verify -- Compares the two snapshots High level design flowLow-Level Design