All notable changes to this project will be documented in this file.
-
Enable
*.mjs
file extension by default, when looking for step definitions. -
Add a default export to
@badeball/cypress-cucumber-preprocessor/esbuild
. -
Add examples for CJS and ESM.
- Enable test configuration overrides, such as retrability of a single scenario, fixes #697.
Breaking changes:
- Dropped support for Cypress v6.
Other changes:
-
Added support for Cypress v10. 🎉
-
Untitled scenario outline no longer errors, fixes #731.
-
Outputting only messages is now possible, fixes #724.
-
Allow absolute output paths, partially fixes #736.
-
Output directories are automatically created recursively, partially fixes #736.
There's no changes to configuration options, but if your configuration looked like this pre-10
{
"stepDefinitions": [
"cypress/integration/[filepath].{js,ts}",
"cypress/support/step_definitions/**/*.{js,ts}"
]
}
.. then it should look like this post-10 (notice the removal of cypress/integration
)
{
"stepDefinitions": [
"[filepath].{js,ts}",
"cypress/support/step_definitions/**/*.{js,ts}"
]
}
- Allow integration folders outside of project root, fixes #719.
- Fixed an issue where internal calls to
cy.wrap
was being logged.
Breaking changes:
- Exported member
resolvePreprocessorConfiguration
now requires aprojectRoot
variable and aenvironment
variable.
Other changes:
- Configuration values can now be overriden using (Cypress-) environment variable.
- Fixed an issue with returning chainables from step definitions.
- Allow handlers to be omitted and attached explicitly, fixes #705 (undocumented, experimental and API is subject to change anytime).
- Fixed an issue where programmatically skipping a test would error.
- Fixed an issue where Before hooks would error.
- Add timestamps and durations to messages.
- Automatically skip tests marked with
@skip
.
- Correct types for
isFeature
anddoesFeatureMatch
.
- Prevent an error when
experimentalInteractiveRunEvents
is enabled.
- Fixed an issue where the preprocessor was throwing in interactive mode when JSON reports was enabled.
- Fixed an issue when running all specs.
Due to an publishing error from my side, this version is identical to v9.0.0.
This is the point where badeball's fork becomes the mainline and replaces TheBrainFamily's implementation. This implementation has been re-written from scratch in TypeScript, has more thorough test coverage and is filled with a bunch of new feature. Read more about the transfer of ownership here.
The changelog of the two ancestors can be found at