getMismatches method

Class: TestResultsPlatform: ProtractorLanguage: JavaScript SDK:

Use this method to retrieve the number of test steps where the checkpoint image did not match the baseline image. This includes new steps (i.e. steps where a baseline corresponding to the checkpoint was not found). It does not include missing steps. You can obtain this value using the getMissing method.

Syntax

let value = result.getMismatches();
value = result.mismatches;

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