docs: maxDiffPixelRatio example value should be between 0 and 1 (#23048)
This commit is contained in:
parent
ae930910ad
commit
2e5ddd4361
|
|
@ -134,7 +134,7 @@ export default defineConfig({
|
|||
|
||||
toMatchSnapshot: {
|
||||
// An acceptable ratio of pixels that are different to the total amount of pixels, between 0 and 1.
|
||||
maxDiffPixelRatio: 10,
|
||||
maxDiffPixelRatio: 0.1,
|
||||
},
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ id: test-use-options
|
|||
title: "Test use options"
|
||||
---
|
||||
|
||||
In addition to configuring the test runner you can also configure [Emulation](#emulation-options), [Network](#network-options) and [Recording](#recording-options) for the [Browser] or [BrowserContext],. These options are passed to the `use: {}` object in the Playwright config.
|
||||
In addition to configuring the test runner you can also configure [Emulation](#emulation-options), [Network](#network-options) and [Recording](#recording-options) for the [Browser] or [BrowserContext]. These options are passed to the `use: {}` object in the Playwright config.
|
||||
|
||||
### Basic Options
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue