isNew property

Class: TestResultsPlainPlatform: PlaywrightLanguage: JavaScript SDK:

Use this property to retrieve whether this is a new test or not (i.e. no existing baseline was found for this test).

Syntax

value = result.isNew;

Type:boolean

Use this property to retrieve true if this is a new test, false otherwise.