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

How can I mark a test case as pass on LambdaTest with Serenity?

Hello Macy,

You need to use the hooks as shown below:

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