How to mark test passed/failed on LambdaTest with JS-Protractor?

How to mark test passed/failed on LambdaTest with JS-Protractor?

Hello Emma-crepeau,

You can mark whether the test is passed or failed by adding lambdaTest status hooks below:

For Passed Test:

browser.executeScript(""lambda-status=passed");

For Failed Test:

driver.executeScript('lambda-status=failed');