Skip to content

v20.0.0

Compare
Choose a tag to compare
@badeball badeball released this 19 Dec 11:21
· 57 commits to master since this release

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(..) and Before(..).

    • It now more closely mimic the behavior of AfterStep(..), which it was supposed to.
  • The above-mentioned onAfterStep hook, is no longer invoked with a wasLastStep 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.