chore(types): fix typo in screenshot mode

This commit is contained in:
Ernst de Jong 2024-05-28 15:59:51 +02:00
parent a300a15afe
commit 745bd48d59
2 changed files with 2 additions and 2 deletions

View file

@ -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.

View file

@ -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.