Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 22, 2025

Bumps @badeball/cypress-cucumber-preprocessor from 23.1.0 to 23.2.0.

Release notes

Sourced from @​badeball/cypress-cucumber-preprocessor's releases.

v23.2.0

  • Add a flag to turn expectation errors soft. Relates to #1313 and #1222.

    • During creation of message reports, which the JSON & HTML reports are products of, some test state is tracked by this library. This requires taking into account a myriad of edge cases, mostly related to Cypress' reload behavior. There are however likely several remaining edge cases that are unaccounted for.

      In case of #1222, the fail fast strategy adopted here appeared to mask an underlying issue. I suspect this might also be the case for #1313 and similar issues. Thus an option for erroring softly is introduced. With this option, instead of throwing fast in Cypress' event handlers, the preprocessor will emit an error message to stderr at the end of a run.

      My hope is that this will make it easier for the end-user to provide proper reproducible examples when running into these errors. Additionally, it can be useful for users whom which reports aren't strictly a necessity but do encounter such errors.

      This option can be configured similar to other options, with examples shown below.

      // package.json
      {
        "dependencies": {
          "@badeball/cypress-cucumber-preprocessor": "latest"
        },
        "cypress-cucumber-preprocessor": {
          "state": {
            "softErrors": true
          }
        }
      }
      
      // .cypress-cucumber-preprocessorrc.json
      {
        "state": {
          "softErrors": true
        }
      }
      
      $ cypress run -e stateSoftErrors=true
      
      $ env CYPRESS_stateSoftErrors=true cypress run
      
Changelog

Sourced from @​badeball/cypress-cucumber-preprocessor's changelog.

v23.2.0

  • Add a flag to turn expectation errors soft. Relates to #1313 and #1222.

    • During creation of message reports, which the JSON & HTML reports are products of, some test state is tracked by this library. This requires taking into account a myriad of edge cases, mostly related to Cypress' reload behavior. There are however likely several remaining edge cases that are unaccounted for.

      In case of #1222, the fail fast strategy adopted here appeared to mask an underlying issue. I suspect this might also be the case for #1313 and similar issues. Thus an option for erroring softly is introduced. With this option, instead of throwing fast in Cypress' event handlers, the preprocessor will emit an error message to stderr at the end of a run.

      My hope is that this will make it easier for the end-user to provide proper reproducible examples when running into these errors. Additionally, it can be useful for users whom which reports aren't strictly a necessity but do encounter such errors.

      This option can be configured similar to other options, with examples shown below.

      // package.json
      {
        "dependencies": {
          "@badeball/cypress-cucumber-preprocessor": "latest"
        },
        "cypress-cucumber-preprocessor": {
          "state": {
            "softErrors": true
          }
        }
      }
      
      // .cypress-cucumber-preprocessorrc.json
      {
        "state": {
          "softErrors": true
        }
      }
      
      $ cypress run -e stateSoftErrors=true
      
      $ env CYPRESS_stateSoftErrors=true cypress run
      
Commits
  • 39c8a7d v23.2.0
  • b9cc770 Add an option for soft errors
  • 9e4641b Use createStateError appropriately
  • 90000df Rename assertAndReturn ~> ensure
  • c1d628a Update dependency @​cucumber/gherkin to v35
  • 60112db Update dependency @​cucumber/messages to v29
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@badeball/cypress-cucumber-preprocessor](https://github.com/badeball/cypress-cucumber-preprocessor) from 23.1.0 to 23.2.0.
- [Release notes](https://github.com/badeball/cypress-cucumber-preprocessor/releases)
- [Changelog](https://github.com/badeball/cypress-cucumber-preprocessor/blob/master/CHANGELOG.md)
- [Commits](badeball/cypress-cucumber-preprocessor@v23.1.0...v23.2.0)

---
updated-dependencies:
- dependency-name: "@badeball/cypress-cucumber-preprocessor"
  dependency-version: 23.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Update dependencies label Sep 22, 2025
@github-actions github-actions bot added the 🚥 e2e End-to-end testing (flow check) label Sep 22, 2025
@douglasduteil douglasduteil merged commit 5278ae1 into master Sep 24, 2025
36 of 45 checks passed
@douglasduteil douglasduteil deleted the dependabot/npm_and_yarn/e2e/badeball/cypress-cucumber-preprocessor-23.2.0 branch September 24, 2025 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Update dependencies 🚥 e2e End-to-end testing (flow check)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant