How do I mark my test passed/failed on the LambdaTest platform?

How do I mark my test passed/failed on the LambdaTest platform ?

Hi Macy!

To mark a test passed/failed on the LambdaTest platform, you need to use LambdaTest hooks.

For example, shown below is the command for marking a test case as passed on LambdaTest.

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