mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
docs: document config executing multiple times (#34576)
This commit is contained in:
parent
311625b891
commit
50f22f13a4
@ -183,6 +183,10 @@ Metadata that will be put directly to the test report serialized as JSON.
|
||||
|
||||
Project name is visible in the report and during test execution.
|
||||
|
||||
:::warning
|
||||
Playwright executes the configuration file multiple times. Do not dynamically produce non-stable values in your configuration.
|
||||
:::
|
||||
|
||||
## property: TestProject.snapshotDir
|
||||
* since: v1.10
|
||||
- type: ?<[string]>
|
||||
|
4
packages/playwright/types/test.d.ts
vendored
4
packages/playwright/types/test.d.ts
vendored
@ -349,6 +349,10 @@ interface TestProject<TestArgs = {}, WorkerArgs = {}> {
|
||||
|
||||
/**
|
||||
* Project name is visible in the report and during test execution.
|
||||
*
|
||||
* **NOTE** Playwright executes the configuration file multiple times. Do not dynamically produce non-stable values in
|
||||
* your configuration.
|
||||
*
|
||||
*/
|
||||
name?: string;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user