fix: Generate intervals from .md
This commit is contained in:
parent
b5cc589d8d
commit
f5dbd5874e
|
|
@ -54,6 +54,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#expecttopass) method.
|
- `toPass` ?<[Object]> Configuration for the [expect(value).toPass()](../test-assertions.md#expecttopass) 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. Learn more about [various timeouts](../test-timeouts.md).
|
Configuration for the `expect` assertion library. Learn more about [various timeouts](../test-timeouts.md).
|
||||||
|
|
||||||
|
|
|
||||||
10
packages/playwright/types/test.d.ts
vendored
10
packages/playwright/types/test.d.ts
vendored
|
|
@ -702,6 +702,11 @@ interface TestConfig {
|
||||||
* 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>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -8596,11 +8601,6 @@ interface TestProject {
|
||||||
* timeout for toPass method in milliseconds.
|
* timeout for toPass method in milliseconds.
|
||||||
*/
|
*/
|
||||||
timeout?: number;
|
timeout?: number;
|
||||||
|
|
||||||
/**
|
|
||||||
* interval for toPass method in milliseconds.
|
|
||||||
*/
|
|
||||||
intervals?: number[];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue