feat(playwright/types): add jsdoc comment describing on-first-failure mode
This commit is contained in:
parent
7a6c2c8ae1
commit
06de29af56
1
packages/playwright/types/test.d.ts
vendored
1
packages/playwright/types/test.d.ts
vendored
|
|
@ -5586,6 +5586,7 @@ export interface PlaywrightWorkerOptions {
|
|||
* - `'retain-on-failure'`: Record trace for each test, but remove all traces from successful test runs.
|
||||
* - `'on-first-retry'`: Record trace only when retrying a test for the first time.
|
||||
* - `'on-all-retries'`: Record traces only when retrying for all retries.
|
||||
* - `'on-first-failure'`: Record trace only when the test fails for the first time.
|
||||
*
|
||||
* For more control, pass an object that specifies `mode` and trace features to enable.
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue