fix: Generate intervals for project
This commit is contained in:
parent
f5dbd5874e
commit
b31f2486c6
|
|
@ -104,6 +104,7 @@ export default defineConfig({
|
||||||
- `maxDiffPixelRatio` ?<[float]> an acceptable ratio of pixels that are different to the total amount of pixels, between `0` and `1` , unset by default.
|
- `maxDiffPixelRatio` ?<[float]> an acceptable ratio of pixels that are different to the total amount of pixels, between `0` and `1` , unset by default.
|
||||||
- `toPass` ?<[Object]> Configuration for the [expect(value).toPass()](../test-assertions.md) method.
|
- `toPass` ?<[Object]> Configuration for the [expect(value).toPass()](../test-assertions.md) method.
|
||||||
- `timeout` ?<[int]> timeout for toPass method in milliseconds.
|
- `timeout` ?<[int]> timeout for toPass method in milliseconds.
|
||||||
|
- `intervals` ?<[Array]<[int]>> probe intervals for toPass method in milliseconds.
|
||||||
|
|
||||||
Configuration for the `expect` assertion library.
|
Configuration for the `expect` assertion library.
|
||||||
|
|
||||||
|
|
|
||||||
5
packages/playwright/types/test.d.ts
vendored
5
packages/playwright/types/test.d.ts
vendored
|
|
@ -8601,6 +8601,11 @@ interface TestProject {
|
||||||
* timeout for toPass method in milliseconds.
|
* timeout for toPass method in milliseconds.
|
||||||
*/
|
*/
|
||||||
timeout?: number;
|
timeout?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* probe intervals for toPass method in milliseconds.
|
||||||
|
*/
|
||||||
|
intervals?: Array<number>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue