You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+28Lines changed: 28 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,34 @@ All notable changes to this project will be documented in this file.
4
4
5
5
## Unreleased
6
6
7
+
Breaking changes:
8
+
9
+
- 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](https://github.com/badeball/cypress-cucumber-preprocessor/releases/tag/v11.0.0) 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
10
+
11
+
```json
12
+
{
13
+
"stepDefinitions": [
14
+
"[filepath].{js,ts}",
15
+
"cypress/support/step_definitions/**/*.{js,ts}"
16
+
]
17
+
}
18
+
```
19
+
20
+
.. then it should now look like this (notice the addition of `cypress/e2e`)
21
+
22
+
```json
23
+
{
24
+
"stepDefinitions": [
25
+
"cypress/e2e/[filepath].{js,ts}",
26
+
"cypress/support/step_definitions/**/*.{js,ts}"
27
+
]
28
+
}
29
+
```
30
+
31
+
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](https://github.com/badeball/cypress-cucumber-preprocessor/issues/748).
32
+
33
+
Other changes:
34
+
7
35
- Updated all `@cucumber/*` dependencies.
8
36
9
37
- Added native support for HTML reports using `@cucumber/html-formatter`, fixes [#780](https://github.com/badeball/cypress-cucumber-preprocessor/issues/780).
0 commit comments