# Catch visual regressions with Snapshots, now in beta

[Sentry](https://yomu.fyi/company/sentry) · Max Topolsky · Jun 11, 2026

**Type:** Announcement

## Summary

Sentry has released the beta version of Sentry Snapshots to catch visual regressions on pull requests across any platform with a frontend. The tool captures screenshots of an application across various viewports, themes, and languages, compares them against a baseline, and blocks pull requests when diffs are detected. Teams can attach custom context metadata, including test file paths, to help developers and AI agents locate test sources and generate additional test cases. By leveraging the sentry-mcp integration, REST API, and sentry-cli, workflows can retrieve base images, diff masks, and run local diff verification before pushing commits. Originally created at Emerge Tools for mobile applications, this iteration expands automated visual testing capabilities to broader frontend codebases.

## Context

Modern codebases risk trading visual quality for development speed, needing automated guardrails against unintentional visual regressions across diverse viewports, themes, and languages without the friction of traditional snapshot management.

## Approach / What changed

Sentry Snapshots diffs application screenshots against baselines in CI, flags diffs on pull requests, and supports context metadata alongside sentry-cli and sentry-mcp integrations so developers and AI agents can query context, generate tests, and verify diffs locally.

## Takeaways

- Sentry Snapshots uploads and diffs screenshots on every commit, blocking pull requests when visual changes occur until they are confirmed as intentional.
- Custom context metadata attached to snapshot images enables LLM agents to locate test source files, generate new snapshot test cases, and inspect diff masks via sentry-mcp.
- Developers and automated agents can run local verification using sentry-cli by downloading baseline images and diffing local screenshots before committing changes.

**Tags:** [CI/CD](https://yomu.fyi/topic/ci-cd), [Developer Experience](https://yomu.fyi/topic/developer-experience), [LLMs](https://yomu.fyi/topic/llm), [Testing](https://yomu.fyi/topic/testing)

[Read original post](https://blog.sentry.io/snapshots-available-beta)
