getMatches method

Class: TestResultsPlatform: ProtractorLanguage: JavaScript SDK:

Use this method to retrieve the number of test steps where the checkpoint image matched the baseline image.

Syntax

let value = result.getMatches();
value = result.matches;

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

Parameters

This method does not take any parameters.

Return value

Type: number