playwright/packages/playwright-test/types
Andrey Lushnikov a98babec69
feat(test-runner): introduce pixelCount and pixelRatio options (#12169)
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
2022-02-17 15:44:03 -08:00
..
test.d.ts feat(test-runner): introduce pixelCount and pixelRatio options (#12169) 2022-02-17 15:44:03 -08:00
testExpect.d.ts feat(test-runner): introduce pixelCount and pixelRatio options (#12169) 2022-02-17 15:44:03 -08:00
testReporter.d.ts feat(test-runner): support expect.soft (#11800) 2022-02-02 18:33:51 -08:00