Skip to content

Releases: badeball/cypress-cucumber-preprocessor

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.

v18.0.5

30 Aug 15:31
Compare
Choose a tag to compare
  • Add support for Cypress v13, fixes #1084.

v18.0.4

10 Aug 08:49
Compare
Choose a tag to compare
  • Update dependency on esbuild, fixes #1068.

v18.0.3

06 Aug 17:14
Compare
Choose a tag to compare
  • Allow (testing) type-specific configuration of stepDefinitions, fixes #1065.

v18.0.2

28 Jul 12:32
Compare
Choose a tag to compare
  • Add support for skipped steps, fixes #1053.

  • Handle use of this.skip() correctly in reports, fixes #1054.

  • Export type member IPreprocessorConfiguration, fixes / supersedes #1057.

  • Fix asynchronous scheduling of nested step, fixes #1063.

v18.0.1

15 Jun 07:52
Compare
Choose a tag to compare
  • Give each TestStep (from @cucumber/messages) a unique ID, fixes #1034.

v18.0.0

12 Jun 14:46
Compare
Choose a tag to compare

Breaking changes:

  • TypeScript users that have previously been unable to upgrade moduleResolution to node16, and use the paths property as a workaround, must update their paths.

    From this

    {
      "compilerOptions": {
        "paths": {
          "@badeball/cypress-cucumber-preprocessor/*": ["./node_modules/@badeball/cypress-cucumber-preprocessor/dist/bundler-utils/*"]
        }
      }
    }
    

    To this

    {
      "compilerOptions": {
        "paths": {
          "@badeball/cypress-cucumber-preprocessor/*": ["./node_modules/@badeball/cypress-cucumber-preprocessor/dist/subpath-entrypoints/*"]
        }
      }
    }
    

Other changes: