visual-regression-setup

Solid

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

AI & Automation 1,160 stars 71 forks Updated today MIT

Install

View on GitHub

Quality Score: 94/100

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

Skill Content

# visual-regression-setup Configure visual regression testing for desktop applications to catch unintended UI changes. ## Capabilities - Configure Percy integration - Set up Chromatic for Storybook - Custom screenshot comparison - Configure threshold settings - Handle dynamic content masking - Set up CI/CD integration ## Input Schema ```json { "type": "object", "properties": { "projectPath": { "type": "string" }, "provider": { "enum": ["percy", "chromatic", "reg-suit", "custom"] }, "framework": { "enum": ["playwright", "cypress", "puppeteer"] } }, "required": ["projectPath"] } ``` ## Percy Integration ```javascript // playwright.config.js import { defineConfig } from '@playwright/test'; export default defineConfig({ use: { screenshot: 'only-on-failure' } }); // test.spec.js import { test } from '@playwright/test'; import percySnapshot from '@percy/playwright'; test('visual test', async ({ page }) => { await page.goto('/'); await percySnapshot(page, 'Home page'); }); ``` ## Custom Comparison ```javascript const { toMatchImageSnapshot } = require('jest-image-snapshot'); expect.extend({ toMatchImageSnapshot }); test('matches screenshot', async () => { const screenshot = await page.screenshot(); expect(screenshot).toMatchImageSnapshot({ failureThreshold: 0.01, failureThresholdType: 'percent' }); }); ``` ## Related Skills - `playwright-electron-config` - `desktop-ui-testing` process

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

testing-visual-regression

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".

2,274 Updated today
jeremylongshore
Testing & QA Solid

percy-visual-testing

Percy visual testing platform integration for visual regression detection

1,160 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,160 Updated today
a5c-ai
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,274 Updated today
jeremylongshore