diff --git a/docs/src/api/params.md b/docs/src/api/params.md index bcd7962959..966be27211 100644 --- a/docs/src/api/params.md +++ b/docs/src/api/params.md @@ -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 diff --git a/packages/playwright-test/types/test.d.ts b/packages/playwright-test/types/test.d.ts index 25c1a7cccf..9d32ccfd43 100644 --- a/packages/playwright-test/types/test.d.ts +++ b/packages/playwright-test/types/test.d.ts @@ -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; diff --git a/tests/config/experimental.d.ts b/tests/config/experimental.d.ts index 2de790ca96..05a48ef410 100644 --- a/tests/config/experimental.d.ts +++ b/tests/config/experimental.d.ts @@ -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;