Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Configure visual regression testing with Percy, Chromatic, or custom screenshot comparison
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -38% | 0% |
| case-03 | ✗→✓ | ▲ Improved | 10% | 0% |
| case-04 | ✗→✓ | ▲ Improved | -58% | 0% |
| case-09 | ✗→✓ | ▲ Improved | -68% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 13% | 0% |
Configure visual regression testing for desktop applications to catch unintended UI changes.
json{ "type": "object", "properties": { "projectPath": { "type": "string" }, "provider": { "enum": ["percy", "chromatic", "reg-suit", "custom"] }, "framework": { "enum": ["playwright", "cypress", "puppeteer"] } }, "required": ["projectPath"] }
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'); });
javascriptconst { 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' }); });
playwright-electron-configdesktop-ui-testing processOther measured skills in the registry, with their headline benchmark lift.