How to mark a test passed/failed on LambdaTest?

How to mark a test passed/failed on LambdaTest?

Hi Richard!

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 fail on LambdaTest.

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