mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00

This patch adds additional options to `toMatchSnapshot` method: - `pixelCount` - acceptable number of pixels that differ to still consider images equal. Unset by default. - `pixelRatio` - acceptable ratio of all image pixels (from 0 to 1) that differ to still consider images equal. Unset by default. Fixes #12167, #10219
@playwright/test
This package contains Playwright Test. A test-runner for writing idiomatic and reliable end-to-end tests with Playwright.