Skip to main content

FullProject

测试项目配置的运行时表示。它可在测试中通过 testInfo.projectworkerInfo.project 访问,并传递给测试报告器。要查看 Playwright 配置文件中的项目格式,请参阅 TestProject

¥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

dependencies

Added in: v1.31 fullProject.dependencies

参见 testProject.dependencies

¥See testProject.dependencies.

用法

¥Usage

fullProject.dependencies

类型

¥Type


grep

Added in: v1.10 fullProject.grep

参见 testProject.grep

¥See testProject.grep.

用法

¥Usage

fullProject.grep

类型

¥Type


grepInvert

Added in: v1.10 fullProject.grepInvert

参见 testProject.grepInvert

¥See testProject.grepInvert.

用法

¥Usage

fullProject.grepInvert

类型

¥Type


metadata

Added in: v1.10 fullProject.metadata

参见 testProject.metadata

¥See testProject.metadata.

用法

¥Usage

fullProject.metadata

类型

¥Type


name

Added in: v1.10 fullProject.name

参见 testProject.name

¥See testProject.name.

用法

¥Usage

fullProject.name

类型

¥Type


outputDir

Added in: v1.10 fullProject.outputDir

参见 testProject.outputDir

¥See testProject.outputDir.

用法

¥Usage

fullProject.outputDir

类型

¥Type


repeatEach

Added in: v1.10 fullProject.repeatEach

参见 testProject.repeatEach

¥See testProject.repeatEach.

用法

¥Usage

fullProject.repeatEach

类型

¥Type


retries

Added in: v1.10 fullProject.retries

参见 testProject.retries

¥See testProject.retries.

用法

¥Usage

fullProject.retries

类型

¥Type


snapshotDir

Added in: v1.10 fullProject.snapshotDir

参见 testProject.snapshotDir

¥See testProject.snapshotDir.

用法

¥Usage

fullProject.snapshotDir

类型

¥Type


teardown

Added in: v1.34 fullProject.teardown

参见 testProject.teardown

¥See testProject.teardown.

用法

¥Usage

fullProject.teardown

类型

¥Type


testDir

Added in: v1.10 fullProject.testDir

参见 testProject.testDir

¥See testProject.testDir.

用法

¥Usage

fullProject.testDir

类型

¥Type


testIgnore

Added in: v1.10 fullProject.testIgnore

参见 testProject.testIgnore

¥See testProject.testIgnore.

用法

¥Usage

fullProject.testIgnore

类型

¥Type


testMatch

Added in: v1.10 fullProject.testMatch

参见 testProject.testMatch

¥See testProject.testMatch.

用法

¥Usage

fullProject.testMatch

类型

¥Type


timeout

Added in: v1.10 fullProject.timeout

参见 testProject.timeout

¥See testProject.timeout.

用法

¥Usage

fullProject.timeout

类型

¥Type


use

Added in: v1.10 fullProject.use

参见 testProject.use

¥See testProject.use.

用法

¥Usage

fullProject.use

类型

¥Type