Skip to content

FullProject ​

Added in: v1.10

Runtime representation of the test project configuration. It is accessible in the tests via testInfo.project and workerInfo.project and is passed to the test reporters. To see the format of the project in the Playwright configuration file please see TestProject instead.

Properties ​

fullProject.dependencies ​

Added in: v1.31

See testProject.dependencies.

Type

  • Array<string>

fullProject.grep ​

Added in: v1.10

See testProject.grep.

Type

  • RegExp | Array<RegExp>

fullProject.grepInvert ​

Added in: v1.10

See testProject.grepInvert.

Type

  • null | RegExp | Array<RegExp>

fullProject.ignoreSnapshots ​

Added in: v1.59

See testProject.ignoreSnapshots.

Type

  • boolean

fullProject.metadata ​

Added in: v1.10

See testProject.metadata.

Type

  • Metadata

fullProject.name ​

Added in: v1.10

See testProject.name.

Type

  • string

fullProject.outputDir ​

Added in: v1.10

See testProject.outputDir.

Type

  • string

fullProject.repeatEach ​

Added in: v1.10

See testProject.repeatEach.

Type

  • int

fullProject.retries ​

Added in: v1.10

See testProject.retries. When retries are configured as a list, this is the largest count in the list.

Type

  • int

fullProject.snapshotDir ​

Added in: v1.10

See testProject.snapshotDir.

Type

  • string

fullProject.teardown ​

Added in: v1.34

See testProject.teardown.

Type

  • string

fullProject.testDir ​

Added in: v1.10

See testProject.testDir.

Type

  • string

fullProject.testIgnore ​

Added in: v1.10

See testProject.testIgnore.

Type

  • string | RegExp | Array<string | RegExp>

fullProject.testMatch ​

Added in: v1.10

See testProject.testMatch.

Type

  • string | RegExp | Array<string | RegExp>

fullProject.timeout ​

Added in: v1.10

See testProject.timeout.

Type

  • int

fullProject.use ​

Added in: v1.10

See testProject.use.

Type

  • Fixtures

fullProject.webServer ​

Added in: v1.66

The servers configured in testProject.webServer, normalized to an array. Does not include top-level servers. This property is an empty array in merged reports because server configuration is not serialized.

Type

  • Array<Object>

Released under the Apache 2.0 License.