docs: maxDiffPixels description typo (#14456)
This commit is contained in:
parent
abced7223c
commit
c1aecc7d50
|
|
@ -746,7 +746,7 @@ Time to retry the assertion for.
|
|||
* langs: js
|
||||
- `maxDiffPixels` <[int]>
|
||||
|
||||
An acceptable amount of pixels that could be different, default is configurable with `TestConfig.expect`. Default is configurable with `TestConfig.expect`. Unset by default.
|
||||
An acceptable amount of pixels that could be different. Default is configurable with `TestConfig.expect`. Unset by default.
|
||||
|
||||
## assertions-max-diff-pixel-ratio
|
||||
* langs: js
|
||||
|
|
|
|||
24
packages/playwright-test/types/test.d.ts
vendored
24
packages/playwright-test/types/test.d.ts
vendored
|
|
@ -3369,8 +3369,8 @@ interface LocatorAssertions {
|
|||
maxDiffPixelRatio?: number;
|
||||
|
||||
/**
|
||||
* An acceptable amount of pixels that could be different, default is configurable with `TestConfig.expect`. Default is
|
||||
* configurable with `TestConfig.expect`. Unset by default.
|
||||
* An acceptable amount of pixels that could be different. Default is configurable with `TestConfig.expect`. Unset by
|
||||
* default.
|
||||
*/
|
||||
maxDiffPixels?: number;
|
||||
|
||||
|
|
@ -3443,8 +3443,8 @@ interface LocatorAssertions {
|
|||
maxDiffPixelRatio?: number;
|
||||
|
||||
/**
|
||||
* An acceptable amount of pixels that could be different, default is configurable with `TestConfig.expect`. Default is
|
||||
* configurable with `TestConfig.expect`. Unset by default.
|
||||
* An acceptable amount of pixels that could be different. Default is configurable with `TestConfig.expect`. Unset by
|
||||
* default.
|
||||
*/
|
||||
maxDiffPixels?: number;
|
||||
|
||||
|
|
@ -3627,8 +3627,8 @@ interface PageAssertions {
|
|||
maxDiffPixelRatio?: number;
|
||||
|
||||
/**
|
||||
* An acceptable amount of pixels that could be different, default is configurable with `TestConfig.expect`. Default is
|
||||
* configurable with `TestConfig.expect`. Unset by default.
|
||||
* An acceptable amount of pixels that could be different. Default is configurable with `TestConfig.expect`. Unset by
|
||||
* default.
|
||||
*/
|
||||
maxDiffPixels?: number;
|
||||
|
||||
|
|
@ -3731,8 +3731,8 @@ interface PageAssertions {
|
|||
maxDiffPixelRatio?: number;
|
||||
|
||||
/**
|
||||
* An acceptable amount of pixels that could be different, default is configurable with `TestConfig.expect`. Default is
|
||||
* configurable with `TestConfig.expect`. Unset by default.
|
||||
* An acceptable amount of pixels that could be different. Default is configurable with `TestConfig.expect`. Unset by
|
||||
* default.
|
||||
*/
|
||||
maxDiffPixels?: number;
|
||||
|
||||
|
|
@ -3841,8 +3841,8 @@ interface ScreenshotAssertions {
|
|||
maxDiffPixelRatio?: number;
|
||||
|
||||
/**
|
||||
* An acceptable amount of pixels that could be different, default is configurable with `TestConfig.expect`. Default is
|
||||
* configurable with `TestConfig.expect`. Unset by default.
|
||||
* An acceptable amount of pixels that could be different. Default is configurable with `TestConfig.expect`. Unset by
|
||||
* default.
|
||||
*/
|
||||
maxDiffPixels?: number;
|
||||
|
||||
|
|
@ -3885,8 +3885,8 @@ interface ScreenshotAssertions {
|
|||
maxDiffPixelRatio?: number;
|
||||
|
||||
/**
|
||||
* An acceptable amount of pixels that could be different, default is configurable with `TestConfig.expect`. Default is
|
||||
* configurable with `TestConfig.expect`. Unset by default.
|
||||
* An acceptable amount of pixels that could be different. Default is configurable with `TestConfig.expect`. Unset by
|
||||
* default.
|
||||
*/
|
||||
maxDiffPixels?: number;
|
||||
|
||||
|
|
|
|||
24
tests/config/experimental.d.ts
vendored
24
tests/config/experimental.d.ts
vendored
|
|
@ -19581,8 +19581,8 @@ interface LocatorAssertions {
|
|||
maxDiffPixelRatio?: number;
|
||||
|
||||
/**
|
||||
* An acceptable amount of pixels that could be different, default is configurable with `TestConfig.expect`. Default is
|
||||
* configurable with `TestConfig.expect`. Unset by default.
|
||||
* An acceptable amount of pixels that could be different. Default is configurable with `TestConfig.expect`. Unset by
|
||||
* default.
|
||||
*/
|
||||
maxDiffPixels?: number;
|
||||
|
||||
|
|
@ -19655,8 +19655,8 @@ interface LocatorAssertions {
|
|||
maxDiffPixelRatio?: number;
|
||||
|
||||
/**
|
||||
* An acceptable amount of pixels that could be different, default is configurable with `TestConfig.expect`. Default is
|
||||
* configurable with `TestConfig.expect`. Unset by default.
|
||||
* An acceptable amount of pixels that could be different. Default is configurable with `TestConfig.expect`. Unset by
|
||||
* default.
|
||||
*/
|
||||
maxDiffPixels?: number;
|
||||
|
||||
|
|
@ -19839,8 +19839,8 @@ interface PageAssertions {
|
|||
maxDiffPixelRatio?: number;
|
||||
|
||||
/**
|
||||
* An acceptable amount of pixels that could be different, default is configurable with `TestConfig.expect`. Default is
|
||||
* configurable with `TestConfig.expect`. Unset by default.
|
||||
* An acceptable amount of pixels that could be different. Default is configurable with `TestConfig.expect`. Unset by
|
||||
* default.
|
||||
*/
|
||||
maxDiffPixels?: number;
|
||||
|
||||
|
|
@ -19943,8 +19943,8 @@ interface PageAssertions {
|
|||
maxDiffPixelRatio?: number;
|
||||
|
||||
/**
|
||||
* An acceptable amount of pixels that could be different, default is configurable with `TestConfig.expect`. Default is
|
||||
* configurable with `TestConfig.expect`. Unset by default.
|
||||
* An acceptable amount of pixels that could be different. Default is configurable with `TestConfig.expect`. Unset by
|
||||
* default.
|
||||
*/
|
||||
maxDiffPixels?: number;
|
||||
|
||||
|
|
@ -20053,8 +20053,8 @@ interface ScreenshotAssertions {
|
|||
maxDiffPixelRatio?: number;
|
||||
|
||||
/**
|
||||
* An acceptable amount of pixels that could be different, default is configurable with `TestConfig.expect`. Default is
|
||||
* configurable with `TestConfig.expect`. Unset by default.
|
||||
* An acceptable amount of pixels that could be different. Default is configurable with `TestConfig.expect`. Unset by
|
||||
* default.
|
||||
*/
|
||||
maxDiffPixels?: number;
|
||||
|
||||
|
|
@ -20097,8 +20097,8 @@ interface ScreenshotAssertions {
|
|||
maxDiffPixelRatio?: number;
|
||||
|
||||
/**
|
||||
* An acceptable amount of pixels that could be different, default is configurable with `TestConfig.expect`. Default is
|
||||
* configurable with `TestConfig.expect`. Unset by default.
|
||||
* An acceptable amount of pixels that could be different. Default is configurable with `TestConfig.expect`. Unset by
|
||||
* default.
|
||||
*/
|
||||
maxDiffPixels?: number;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue