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

How to mark test as passed/failed on LT with Java-JUnit?

Hey Richard,

You can mark the test as passed/failed by adding lambda-status hooks below:

For Passed Test: browser.executeScript(""lambda-status=passed");

For Failed Test: driver.executeScript('lambda-status=failed');