Skip to content

Commit 328ffbe

Browse files
committed
Add support for Cypress v15
This fixes #1312 [1]. [1] #1312
1 parent 74ecd94 commit 328ffbe

File tree

4 files changed

+18
-4
lines changed

4 files changed

+18
-4
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## Unreleased
6+
7+
Breaking changes:
8+
9+
- Dropped support for Cypress v11.
10+
11+
Other changes:
12+
13+
- Added support for Cypress v15, fixes [#1312](https://github.com/badeball/cypress-cucumber-preprocessor/issues/1312).
14+
515
## v22.2.0
616

717
- Add TypeScript support for custom world in hooks, fixes [#1304](https://github.com/badeball/cypress-cucumber-preprocessor/issues/1304).

examples/webpack-ts/cypress.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { defineConfig } from "cypress";
2-
import * as webpack from "@cypress/webpack-preprocessor";
2+
import webpack from "@cypress/webpack-preprocessor";
33
import { addCucumberPreprocessorPlugin } from "@badeball/cypress-cucumber-preprocessor";
44

55
async function setupNodeEvents(

examples/webpack-ts/tsconfig.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
{}
1+
{
2+
"compilerOptions": {
3+
"esModuleInterop": true
4+
}
5+
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
"@typescript-eslint/eslint-plugin": "^8.0.0",
108108
"@typescript-eslint/parser": "^8.0.0",
109109
"ast-types": "^0.15.2",
110-
"cypress": "^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0",
110+
"cypress": "^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0",
111111
"esbuild": "^0.23.1",
112112
"eslint": "^9.8.0",
113113
"genversion": "^3.2.0",
@@ -127,7 +127,7 @@
127127
"webpack": "^5.93.0"
128128
},
129129
"peerDependencies": {
130-
"cypress": "^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0"
130+
"cypress": "^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0"
131131
},
132132
"engines": {
133133
"node": ">=18.0.0"

0 commit comments

Comments
 (0)