English · Node.js
Appearance
English · Node.js
Appearance
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.
Type
Array<string>See testProject.grep.
Type
RegExp | Array<RegExp>Type
null | RegExp | Array<RegExp>See testProject.ignoreSnapshots.
Type
booleanSee testProject.metadata.
Type
MetadataSee testProject.name.
Type
stringType
stringType
intSee testProject.retries. When retries are configured as a list, this is the largest count in the list.
Type
intType
stringSee testProject.teardown.
Type
stringSee testProject.testDir.
Type
stringType
string | RegExp | Array<string | RegExp>Type
string | RegExp | Array<string | RegExp>See testProject.timeout.
Type
intSee testProject.use.
Type
FixturesThe 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>