How to mark a test case as fail on LambdaTest with xUnit framework?

How to mark a test case as fail on LambdaTest with xUnit framework?

Hi Charity!

To mark a test case as fail with xUnit framework, you need to use the below LambdaTest hooks in your test scripts.

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

For more details, please refer to our below documentation.