testing-visual-regression

Solid

Detect visual changes in UI components using screenshot comparison. Use when detecting unintended UI changes or pixel differences. Trigger with phrases like "test visual changes", "compare screenshots", or "detect UI regressions".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Visual Regression Tester ## Overview Detect unintended visual changes in UI components by capturing screenshots and comparing them pixel-by-pixel against approved baselines. Supports Playwright visual comparisons, Percy, Chromatic, BackstopJS, and reg-suit. ## Prerequisites - Browser automation tool installed (Playwright, Puppeteer, or Cypress) - Visual regression library configured (Playwright `toHaveScreenshot`, Percy, Chromatic, or BackstopJS) - Baseline screenshots committed to version control or stored in a cloud service - Storybook or component playground running for isolated component captures (optional) - Consistent rendering environment (Docker or CI with fixed OS/fonts/GPU settings) ## Instructions 1. Identify all UI components and pages requiring visual coverage using Glob to scan component directories and route definitions. 2. Create a visual test file for each component or page: - Navigate to the component URL or Storybook story. - Wait for all network requests, animations, and lazy-loaded images to complete. - Set a consistent viewport size (e.g., 1280x720 for desktop, 375x812 for mobile). 3. Capture screenshots with deterministic settings: - Disable animations and transitions (`* { animation: none !important; transition: none !important; }`). - Mask dynamic content (timestamps, random avatars, ads) with CSS overlays. - Use `fullPage: true` for scrollable pages. 4. Compare captured screenshots against baselines: - Configure pixel dif...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

visual-regression-setup

Configure visual regression testing with Percy, Chromatic, or custom screenshot comparison

1,034 Updated today
a5c-ai
Testing & QA Listed

visual-regression-testing

Visual regression testing skill using Playwright, covering screenshot comparison, visual diff thresholds, responsive testing, baseline management, and CI integration.

3 Updated today
KaliBellion
AI & Automation Solid

screenshot-comparison

Visual regression testing through screenshot capture and comparison. Pixel-diff analysis, responsive screenshot capture across viewports, and visual change reporting with highlighted differences.

1,034 Updated today
a5c-ai
Testing & QA Listed

doncheli-visual-test

Run visual regression tests by comparing UI screenshots against baselines. Activate when user mentions "visual test", "screenshot", "UI regression", "visual diff", "pixel diff", "visual snapshot".

53 Updated 2 weeks ago
doncheli
AI & Automation Solid

performing-visual-regression-testing

This skill enables Claude to execute visual regression tests using tools like Percy, Chromatic, and BackstopJS. It captures screenshots, compares them against baselines, and analyzes visual differences to identify unintended UI changes. Use this skill when the user requests visual testing, UI change verification, or regression testing for a web application or component. Trigger phrases include "visual test," "UI regression," "check visual changes," or "/visual-test".

2,266 Updated today
jeremylongshore