Skip to content

Commit 7bd1a24

Browse files
authored
feat: support Cypress 11 (#192)
closes #187
1 parent 131c772 commit 7bd1a24

File tree

5 files changed

+20
-19
lines changed

5 files changed

+20
-19
lines changed

example/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"@frsource/cypress-plugin-visual-regression-diff": "portal:..",
2020
"@vue/cli-plugin-e2e-cypress": "5.0.8",
2121
"@vue/cli-service": "5.0.8",
22-
"cypress": "10.11.0",
23-
"typescript": "^4.8.4"
22+
"cypress": "11.1.0",
23+
"typescript": "4.8.4"
2424
}
2525
}

example/yarn.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2342,9 +2342,9 @@ __metadata:
23422342
languageName: node
23432343
linkType: hard
23442344

2345-
"cypress@npm:10.11.0":
2346-
version: 10.11.0
2347-
resolution: "cypress@npm:10.11.0"
2345+
"cypress@npm:11.1.0":
2346+
version: 11.1.0
2347+
resolution: "cypress@npm:11.1.0"
23482348
dependencies:
23492349
"@cypress/request": ^2.88.10
23502350
"@cypress/xvfb": ^1.2.4
@@ -2390,7 +2390,7 @@ __metadata:
23902390
yauzl: ^2.10.0
23912391
bin:
23922392
cypress: bin/cypress
2393-
checksum: 938cc6a20f7eeace5c8e850d234904ee1651cbb36d94666fe600cf17ce964e73d4f7d8d944aab677491702a57364e6aceeb4fe8bcbd96147ff5e2b575a956fb2
2393+
checksum: ee0097778cf3cdf3854325cabf19a60a7486d46ae70082034c05b22b203f21ff85a4871c08dadc6641be649a64c739a443dd3f2d6a5ab112fc9ead703e1f1be3
23942394
languageName: node
23952395
linkType: hard
23962396

@@ -2889,8 +2889,8 @@ __metadata:
28892889
"@frsource/cypress-plugin-visual-regression-diff": "portal:.."
28902890
"@vue/cli-plugin-e2e-cypress": 5.0.8
28912891
"@vue/cli-service": 5.0.8
2892-
cypress: 10.11.0
2893-
typescript: ^4.8.4
2892+
cypress: 11.1.0
2893+
typescript: 4.8.4
28942894
vue: 3.2.45
28952895
languageName: unknown
28962896
linkType: soft
@@ -7058,7 +7058,7 @@ __metadata:
70587058
languageName: node
70597059
linkType: hard
70607060

7061-
"typescript@npm:^4.8.4":
7061+
"typescript@npm:4.8.4":
70627062
version: 4.8.4
70637063
resolution: "typescript@npm:4.8.4"
70647064
bin:
@@ -7068,7 +7068,7 @@ __metadata:
70687068
languageName: node
70697069
linkType: hard
70707070

7071-
"typescript@patch:typescript@^4.8.4#~builtin<compat/typescript>":
7071+
"typescript@patch:[email protected]#~builtin<compat/typescript>":
70727072
version: 4.8.4
70737073
resolution: "typescript@patch:typescript@npm%3A4.8.4#~builtin<compat/typescript>::version=4.8.4&hash=701156"
70747074
bin:

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@
9090
"@typescript-eslint/eslint-plugin": "5.43.0",
9191
"@typescript-eslint/parser": "5.43.0",
9292
"@vitest/coverage-c8": "0.25.2",
93-
"cpy-cli": "^4.2.0",
94-
"cypress": "10.11.0",
93+
"cpy-cli": "4.2.0",
94+
"cypress": "11.2.0",
9595
"del-cli": "5.0.0",
9696
"eslint": "8.28.0",
9797
"eslint-config-prettier": "8.5.0",

src/support.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { LINK_PREFIX, OVERLAY_CLASS, TASK } from "./constants";
44

55
/* c8 ignore start */
66
function queueClear() {
7+
(cy as unknown as { queue: { reset: () => void } }).queue.reset?.();
78
(cy as unknown as { queue: { clear: () => void } }).queue.clear();
89
(cy as unknown as { state: (k: string, value: unknown) => void }).state(
910
"index",

yarn.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1480,8 +1480,8 @@ __metadata:
14801480
"@typescript-eslint/eslint-plugin": 5.43.0
14811481
"@typescript-eslint/parser": 5.43.0
14821482
"@vitest/coverage-c8": 0.25.2
1483-
cpy-cli: ^4.2.0
1484-
cypress: 10.11.0
1483+
cpy-cli: 4.2.0
1484+
cypress: 11.2.0
14851485
del-cli: 5.0.0
14861486
eslint: 8.28.0
14871487
eslint-config-prettier: 8.5.0
@@ -3973,7 +3973,7 @@ __metadata:
39733973
languageName: node
39743974
linkType: hard
39753975

3976-
"cpy-cli@npm:^4.2.0":
3976+
"cpy-cli@npm:4.2.0":
39773977
version: 4.2.0
39783978
resolution: "cpy-cli@npm:4.2.0"
39793979
dependencies:
@@ -4139,9 +4139,9 @@ __metadata:
41394139
languageName: node
41404140
linkType: hard
41414141

4142-
"cypress@npm:10.11.0":
4143-
version: 10.11.0
4144-
resolution: "cypress@npm:10.11.0"
4142+
"cypress@npm:11.2.0":
4143+
version: 11.2.0
4144+
resolution: "cypress@npm:11.2.0"
41454145
dependencies:
41464146
"@cypress/request": ^2.88.10
41474147
"@cypress/xvfb": ^1.2.4
@@ -4187,7 +4187,7 @@ __metadata:
41874187
yauzl: ^2.10.0
41884188
bin:
41894189
cypress: bin/cypress
4190-
checksum: 938cc6a20f7eeace5c8e850d234904ee1651cbb36d94666fe600cf17ce964e73d4f7d8d944aab677491702a57364e6aceeb4fe8bcbd96147ff5e2b575a956fb2
4190+
checksum: e13649fb4b62a3c9dff7cc571f4e01dba009d8179b05c4f885c5ceb4ed76b78a7323fec491d992da35527708b54e596bfc9edb1d702f788317889f794d8c1e76
41914191
languageName: node
41924192
linkType: hard
41934193

0 commit comments

Comments
 (0)