FullProject
测试项目配置的运行时表示。它可在测试中通过 testInfo.project 和 workerInfo.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¥See testProject.dependencies.
用法
¥Usage
fullProject.dependencies
类型
¥Type
grep
Added in: v1.10参见 testProject.grep。
¥See testProject.grep.
用法
¥Usage
fullProject.grep
类型
¥Type
grepInvert
Added in: v1.10¥See testProject.grepInvert.
用法
¥Usage
fullProject.grepInvert
类型
¥Type
metadata
Added in: v1.10¥See testProject.metadata.
用法
¥Usage
fullProject.metadata
类型
¥Type
name
Added in: v1.10参见 testProject.name。
¥See testProject.name.
用法
¥Usage
fullProject.name
类型
¥Type
outputDir
Added in: v1.10¥See testProject.outputDir.
用法
¥Usage
fullProject.outputDir
类型
¥Type
repeatEach
Added in: v1.10¥See testProject.repeatEach.
用法
¥Usage
fullProject.repeatEach
类型
¥Type
retries
Added in: v1.10¥See testProject.retries.
用法
¥Usage
fullProject.retries
类型
¥Type
snapshotDir
Added in: v1.10¥See testProject.snapshotDir.
用法
¥Usage
fullProject.snapshotDir
类型
¥Type
teardown
Added in: v1.34¥See testProject.teardown.
用法
¥Usage
fullProject.teardown
类型
¥Type
testDir
Added in: v1.10¥See testProject.testDir.
用法
¥Usage
fullProject.testDir
类型
¥Type
testIgnore
Added in: v1.10¥See testProject.testIgnore.
用法
¥Usage
fullProject.testIgnore
类型
¥Type
testMatch
Added in: v1.10¥See testProject.testMatch.
用法
¥Usage
fullProject.testMatch
类型
¥Type
timeout
Added in: v1.10¥See testProject.timeout.
用法
¥Usage
fullProject.timeout
类型
¥Type
use
Added in: v1.10参见 testProject.use。
¥See testProject.use.
用法
¥Usage
fullProject.use
类型
¥Type