Allure report is showing a failed test step as passed, even it is showing the Test method as failed.
Code:
async function attachScreenshot(file