getIsAborted method

Class: TestResultsPlatform: PlaywrightLanguage: JavaScript SDK:

Use this method to retrieve whether the test was aborted or not

Aborted means that Eyes.abort was/were called instead of close.

Syntax

let value = result.getIsAborted();

Parameters

This method does not take any parameters.

Return value

Type: boolean
Use this method to retrieve true if the test was aborted.