Skip to content

feat: support Cypress 11 #192

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@frsource/cypress-plugin-visual-regression-diff": "portal:..",
"@vue/cli-plugin-e2e-cypress": "5.0.8",
"@vue/cli-service": "5.0.8",
"cypress": "10.11.0",
"typescript": "^4.8.4"
"cypress": "11.1.0",
"typescript": "4.8.4"
}
}
16 changes: 8 additions & 8 deletions example/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2342,9 +2342,9 @@ __metadata:
languageName: node
linkType: hard

"cypress@npm:10.11.0":
version: 10.11.0
resolution: "cypress@npm:10.11.0"
"cypress@npm:11.1.0":
version: 11.1.0
resolution: "cypress@npm:11.1.0"
dependencies:
"@cypress/request": ^2.88.10
"@cypress/xvfb": ^1.2.4
Expand Down Expand Up @@ -2390,7 +2390,7 @@ __metadata:
yauzl: ^2.10.0
bin:
cypress: bin/cypress
checksum: 938cc6a20f7eeace5c8e850d234904ee1651cbb36d94666fe600cf17ce964e73d4f7d8d944aab677491702a57364e6aceeb4fe8bcbd96147ff5e2b575a956fb2
checksum: ee0097778cf3cdf3854325cabf19a60a7486d46ae70082034c05b22b203f21ff85a4871c08dadc6641be649a64c739a443dd3f2d6a5ab112fc9ead703e1f1be3
languageName: node
linkType: hard

Expand Down Expand Up @@ -2889,8 +2889,8 @@ __metadata:
"@frsource/cypress-plugin-visual-regression-diff": "portal:.."
"@vue/cli-plugin-e2e-cypress": 5.0.8
"@vue/cli-service": 5.0.8
cypress: 10.11.0
typescript: ^4.8.4
cypress: 11.1.0
typescript: 4.8.4
vue: 3.2.45
languageName: unknown
linkType: soft
Expand Down Expand Up @@ -7058,7 +7058,7 @@ __metadata:
languageName: node
linkType: hard

"typescript@npm:^4.8.4":
"typescript@npm:4.8.4":
version: 4.8.4
resolution: "typescript@npm:4.8.4"
bin:
Expand All @@ -7068,7 +7068,7 @@ __metadata:
languageName: node
linkType: hard

"typescript@patch:typescript@^4.8.4#~builtin<compat/typescript>":
"typescript@patch:[email protected]#~builtin<compat/typescript>":
version: 4.8.4
resolution: "typescript@patch:typescript@npm%3A4.8.4#~builtin<compat/typescript>::version=4.8.4&hash=701156"
bin:
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@
"@typescript-eslint/eslint-plugin": "5.43.0",
"@typescript-eslint/parser": "5.43.0",
"@vitest/coverage-c8": "0.25.2",
"cpy-cli": "^4.2.0",
"cypress": "10.11.0",
"cpy-cli": "4.2.0",
"cypress": "11.2.0",
"del-cli": "5.0.0",
"eslint": "8.28.0",
"eslint-config-prettier": "8.5.0",
Expand Down
1 change: 1 addition & 0 deletions src/support.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { LINK_PREFIX, OVERLAY_CLASS, TASK } from "./constants";

/* c8 ignore start */
function queueClear() {
(cy as unknown as { queue: { reset: () => void } }).queue.reset?.();
(cy as unknown as { queue: { clear: () => void } }).queue.clear();
(cy as unknown as { state: (k: string, value: unknown) => void }).state(
"index",
Expand Down
14 changes: 7 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1480,8 +1480,8 @@ __metadata:
"@typescript-eslint/eslint-plugin": 5.43.0
"@typescript-eslint/parser": 5.43.0
"@vitest/coverage-c8": 0.25.2
cpy-cli: ^4.2.0
cypress: 10.11.0
cpy-cli: 4.2.0
cypress: 11.2.0
del-cli: 5.0.0
eslint: 8.28.0
eslint-config-prettier: 8.5.0
Expand Down Expand Up @@ -3973,7 +3973,7 @@ __metadata:
languageName: node
linkType: hard

"cpy-cli@npm:^4.2.0":
"cpy-cli@npm:4.2.0":
version: 4.2.0
resolution: "cpy-cli@npm:4.2.0"
dependencies:
Expand Down Expand Up @@ -4139,9 +4139,9 @@ __metadata:
languageName: node
linkType: hard

"cypress@npm:10.11.0":
version: 10.11.0
resolution: "cypress@npm:10.11.0"
"cypress@npm:11.2.0":
version: 11.2.0
resolution: "cypress@npm:11.2.0"
dependencies:
"@cypress/request": ^2.88.10
"@cypress/xvfb": ^1.2.4
Expand Down Expand Up @@ -4187,7 +4187,7 @@ __metadata:
yauzl: ^2.10.0
bin:
cypress: bin/cypress
checksum: 938cc6a20f7eeace5c8e850d234904ee1651cbb36d94666fe600cf17ce964e73d4f7d8d944aab677491702a57364e6aceeb4fe8bcbd96147ff5e2b575a956fb2
checksum: e13649fb4b62a3c9dff7cc571f4e01dba009d8179b05c4f885c5ceb4ed76b78a7323fec491d992da35527708b54e596bfc9edb1d702f788317889f794d8c1e76
languageName: node
linkType: hard

Expand Down