getIsNew method

Class: TestResultsPlatform: NightwatchLanguage: JavaScript SDK:

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

Syntax

let value = result.getIsNew();

Parameters

This method does not take any parameters.

Return value

Type: boolean
Use this method to retrieve true if this is a new test, false otherwise.