diff --git a/example/package.json b/example/package.json index f829b956..f4652ff3 100644 --- a/example/package.json +++ b/example/package.json @@ -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" } } diff --git a/example/yarn.lock b/example/yarn.lock index 34567821..e1cd1031 100644 --- a/example/yarn.lock +++ b/example/yarn.lock @@ -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 @@ -2390,7 +2390,7 @@ __metadata: yauzl: ^2.10.0 bin: cypress: bin/cypress - checksum: 938cc6a20f7eeace5c8e850d234904ee1651cbb36d94666fe600cf17ce964e73d4f7d8d944aab677491702a57364e6aceeb4fe8bcbd96147ff5e2b575a956fb2 + checksum: ee0097778cf3cdf3854325cabf19a60a7486d46ae70082034c05b22b203f21ff85a4871c08dadc6641be649a64c739a443dd3f2d6a5ab112fc9ead703e1f1be3 languageName: node linkType: hard @@ -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 @@ -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: @@ -7068,7 +7068,7 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@^4.8.4#~builtin": +"typescript@patch:typescript@4.8.4#~builtin": version: 4.8.4 resolution: "typescript@patch:typescript@npm%3A4.8.4#~builtin::version=4.8.4&hash=701156" bin: diff --git a/package.json b/package.json index de100cb8..23e0e82c 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/support.ts b/src/support.ts index 32319662..49d0994a 100644 --- a/src/support.ts +++ b/src/support.ts @@ -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", diff --git a/yarn.lock b/yarn.lock index ac41fad1..34d7c208 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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 @@ -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: @@ -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 @@ -4187,7 +4187,7 @@ __metadata: yauzl: ^2.10.0 bin: cypress: bin/cypress - checksum: 938cc6a20f7eeace5c8e850d234904ee1651cbb36d94666fe600cf17ce964e73d4f7d8d944aab677491702a57364e6aceeb4fe8bcbd96147ff5e2b575a956fb2 + checksum: e13649fb4b62a3c9dff7cc571f4e01dba009d8179b05c4f885c5ceb4ed76b78a7323fec491d992da35527708b54e596bfc9edb1d702f788317889f794d8c1e76 languageName: node linkType: hard