Skip to content

Releases: badeball/cypress-cucumber-preprocessor

v13.0.3

21 Oct 21:02
Compare
Choose a tag to compare
  • Performance improvements to diagnostics.

v13.0.2

22 Sep 15:34
Compare
Choose a tag to compare
  • Correctly assign testState.pickleStep, fixes #836.

v13.0.1

20 Sep 19:44
Compare
Choose a tag to compare
  • Support absolute paths in stepDefinitions, fixes #832.

v13.0.0

17 Sep 12:45
Compare
Choose a tag to compare
  • Add a very rudimentary way of diagnosing validity of steps, IE. whether each step is matching one, and only one, step definition, fixes #754.

  • Remove And and But from the public API, fixes #821.

  • Output snippet suggestions upon missing step definition, fixes #799.

v12.2.0

04 Sep 18:58
Compare
Choose a tag to compare
  • Total execution time is correctly shown in HTML reports, fixes #813.

  • Validate inclusion of addCucumberPreprocessorPlugin() in setupNodeEvents(), fixes #820.

v12.1.0

20 Aug 13:12
Compare
Choose a tag to compare
  • Start time and execution time is shown in HTML reports, fixes #798.

  • Add current step information to window.testState, fixes #800.

v12.0.1

08 Aug 18:46
Compare
Choose a tag to compare
  • Allow overriding env using tags, fixes #792.

  • Correct some path handling on Windows, fixes #788.

  • Correct calculation of common ancestor path, even when specs are filtered, fixes #785.

v12.0.0

31 Jul 15:33
Compare
Choose a tag to compare

Breaking changes:

  • A minor change to step definitions has been introduced, affecting users of Cypress v10 or higher. When upgrading to v11.0.0 of the processor, users was instructed to remove certain prefixes from their step definitions. This is no longer required and said prefixes can be re-introduced when upgrading to v12.0.0 of the preprocessor. In other words, if your configuration looks like this
{
  "stepDefinitions": [
    "[filepath].{js,ts}",
    "cypress/support/step_definitions/**/*.{js,ts}"
  ]
}

.. then it should now look like this (notice the addition of cypress/e2e)

{
  "stepDefinitions": [
    "cypress/e2e/[filepath].{js,ts}",
    "cypress/support/step_definitions/**/*.{js,ts}"
  ]
}

Note: Step definitions doesn't necessarily have to be put in cypress/e2e and alongside your feature files. They can be contained in an entirely separate directory, if desired. This fixes #748.

Other changes:

  • Updated all @cucumber/* dependencies.

  • Added native support for HTML reports using @cucumber/html-formatter, fixes #780.

  • Correct an issue with non-array stepDefinitions, fixes #781.

v11.5.1

15 Jul 08:46
Compare
Choose a tag to compare
  • Expose member getStepDefinitionPatterns.

v11.5.0

13 Jul 18:35
Compare
Choose a tag to compare
  • Improve error message upon missing step definition, fixes #763.