v20.0.0
Breaking changes:
-
The
onAfterStep
hook, part of the API for adding attachments from the Node environment, is no longer invoked after scenario hooks, IE.After(..)
andBefore(..)
.- It now more closely mimic the behavior of
AfterStep(..)
, which it was supposed to.
- It now more closely mimic the behavior of
-
The above-mentioned
onAfterStep
hook, is no longer invoked with awasLastStep
property.- This is now easily determined by using other properties, as reflected in the docs.
-
Messages reports are no longer implicitly enabled and written to disk when enabling JSON or HTML reports, fixes #1140.
Other changes:
-
Emit meta information (lib version, node version, os, ci) in meesage reports, fixes #1133.
- This is in line with how cucumber-js behaves.
-
The above-mentioned
onAfterStep
hook, is now invoked with a bunch of relevant data, relates to #1089. -
Add a tool for merging messages reports, fixes #1137.
- This is first and foremost created to support merging related reports obtained through parallelization using Cypress Cloud.