mirror of
https://github.com/microsoft/playwright.git
synced 2024-09-11 20:37:54 +03:00
chore(types): fix typo in screenshot mode (#31047)
This commit is contained in:
parent
a300a15afe
commit
ef023c4f40
@ -559,7 +559,7 @@ Whether to record trace for each test. Defaults to `'off'`.
|
||||
* `'on-first-retry'`: Record trace only when retrying a test for the first time.
|
||||
* `'on-all-retries'`: Record trace only when retrying a test.
|
||||
* `'retain-on-failure'`: Record trace for each test. When test run passes, remove the recorded trace.
|
||||
* `'retain-on-first-failure'`: Record trace for the first run of each test, but not for retires. When test run passes, remove the recorded trace.
|
||||
* `'retain-on-first-failure'`: Record trace for the first run of each test, but not for retries. When test run passes, remove the recorded trace.
|
||||
|
||||
For more control, pass an object that specifies `mode` and trace features to enable.
|
||||
|
||||
|
2
packages/playwright/types/test.d.ts
vendored
2
packages/playwright/types/test.d.ts
vendored
@ -5075,7 +5075,7 @@ export interface PlaywrightWorkerOptions {
|
||||
* - `'on-first-retry'`: Record trace only when retrying a test for the first time.
|
||||
* - `'on-all-retries'`: Record trace only when retrying a test.
|
||||
* - `'retain-on-failure'`: Record trace for each test. When test run passes, remove the recorded trace.
|
||||
* - `'retain-on-first-failure'`: Record trace for the first run of each test, but not for retires. When test run
|
||||
* - `'retain-on-first-failure'`: Record trace for the first run of each test, but not for retries. When test run
|
||||
* passes, remove the recorded trace.
|
||||
*
|
||||
* For more control, pass an object that specifies `mode` and trace features to enable.
|
||||
|
Loading…
Reference in New Issue
Block a user