techconative / Restel

Data-driven API testing framework, where you can define your APIs and scenarios and execute it without much code. A open source tool from http://techconative.com/
Apache License 2.0
1 stars 2 forks source link

Logging a step should also include status #39

Open kannangce opened 2 years ago

kannangce commented 2 years ago

Problem:

When we're calling Allure.step, we're calling it without second param, which is considered success by default even if the step fails. Example, the below screenshot.

Screenshot 2022-05-06 at 10 50 13 AM

Source of issue, Screenshot 2022-05-06 at 10 50 42 AM

Solution: We have to call the step method with the status of the step. Not just for the the above allure logging. This need to be taken care in all the places where we log the allure status.