Skip to content

Logging a step should also include status #39

@kannangce

Description

@kannangce

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions