How can I mark the test status in Codeception?

How can I mark the test status in Codeception?

Hi Macy,

You can set the test status in Codeception using the following commands in your script:

driver.executeScript("lambda-status=passed");

or

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