How to mark test passed/failed on LambdaTest using Pytest?

Can I mark a test passed or failed on LT using Pytest?

Hi Richard,

You need to use LambdaTest hooks for marking a test as Passed or Failed as shown below:

driver.get('https://lambdatest.github.io/sample-todo-app/')
        browser.execute_script("lambda-status=passed")