Pw Visual Regression

Sets up and reviews Playwright visual/screenshot regression testing — JavaScript or TypeScript — to catch meaningful visual regressions while minimizing false positives from nondeterministic rendering or dynamic content. Use when an SDET says "add visual regression", "snapshot this component", "set up toHaveScreenshot", "mask the dynamic parts of this page", "why does my screenshot test keep failing", or "manage baselines". Produces snapshot tests with masking, thresholds, and a baseline strategy — a draft the engineer runs to generate and review the first baselines.

Shivani26Singh Updated

File contents

Shivani26Singh/skill-library/tree/main/Automation_Playwright/pw-visual-regression commit 0d113a2309

Frequently asked questions

npx skillmds@latest add shivani26singh/pw-visual-regression