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

How can I mark a test case as fail on LambdaTest?

Hello Macy,

You need to use the hooks as shown below:

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