How to mark a test case as fail on LambdaTest in Geb framework?

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

Hello Tim,

You can use this hook to mark test fail on LambdaTest in Geb framework:

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