-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
📖 documentationImprovements or additions to documentationImprovements or additions to documentation
Description
Hi,
During the migration of my project from V6 to V7, I found at least 2 breaking changes in the hook "After".
Considering the code
After(async function(scenario) {
...
});
, then I detected the following 2 changes:
- V6
scenario.result.retried
> in V7 this boolean was renamed toscenario.result.willBeRetried
- V6
scenario.result.status
was previously a string, which value could be for examplefailed
> in V7 is now a number, whose all possible values can be found in objectStatus
that can be imported from cucumberconst {Status} = require('@cucumber/cucumber');
It would be nice to have a more clear overview of all changes in this objects.
Anyway thanks for this great tool!
Metadata
Metadata
Assignees
Labels
📖 documentationImprovements or additions to documentationImprovements or additions to documentation