visual-regression
Installation
SKILL.md
Visual Regression Testing Skill
Purpose
Detect unintended visual changes in UI through automated screenshot comparison.
How It Works
- Capture baseline screenshots of components/pages
- Run tests to capture new screenshots
- Compare against baselines pixel-by-pixel
- Flag differences for review
- Update baselines when changes are intentional
Tools
Playwright Visual Comparisons
import { test, expect } from '@playwright/test';