Releases: badeball/cypress-cucumber-preprocessor
v20.0.3
v20.0.2
v20.0.1
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.
v19.2.0
-
Add order option to all hooks, fixes #481.
-
Add a
filterSpecsMixedMode
option, fixes #1125.- This essentially reverts 0b2702b from v19.1.1 and re-introduces original behavior of discarding non-feature specs by default and introduces an option to control this behavior.
v19.1.1
v19.1.0
v19.0.1
v19.0.0
Breaking changes:
-
Run
After(..)
hooks in reversed order of definition. This is in line with how cucumber-js behaves. -
Updated all dependencies, including
@cucumber/cucumber
to v10.- String literal attachments are now base64-encoded in JSON reports, ref. cucumber/cucumber-js#2261.
Other changes:
-
Scenario hooks (
Before(..)
andAfter(..)
) are now invoked with an object containing a bunch of relevant data. This is in line with how cucumber-js behaves. -
Hooks may now be optionally named. This is in line with how cucumber-js behaves.
-
Omit outputting internal task to the command log when using
attach(..)
. -
Add an API for adding attachments from the Node environment, fixes #1089.