Skip to content

runAfterScenarioHooks invoke twice when step failed that is not the last step #560

@Milk-Tang

Description

@Milk-Tang

👓 What did you see?

i run scenario which has two steps with v0.12.6, when the first step failed, there invoke the AfterScenarioHooks, and then set the remaining steps skipped, there also invoke the AfterScenarioHooks.
I want to know if this meets expectations

✅ What did you expect to see?

i want the AfterScenarioHooks func just invoke once in a scenario

📦 Which tool/library version are you using?

v0.12.6

and i find the condition of invoke the AfterScenarioHooks here

🔬 How could we reproduce it?

📚 Any additional context?


This text was originally generated from a template, then edited by hand. You can modify the template here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions