visual-regression.template.ts
Tools · A check on the result · MIT
- What it does
A Playwright screenshot-baseline template that seeds, sets a named state, freezes, hides debug UI and then compares against a stored picture. Copy it to a .spec.ts file when a scene is stable enough to protect.
- Get it
cp tests/visual-regression.template.ts tests/visual-regression.spec.ts && npx playwright test tests/visual-regression.spec.ts --update-snapshots
- Needs (the whole pack)
Nothing to read the skills. To run what they build: Node and npm, Python 3 for the helper scripts, and Chromium through Playwright for the inspector and tests. Optional and paid: Tripo, Gemini and ElevenLabs keys for the three generator skills.
- License
MIT
- From