getSaveNewTests method

Class: ConfigurationPlatform: ProtractorLanguage: JavaScript SDK:

Use this method to retrieve whether or not 'new' tests are saved to the baseline by default.

Syntax

let configval = config.getSaveNewTests();
config.saveNewTests = configval;
configval = config.saveNewTests;

Note that this feature is available as both a method and a property.

Parameters

This method does not take any parameters.

Return value

Type: boolean