How to mark test passed/failed on LambdaTest with Java-Cucumber?

How to mark test passed/failed on LambdaTest with Java-Cucumber?

Hello Mark- mazay,

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

For Passed Test:

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

For Failed Test:

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