You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cucumber After() hooks have always executed in reverse order for us. We just upgraded from 10.9.0 to 11.0.1 and we are noticing that After() hooks seem to be executing now in the order in which they were defined inside of hooks.
✅ What did you expect to see?
I was expecting to see After() hooks execution in reverse order.
📦 Which tool/library version are you using?
Node 22.11.0 and @cucumber/cucumber 11.0.1
🔬 How could we reproduce it?
No response
📚 Any additional context?
Here's an example of some AfterAll() hooks defined in my code:
Now here's an example of my logger, showing the execution order:
With 10.9.0, these do print out in reverse order inside the log file.
The text was updated successfully, but these errors were encountered:
👓 What did you see?
Cucumber After() hooks have always executed in reverse order for us. We just upgraded from 10.9.0 to 11.0.1 and we are noticing that After() hooks seem to be executing now in the order in which they were defined inside of hooks.
✅ What did you expect to see?
I was expecting to see After() hooks execution in reverse order.
📦 Which tool/library version are you using?
Node 22.11.0 and @cucumber/cucumber 11.0.1
🔬 How could we reproduce it?
No response
📚 Any additional context?
Here's an example of some AfterAll() hooks defined in my code:
Now here's an example of my logger, showing the execution order:
With 10.9.0, these do print out in reverse order inside the log file.
The text was updated successfully, but these errors were encountered: