FullConfig
Resolved configuration which is accessible via testInfo.config and is passed to the test reporters. To see the format of Playwright configuration file, please see TestConfig instead.
Properties
configFile
Added in: v1.20Path to the configuration file used to run the tests. The value is an empty string if no config file was used.
Usage
fullConfig.configFile
Type
forbidOnly
Added in: v1.10Usage
fullConfig.forbidOnly
Type
fullyParallel
Added in: v1.20Usage
fullConfig.fullyParallel
Type
globalSetup
Added in: v1.10Usage
fullConfig.globalSetup
Type
globalTeardown
Added in: v1.10See testConfig.globalTeardown.
Usage
fullConfig.globalTeardown
Type
globalTimeout
Added in: v1.10Usage
fullConfig.globalTimeout
Type
grep
Added in: v1.10See testConfig.grep.
Usage
fullConfig.grep
Type
grepInvert
Added in: v1.10Usage
fullConfig.grepInvert
Type
maxFailures
Added in: v1.10Usage
fullConfig.maxFailures
Type
metadata
Added in: v1.10See testConfig.metadata.
Usage
fullConfig.metadata
Type
preserveOutput
Added in: v1.10See testConfig.preserveOutput.
Usage
fullConfig.preserveOutput
Type
- "always" | "never" | "failures-only"
projects
Added in: v1.10List of resolved projects.
Usage
fullConfig.projects
Type
quiet
Added in: v1.10See testConfig.quiet.
Usage
fullConfig.quiet
Type
reportSlowTests
Added in: v1.10See testConfig.reportSlowTests.
Usage
fullConfig.reportSlowTests
Type
reporter
Added in: v1.10See testConfig.reporter.
Usage
fullConfig.reporter
Type
rootDir
Added in: v1.20Base directory for all relative paths used in the reporters.
Usage
fullConfig.rootDir
Type
shard
Added in: v1.10See testConfig.shard.
Usage
fullConfig.shard
Type
updateSnapshots
Added in: v1.10See testConfig.updateSnapshots.
Usage
fullConfig.updateSnapshots
Type
- "all" | "none" | "missing"
version
Added in: v1.20Playwright version.
Usage
fullConfig.version
Type
webServer
Added in: v1.10See testConfig.webServer.
Usage
fullConfig.webServer
Type
workers
Added in: v1.10See testConfig.workers.
Usage
fullConfig.workers
Type