2024-03-30 01:48:50 +01:00
|
|
|
# class: FullConfig
|
|
|
|
|
* since: v1.10
|
|
|
|
|
* langs: js
|
|
|
|
|
|
2024-04-02 20:39:36 +02:00
|
|
|
Resolved configuration passed to [`method: Reporter.onBegin`].
|
2024-04-01 20:19:56 +02:00
|
|
|
|
2024-04-01 20:08:24 +02:00
|
|
|
## property: FullConfig.configFile
|
|
|
|
|
* since: v1.20
|
|
|
|
|
- type: ?<[string]>
|
|
|
|
|
|
|
|
|
|
Path to the configuration file (if any) used to run the tests.
|
|
|
|
|
|
2024-03-30 01:48:50 +01:00
|
|
|
## property: FullConfig.forbidOnly
|
|
|
|
|
* since: v1.10
|
2024-04-01 21:34:25 +02:00
|
|
|
- type: <[boolean]>
|
2024-03-30 01:48:50 +01:00
|
|
|
|
|
|
|
|
See [`property: TestConfig.forbidOnly`].
|
|
|
|
|
|
|
|
|
|
## property: FullConfig.fullyParallel
|
|
|
|
|
* since: v1.20
|
2024-04-01 21:34:25 +02:00
|
|
|
- type: <[boolean]>
|
2024-03-30 01:48:50 +01:00
|
|
|
|
|
|
|
|
See [`property: TestConfig.fullyParallel`].
|
|
|
|
|
|
|
|
|
|
## property: FullConfig.globalSetup
|
|
|
|
|
* since: v1.10
|
2024-04-01 21:34:25 +02:00
|
|
|
- type: <[null]|[string]>
|
2024-03-30 01:48:50 +01:00
|
|
|
|
|
|
|
|
See [`property: TestConfig.globalSetup`].
|
|
|
|
|
|
|
|
|
|
## property: FullConfig.globalTeardown
|
|
|
|
|
* since: v1.10
|
2024-04-01 21:34:25 +02:00
|
|
|
- type: <[null]|[string]>
|
2024-03-30 01:48:50 +01:00
|
|
|
|
|
|
|
|
See [`property: TestConfig.globalTeardown`].
|
|
|
|
|
|
|
|
|
|
## property: FullConfig.globalTimeout
|
|
|
|
|
* since: v1.10
|
2024-04-01 21:34:25 +02:00
|
|
|
- type: <[int]>
|
2024-03-30 01:48:50 +01:00
|
|
|
|
|
|
|
|
See [`property: TestConfig.globalTimeout`].
|
|
|
|
|
|
|
|
|
|
## property: FullConfig.grep
|
|
|
|
|
* since: v1.10
|
2024-04-01 21:34:25 +02:00
|
|
|
- type: <[RegExp]|[Array]<[RegExp]>>
|
2024-03-30 01:48:50 +01:00
|
|
|
|
|
|
|
|
See [`property: TestConfig.grep`].
|
|
|
|
|
|
|
|
|
|
## property: FullConfig.grepInvert
|
|
|
|
|
* since: v1.10
|
2024-04-01 21:34:25 +02:00
|
|
|
- type: <[null]|[RegExp]|[Array]<[RegExp]>>
|
2024-03-30 01:48:50 +01:00
|
|
|
|
|
|
|
|
See [`property: TestConfig.grepInvert`].
|
|
|
|
|
|
|
|
|
|
## property: FullConfig.maxFailures
|
|
|
|
|
* since: v1.10
|
2024-04-01 21:34:25 +02:00
|
|
|
- type: <[int]>
|
2024-03-30 01:48:50 +01:00
|
|
|
|
|
|
|
|
See [`property: TestConfig.maxFailures`].
|
|
|
|
|
|
|
|
|
|
## property: FullConfig.metadata
|
|
|
|
|
* since: v1.10
|
2024-04-01 21:34:25 +02:00
|
|
|
- type: <[Metadata]>
|
2024-03-30 01:48:50 +01:00
|
|
|
|
|
|
|
|
See [`property: TestConfig.metadata`].
|
|
|
|
|
|
|
|
|
|
## property: FullConfig.preserveOutput
|
|
|
|
|
* since: v1.10
|
2024-04-01 21:34:25 +02:00
|
|
|
- type: <[PreserveOutput]<"always"|"never"|"failures-only">>
|
2024-03-30 01:48:50 +01:00
|
|
|
|
|
|
|
|
See [`property: TestConfig.preserveOutput`].
|
|
|
|
|
|
|
|
|
|
## property: FullConfig.projects
|
|
|
|
|
* since: v1.10
|
2024-04-01 21:34:25 +02:00
|
|
|
- type: <[Array]<[FullProject]>>
|
2024-03-30 01:48:50 +01:00
|
|
|
|
2024-04-01 21:42:23 +02:00
|
|
|
List of resolved projects.
|
2024-03-30 01:48:50 +01:00
|
|
|
|
|
|
|
|
## property: FullConfig.quiet
|
|
|
|
|
* since: v1.10
|
2024-04-01 21:34:25 +02:00
|
|
|
- type: <[boolean]>
|
2024-03-30 01:48:50 +01:00
|
|
|
|
|
|
|
|
See [`property: TestConfig.quiet`].
|
|
|
|
|
|
|
|
|
|
## property: FullConfig.reporter
|
|
|
|
|
* since: v1.10
|
2024-04-01 21:34:25 +02:00
|
|
|
- type: <[string]|[Array]<[Object]>|[BuiltInReporter]<"list"|"dot"|"line"|"github"|"json"|"junit"|"null"|"html">>
|
2024-03-30 01:48:50 +01:00
|
|
|
- `0` <[string]> Reporter name or module or file path
|
|
|
|
|
- `1` <[Object]> An object with reporter options if any
|
|
|
|
|
|
|
|
|
|
See [`property: TestConfig.reporter`].
|
|
|
|
|
|
|
|
|
|
## property: FullConfig.reportSlowTests
|
|
|
|
|
* since: v1.10
|
2024-04-01 21:34:25 +02:00
|
|
|
- type: <[null]|[Object]>
|
2024-03-30 01:48:50 +01:00
|
|
|
- `max` <[int]> The maximum number of slow test files to report. Defaults to `5`.
|
|
|
|
|
- `threshold` <[float]> Test duration in milliseconds that is considered slow. Defaults to 15 seconds.
|
|
|
|
|
|
|
|
|
|
See [`property: TestConfig.reportSlowTests`].
|
|
|
|
|
|
2024-04-01 20:08:24 +02:00
|
|
|
## property: FullConfig.rootDir
|
|
|
|
|
* since: v1.20
|
|
|
|
|
- type: <[string]>
|
|
|
|
|
|
2024-03-30 01:48:50 +01:00
|
|
|
## property: FullConfig.shard
|
|
|
|
|
* since: v1.10
|
2024-04-01 21:34:25 +02:00
|
|
|
- type: <[null]|[Object]>
|
2024-03-30 01:48:50 +01:00
|
|
|
- `total` <[int]> The total number of shards.
|
|
|
|
|
- `current` <[int]> The index of the shard to execute, one-based.
|
|
|
|
|
|
|
|
|
|
See [`property: TestConfig.shard`].
|
|
|
|
|
|
|
|
|
|
## property: FullConfig.updateSnapshots
|
|
|
|
|
* since: v1.10
|
2024-04-01 21:34:25 +02:00
|
|
|
- type: <[UpdateSnapshots]<"all"|"none"|"missing">>
|
2024-03-30 01:48:50 +01:00
|
|
|
|
|
|
|
|
See [`property: TestConfig.updateSnapshots`].
|
|
|
|
|
|
2024-04-01 20:08:24 +02:00
|
|
|
## property: FullConfig.version
|
|
|
|
|
* since: v1.20
|
|
|
|
|
- type: <[string]>
|
|
|
|
|
|
|
|
|
|
Playwright version.
|
|
|
|
|
|
2024-03-30 01:48:50 +01:00
|
|
|
## property: FullConfig.webServer
|
|
|
|
|
* since: v1.10
|
2024-04-01 21:34:25 +02:00
|
|
|
- type: <[null]|[Object]>
|
2024-03-30 01:48:50 +01:00
|
|
|
|
|
|
|
|
See [`property: TestConfig.webServer`].
|
|
|
|
|
|
|
|
|
|
## property: FullConfig.workers
|
|
|
|
|
* since: v1.10
|
2024-04-01 21:34:25 +02:00
|
|
|
- type: <[int]>
|
2024-03-30 01:48:50 +01:00
|
|
|
|
|
|
|
|
See [`property: TestConfig.workers`].
|