Skip to content

Releases: badeball/cypress-cucumber-preprocessor

v20.0.3

26 Mar 17:11
Compare
Choose a tag to compare
  • Handle browser / page crash gracefully, fixes #1172.

v20.0.2

03 Mar 09:27
Compare
Choose a tag to compare
  • Add support for skipped / pending scenario hooks, fixes #1159.

  • Add support for suite-level test configuration, fixes #1158.

v20.0.1

10 Jan 17:42
Compare
Choose a tag to compare
  • Handle more corner cases related to reload-behavior, fixes #1142.

v20.0.0

19 Dec 11:21
Compare
Choose a tag to compare

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.

v19.2.0

26 Nov 14:06
Compare
Choose a tag to compare
  • 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

16 Nov 17:25
Compare
Choose a tag to compare
  • Mock and imitate Cypress globals during diagnostics / dry run, fixes #1120.

  • Avoid filtering non-feature specs upon tag expressions containing negating expressions, fixes #1116.

    • Non-feature specs are filtered as if containing an empty set of tags.

v19.1.0

16 Nov 16:39
Compare
Choose a tag to compare
  • Add BeforeAll(..) and AfterAll(..) hooks, fixes #758.

v19.0.1

04 Nov 20:29
Compare
Choose a tag to compare
  • Fix type members to account for scenario hook names, fixes #1113.

v19.0.0

02 Nov 14:58
Compare
Choose a tag to compare

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.

Other changes:

  • Scenario hooks (Before(..) and After(..)) 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.

v18.0.6

16 Sep 17:57
Compare
Choose a tag to compare
  • Make the compile output play nicer with ESM, relates to #1093.

  • Allow visiting unconfigured domains in before hooks, fixes #1091.