I want to mark my test pass and fail on lambdatest
While performing automation testing with Selenium on LambdaTest Selenium Grid, you may face a scenario where a test that you declared as fail in your local instance may turn out to be completed successfully at LambdaTest.
If you wish to mark a test status as fail/pass at LambdaTest then you can do so by executing the below code:
To mark test status to fail.
driver.executeScript(‘lambda-status=failed’)
To mark test status to pass.
driver.executeScript(‘lambda-status=passed’)
1 Like