How to mark a test case as pass on LambdaTest using NightwatchJS?
Hello Devan,
To mark a test case as a pass on LambdaTest using NightwatchJS, pass the following in the try block:
catch (Exception $e){
self::$driver->executeScript("lambda-status=passed");
}
Refer to Lambdatest Hooks: