mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-16 07:33:35 +03:00
parent
007e197e3d
commit
f272ad2308
@ -14,7 +14,7 @@ Playwright Trace Viewer is a GUI tool that lets you explore recorded Playwright
|
|||||||
|
|
||||||
## Recording a Trace
|
## Recording a Trace
|
||||||
|
|
||||||
By default the [playwright.config](/test-configuration.md#record-test-trace) file will contain the configuration needed to create a `trace.zip` file for each test. Traces are setup to run `on-first-retry` meaning they will be run on the first retry of a failed test. Also `retires` are set to 2 when running on CI and 0 locally. This means the traces will be recorded on the first retry of a failed test but not on the first run and not on the second retry.
|
By default the [playwright.config](/test-configuration.md#record-test-trace) file will contain the configuration needed to create a `trace.zip` file for each test. Traces are setup to run `on-first-retry` meaning they will be run on the first retry of a failed test. Also `retries` are set to 2 when running on CI and 0 locally. This means the traces will be recorded on the first retry of a failed test but not on the first run and not on the second retry.
|
||||||
|
|
||||||
```js tab=js-js
|
```js tab=js-js
|
||||||
// @ts-check
|
// @ts-check
|
||||||
|
Loading…
Reference in New Issue
Block a user