cypress 14.5.4 → 15.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/angular/README.md +1 -1
- package/angular/angular/README.md +1 -1
- package/angular/angular/dist/index.js +7 -9
- package/angular/angular/package.json +7 -7
- package/angular/dist/index.js +7 -9
- package/angular/package.json +7 -7
- package/lib/exec/spawn.js +0 -100
- package/lib/tasks/install.js +0 -2
- package/mount-utils/mount-utils/package.json +7 -2
- package/mount-utils/package.json +7 -2
- package/package.json +5 -5
- package/react/package.json +3 -3
- package/react/react/package.json +3 -3
- package/types/cypress.d.ts +25 -12
- package/vue/dist/cypress-vue.cjs.js +2 -0
- package/vue/dist/cypress-vue.esm-bundler.js +2 -0
- package/vue/package.json +3 -3
- package/vue/vue/dist/cypress-vue.cjs.js +2 -0
- package/vue/vue/dist/cypress-vue.esm-bundler.js +2 -0
- package/vue/vue/package.json +3 -3
package/angular/README.md
CHANGED
@@ -6,7 +6,7 @@ Mount Angular components in the open source [Cypress.io](https://www.cypress.io/
|
|
6
6
|
|
7
7
|
## Requirements
|
8
8
|
|
9
|
-
- Angular
|
9
|
+
- Angular 18.0.0+ (`@cypress/angular@2` supports Angular 13 - 16 and `@cypress/angular@3` supports Angular 17).
|
10
10
|
|
11
11
|
## Development
|
12
12
|
|
@@ -6,7 +6,7 @@ Mount Angular components in the open source [Cypress.io](https://www.cypress.io/
|
|
6
6
|
|
7
7
|
## Requirements
|
8
8
|
|
9
|
-
- Angular
|
9
|
+
- Angular 18.0.0+ (`@cypress/angular@2` supports Angular 13 - 16 and `@cypress/angular@3` supports Angular 17).
|
10
10
|
|
11
11
|
## Development
|
12
12
|
|
@@ -792,7 +792,7 @@ var ReplaySubject = (function (_super) {
|
|
792
792
|
}(Subject));
|
793
793
|
|
794
794
|
/**
|
795
|
-
* @license Angular
|
795
|
+
* @license Angular v18.2.13
|
796
796
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
797
797
|
* License: MIT
|
798
798
|
*/
|
@@ -897,11 +897,6 @@ function cleanup() {
|
|
897
897
|
activeFixture = null;
|
898
898
|
activeInternalSubscriptions = [];
|
899
899
|
}
|
900
|
-
// 'zone.js/testing' is not properly aliasing `it.skip` but it does provide `xit`/`xspecify`
|
901
|
-
// Written up under https://github.com/angular/angular/issues/46297 but is not seeing movement
|
902
|
-
// so we'll patch here pending a fix in that library
|
903
|
-
// @ts-ignore Ignore so that way we can bypass semantic error TS7017: Element implicitly has an 'any' type because type 'typeof globalThis' has no index signature.
|
904
|
-
globalThis.it.skip = globalThis.xit;
|
905
900
|
let CypressAngularErrorHandler = class CypressAngularErrorHandler {
|
906
901
|
handleError(error) {
|
907
902
|
throw error;
|
@@ -1130,11 +1125,14 @@ function setupComponent(config, fixture) {
|
|
1130
1125
|
}
|
1131
1126
|
});
|
1132
1127
|
getComponentOutputs(fixture.componentRef.componentType).forEach((key) => {
|
1133
|
-
var _a;
|
1128
|
+
var _a, _b;
|
1134
1129
|
const property = component[key];
|
1135
|
-
|
1130
|
+
// With the introduction of https://github.com/cypress-io/cypress/pull/31993, we want to make sure that component inputs are reference safe inside cy.mount().
|
1131
|
+
// However, the exception to this is if the user passes in a Cypress output spy as a property in order to maintain backwards compatibility.
|
1132
|
+
// @ts-expect-error
|
1133
|
+
if (property instanceof EventEmitter || (((_a = config === null || config === void 0 ? void 0 : config.componentProperties) === null || _a === void 0 ? void 0 : _a.hasOwnProperty(key)) && (config === null || config === void 0 ? void 0 : config.componentProperties[key]) instanceof EventEmitter)) {
|
1136
1134
|
// only assign props if they are passed into the component
|
1137
|
-
if ((
|
1135
|
+
if ((_b = config === null || config === void 0 ? void 0 : config.componentProperties) === null || _b === void 0 ? void 0 : _b.hasOwnProperty(key)) {
|
1138
1136
|
// @ts-expect-error
|
1139
1137
|
const passedInValue = config === null || config === void 0 ? void 0 : config.componentProperties[key];
|
1140
1138
|
component[key] = passedInValue;
|
@@ -13,20 +13,20 @@
|
|
13
13
|
},
|
14
14
|
"dependencies": {},
|
15
15
|
"devDependencies": {
|
16
|
-
"@angular/common": "^
|
17
|
-
"@angular/core": "^
|
18
|
-
"@angular/platform-browser-dynamic": "^
|
16
|
+
"@angular/common": "^18.0.0",
|
17
|
+
"@angular/core": "^18.0.0",
|
18
|
+
"@angular/platform-browser-dynamic": "^18.0.0",
|
19
19
|
"@cypress/mount-utils": "0.0.0-development",
|
20
20
|
"rollup": "^4.24.4",
|
21
21
|
"typescript": "~5.4.5",
|
22
22
|
"zone.js": "~0.14.6"
|
23
23
|
},
|
24
24
|
"peerDependencies": {
|
25
|
-
"@angular/common": ">=
|
26
|
-
"@angular/core": ">=
|
27
|
-
"@angular/platform-browser-dynamic": ">=
|
25
|
+
"@angular/common": ">=18.0.0",
|
26
|
+
"@angular/core": ">=18.0.0",
|
27
|
+
"@angular/platform-browser-dynamic": ">=18.0.0",
|
28
28
|
"rxjs": ">=7.5.0",
|
29
|
-
"zone.js": ">=0.
|
29
|
+
"zone.js": ">=0.14.0"
|
30
30
|
},
|
31
31
|
"files": [
|
32
32
|
"dist"
|
package/angular/dist/index.js
CHANGED
@@ -792,7 +792,7 @@ var ReplaySubject = (function (_super) {
|
|
792
792
|
}(Subject));
|
793
793
|
|
794
794
|
/**
|
795
|
-
* @license Angular
|
795
|
+
* @license Angular v18.2.13
|
796
796
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
797
797
|
* License: MIT
|
798
798
|
*/
|
@@ -897,11 +897,6 @@ function cleanup() {
|
|
897
897
|
activeFixture = null;
|
898
898
|
activeInternalSubscriptions = [];
|
899
899
|
}
|
900
|
-
// 'zone.js/testing' is not properly aliasing `it.skip` but it does provide `xit`/`xspecify`
|
901
|
-
// Written up under https://github.com/angular/angular/issues/46297 but is not seeing movement
|
902
|
-
// so we'll patch here pending a fix in that library
|
903
|
-
// @ts-ignore Ignore so that way we can bypass semantic error TS7017: Element implicitly has an 'any' type because type 'typeof globalThis' has no index signature.
|
904
|
-
globalThis.it.skip = globalThis.xit;
|
905
900
|
let CypressAngularErrorHandler = class CypressAngularErrorHandler {
|
906
901
|
handleError(error) {
|
907
902
|
throw error;
|
@@ -1130,11 +1125,14 @@ function setupComponent(config, fixture) {
|
|
1130
1125
|
}
|
1131
1126
|
});
|
1132
1127
|
getComponentOutputs(fixture.componentRef.componentType).forEach((key) => {
|
1133
|
-
var _a;
|
1128
|
+
var _a, _b;
|
1134
1129
|
const property = component[key];
|
1135
|
-
|
1130
|
+
// With the introduction of https://github.com/cypress-io/cypress/pull/31993, we want to make sure that component inputs are reference safe inside cy.mount().
|
1131
|
+
// However, the exception to this is if the user passes in a Cypress output spy as a property in order to maintain backwards compatibility.
|
1132
|
+
// @ts-expect-error
|
1133
|
+
if (property instanceof EventEmitter || (((_a = config === null || config === void 0 ? void 0 : config.componentProperties) === null || _a === void 0 ? void 0 : _a.hasOwnProperty(key)) && (config === null || config === void 0 ? void 0 : config.componentProperties[key]) instanceof EventEmitter)) {
|
1136
1134
|
// only assign props if they are passed into the component
|
1137
|
-
if ((
|
1135
|
+
if ((_b = config === null || config === void 0 ? void 0 : config.componentProperties) === null || _b === void 0 ? void 0 : _b.hasOwnProperty(key)) {
|
1138
1136
|
// @ts-expect-error
|
1139
1137
|
const passedInValue = config === null || config === void 0 ? void 0 : config.componentProperties[key];
|
1140
1138
|
component[key] = passedInValue;
|
package/angular/package.json
CHANGED
@@ -13,20 +13,20 @@
|
|
13
13
|
},
|
14
14
|
"dependencies": {},
|
15
15
|
"devDependencies": {
|
16
|
-
"@angular/common": "^
|
17
|
-
"@angular/core": "^
|
18
|
-
"@angular/platform-browser-dynamic": "^
|
16
|
+
"@angular/common": "^18.0.0",
|
17
|
+
"@angular/core": "^18.0.0",
|
18
|
+
"@angular/platform-browser-dynamic": "^18.0.0",
|
19
19
|
"@cypress/mount-utils": "0.0.0-development",
|
20
20
|
"rollup": "^4.24.4",
|
21
21
|
"typescript": "~5.4.5",
|
22
22
|
"zone.js": "~0.14.6"
|
23
23
|
},
|
24
24
|
"peerDependencies": {
|
25
|
-
"@angular/common": ">=
|
26
|
-
"@angular/core": ">=
|
27
|
-
"@angular/platform-browser-dynamic": ">=
|
25
|
+
"@angular/common": ">=18.0.0",
|
26
|
+
"@angular/core": ">=18.0.0",
|
27
|
+
"@angular/platform-browser-dynamic": ">=18.0.0",
|
28
28
|
"rxjs": ">=7.5.0",
|
29
|
-
"zone.js": ">=0.
|
29
|
+
"zone.js": ">=0.14.0"
|
30
30
|
},
|
31
31
|
"files": [
|
32
32
|
"dist"
|
package/lib/exec/spawn.js
CHANGED
@@ -6,105 +6,12 @@ const cp = require('child_process');
|
|
6
6
|
const path = require('path');
|
7
7
|
const Promise = require('bluebird');
|
8
8
|
const debug = require('debug')('cypress:cli');
|
9
|
-
const debugVerbose = require('debug')('cypress-verbose:cli');
|
10
9
|
const util = require('../util');
|
11
10
|
const state = require('../tasks/state');
|
12
11
|
const xvfb = require('./xvfb');
|
13
12
|
const verify = require('../tasks/verify');
|
14
13
|
const errors = require('../errors');
|
15
14
|
const readline = require('readline');
|
16
|
-
const isXlibOrLibudevRe = /^(?:Xlib|libudev)/;
|
17
|
-
const isHighSierraWarningRe = /\*\*\* WARNING/;
|
18
|
-
const isRenderWorkerRe = /\.RenderWorker-/;
|
19
|
-
// This is a warning that occurs when running in a container on Linux.
|
20
|
-
// https://github.com/cypress-io/cypress/issues/29563
|
21
|
-
// Example:
|
22
|
-
// [437:1212/125803.148706:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 610: Permission denied (13)
|
23
|
-
const isOOMScoreWarningRe = /Failed to adjust OOM score of renderer with pid/;
|
24
|
-
|
25
|
-
// Chromium (which Electron uses) always makes several attempts to connect to the system dbus.
|
26
|
-
// This works fine in most desktop environments, but in a docker container, there is no dbus service
|
27
|
-
// and Chromium emits several error lines, similar to these:
|
28
|
-
|
29
|
-
// [1957:0406/160550.146820:ERROR:bus.cc(392)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
|
30
|
-
// [1957:0406/160550.147994:ERROR:bus.cc(392)] Failed to connect to the bus: Address does not contain a colon
|
31
|
-
|
32
|
-
// These warnings are absolutely harmless. Failure to connect to dbus means that electron won't be able to access the user's
|
33
|
-
// credential wallet (none exists in a docker container) and won't show up in the system tray (again, none exists).
|
34
|
-
// Failure to connect is expected and normal here, but users frequently misidentify these errors as the cause of their problems.
|
35
|
-
|
36
|
-
// https://github.com/cypress-io/cypress/issues/19299
|
37
|
-
const isDbusWarning = /Failed to connect to the bus:/;
|
38
|
-
|
39
|
-
// Electron began logging these on self-signed certs with 17.0.0-alpha.4.
|
40
|
-
// Once this is fixed upstream this regex can be removed: https://github.com/electron/electron/issues/34583
|
41
|
-
// Sample:
|
42
|
-
// [3801:0606/152837.383892:ERROR:cert_verify_proc_builtin.cc(681)] CertVerifyProcBuiltin for www.googletagmanager.com failed:
|
43
|
-
// ----- Certificate i=0 (OU=Cypress Proxy Server Certificate,O=Cypress Proxy CA,L=Internet,ST=Internet,C=Internet,CN=www.googletagmanager.com) -----
|
44
|
-
// ERROR: No matching issuer found
|
45
|
-
const isCertVerifyProcBuiltin = /(^\[.*ERROR:cert_verify_proc_builtin\.cc|^----- Certificate i=0 \(OU=Cypress Proxy|^ERROR: No matching issuer found$)/;
|
46
|
-
|
47
|
-
/**
|
48
|
-
* Electron logs benign warnings about Vulkan when run on hosts that do not have a GPU. This is coming from the primary Electron process,
|
49
|
-
* and not the browser being used for tests.
|
50
|
-
* Samples:
|
51
|
-
* Warning: loader_scanned_icd_add: Driver /usr/lib/x86_64-linux-gnu/libvulkan_intel.so supports Vulkan 1.2, but only supports loader interface version 4. Interface version 5 or newer required to support this version of Vulkan (Policy #LDP_DRIVER_7)
|
52
|
-
* Warning: loader_scanned_icd_add: Driver /usr/lib/x86_64-linux-gnu/libvulkan_lvp.so supports Vulkan 1.1, but only supports loader interface version 4. Interface version 5 or newer required to support this version of Vulkan (Policy #LDP_DRIVER_7)
|
53
|
-
* Warning: loader_scanned_icd_add: Driver /usr/lib/x86_64-linux-gnu/libvulkan_radeon.so supports Vulkan 1.2, but only supports loader interface version 4. Interface version 5 or newer required to support this verison of Vulkan (Policy #LDP_DRIVER_7)
|
54
|
-
* Warning: Layer VK_LAYER_MESA_device_select uses API version 1.2 which is older than the application specified API version of 1.3. May cause issues.
|
55
|
-
*/
|
56
|
-
|
57
|
-
const isHostVulkanDriverWarning = /^Warning:.+(#LDP_DRIVER_7|VK_LAYER_MESA_device_select).+/;
|
58
|
-
|
59
|
-
/**
|
60
|
-
* Electron logs benign warnings about Vulkan when run in docker containers whose host does not have a GPU. This is coming from the primary
|
61
|
-
* Electron process, and not the browser being used for tests.
|
62
|
-
* Sample:
|
63
|
-
* Warning: vkCreateInstance: Found no drivers!
|
64
|
-
* Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
|
65
|
-
* at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:88)
|
66
|
-
* at CreateVkInstance (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:458)
|
67
|
-
* at Initialize (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:344)
|
68
|
-
* at Create (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266)
|
69
|
-
* at operator() (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521)
|
70
|
-
*/
|
71
|
-
|
72
|
-
const isContainerVulkanDriverWarning = /^Warning: vkCreateInstance/;
|
73
|
-
const isContainerVulkanStack = /^\s*at (CheckVkSuccessImpl|CreateVkInstance|Initialize|Create|operator).+(VulkanError|BackendVk).cpp/;
|
74
|
-
|
75
|
-
/**
|
76
|
-
* In Electron 32.0.0 a new debug scenario log message started appearing when iframes navigate to about:blank. This is a benign message.
|
77
|
-
* https://github.com/electron/electron/issues/44368
|
78
|
-
* Sample:
|
79
|
-
* [78887:1023/114920.074882:ERROR:debug_utils.cc(14)] Hit debug scenario: 4
|
80
|
-
*/
|
81
|
-
const isDebugScenario4 = /^\[[^\]]+debug_utils\.cc[^\]]+\] Hit debug scenario: 4/;
|
82
|
-
|
83
|
-
/**
|
84
|
-
* In Electron 32.0.0 a new EGL driver message started appearing when running on Linux. This is a benign message.
|
85
|
-
* https://github.com/electron/electron/issues/43415
|
86
|
-
* Sample:
|
87
|
-
* [78887:1023/114920.074882:ERROR:gl_display.cc(14)] EGL Driver message (Error) eglQueryDeviceAttribEXT: Bad attribute.
|
88
|
-
*/
|
89
|
-
const isEGLDriverMessage = /^\[[^\]]+gl_display\.cc[^\]]+\] EGL Driver message \(Error\) eglQueryDeviceAttribEXT: Bad attribute\./;
|
90
|
-
|
91
|
-
/**
|
92
|
-
* Mesa/GLX related warnings that occur in certain Linux environments without proper GPU support
|
93
|
-
* or when running in containers. These are benign warnings that don't affect functionality.
|
94
|
-
* Samples:
|
95
|
-
* error: XDG_RUNTIME_DIR is invalid or not set in the environment.
|
96
|
-
* MESA: error: ZINK: failed to choose pdev
|
97
|
-
* glx: failed to create drisw screen
|
98
|
-
*/
|
99
|
-
const isXdgRuntimeError = /^error: XDG_RUNTIME_DIR is invalid or not set/;
|
100
|
-
const isMesaZinkError = /^MESA: error: ZINK: failed to choose pdev/;
|
101
|
-
const isGlxDriverError = /^glx: failed to create drisw screen/;
|
102
|
-
const GARBAGE_WARNINGS = [isXlibOrLibudevRe, isHighSierraWarningRe, isRenderWorkerRe, isOOMScoreWarningRe, isDbusWarning, isCertVerifyProcBuiltin, isHostVulkanDriverWarning, isContainerVulkanDriverWarning, isContainerVulkanStack, isDebugScenario4, isEGLDriverMessage, isXdgRuntimeError, isMesaZinkError, isGlxDriverError];
|
103
|
-
const isGarbageLineWarning = str => {
|
104
|
-
return _.some(GARBAGE_WARNINGS, re => {
|
105
|
-
return re.test(str);
|
106
|
-
});
|
107
|
-
};
|
108
15
|
function isPlatform(platform) {
|
109
16
|
return os.platform() === platform;
|
110
17
|
}
|
@@ -131,7 +38,6 @@ function getStdio(needsXvfb) {
|
|
131
38
|
return 'inherit';
|
132
39
|
}
|
133
40
|
module.exports = {
|
134
|
-
isGarbageLineWarning,
|
135
41
|
start(args, options = {}) {
|
136
42
|
const needsXvfb = xvfb.isNeeded();
|
137
43
|
let executable = state.getPathToExecutable(state.getBinaryDir());
|
@@ -267,12 +173,6 @@ module.exports = {
|
|
267
173
|
child.stderr.on('data', data => {
|
268
174
|
const str = data.toString();
|
269
175
|
|
270
|
-
// bail if this is warning line garbage
|
271
|
-
if (isGarbageLineWarning(str)) {
|
272
|
-
debugVerbose(str);
|
273
|
-
return;
|
274
|
-
}
|
275
|
-
|
276
176
|
// if we have a callback and this explicitly returns
|
277
177
|
// false then bail
|
278
178
|
if (onStderrData && onStderrData(str)) {
|
package/lib/tasks/install.js
CHANGED
@@ -57,8 +57,6 @@ const displayCompletionMsg = () => {
|
|
57
57
|
logger.warn(stripIndent`
|
58
58
|
${logSymbols.warning} Warning: It looks like you\'ve installed Cypress globally.
|
59
59
|
|
60
|
-
This will work, but it'\s not recommended.
|
61
|
-
|
62
60
|
The recommended way to install Cypress is as a devDependency per project.
|
63
61
|
|
64
62
|
You should probably run these commands:
|
@@ -7,14 +7,16 @@
|
|
7
7
|
"build": "tsc || echo 'built, with type errors'",
|
8
8
|
"postbuild": "node ../../scripts/sync-exported-npm-with-cli.js",
|
9
9
|
"check-ts": "tsc --noEmit",
|
10
|
-
"lint": "eslint
|
10
|
+
"lint": "eslint",
|
11
11
|
"watch": "tsc -w"
|
12
12
|
},
|
13
13
|
"dependencies": {},
|
14
14
|
"devDependencies": {
|
15
|
+
"@packages/eslint-config": "0.0.0-development",
|
15
16
|
"@rollup/plugin-commonjs": "^17.1.0",
|
16
17
|
"@rollup/plugin-node-resolve": "^11.1.1",
|
17
|
-
"
|
18
|
+
"eslint": "^9.31.0",
|
19
|
+
"rollup": "3.29.5",
|
18
20
|
"rollup-plugin-dts": "5.0.0",
|
19
21
|
"rollup-plugin-typescript2": "^0.29.0",
|
20
22
|
"typescript": "~5.4.5"
|
@@ -30,6 +32,9 @@
|
|
30
32
|
},
|
31
33
|
"homepage": "https://github.com/cypress-io/cypress/tree/develop/npm/mount-utils#readme",
|
32
34
|
"bugs": "https://github.com/cypress-io/cypress/issues/new?template=1-bug-report.md",
|
35
|
+
"lint-staged": {
|
36
|
+
"**/*.{js,jsx,ts,tsx,json}": "eslint --fix"
|
37
|
+
},
|
33
38
|
"publishConfig": {
|
34
39
|
"access": "public"
|
35
40
|
},
|
package/mount-utils/package.json
CHANGED
@@ -7,14 +7,16 @@
|
|
7
7
|
"build": "tsc || echo 'built, with type errors'",
|
8
8
|
"postbuild": "node ../../scripts/sync-exported-npm-with-cli.js",
|
9
9
|
"check-ts": "tsc --noEmit",
|
10
|
-
"lint": "eslint
|
10
|
+
"lint": "eslint",
|
11
11
|
"watch": "tsc -w"
|
12
12
|
},
|
13
13
|
"dependencies": {},
|
14
14
|
"devDependencies": {
|
15
|
+
"@packages/eslint-config": "0.0.0-development",
|
15
16
|
"@rollup/plugin-commonjs": "^17.1.0",
|
16
17
|
"@rollup/plugin-node-resolve": "^11.1.1",
|
17
|
-
"
|
18
|
+
"eslint": "^9.31.0",
|
19
|
+
"rollup": "3.29.5",
|
18
20
|
"rollup-plugin-dts": "5.0.0",
|
19
21
|
"rollup-plugin-typescript2": "^0.29.0",
|
20
22
|
"typescript": "~5.4.5"
|
@@ -30,6 +32,9 @@
|
|
30
32
|
},
|
31
33
|
"homepage": "https://github.com/cypress-io/cypress/tree/develop/npm/mount-utils#readme",
|
32
34
|
"bugs": "https://github.com/cypress-io/cypress/issues/new?template=1-bug-report.md",
|
35
|
+
"lint-staged": {
|
36
|
+
"**/*.{js,jsx,ts,tsx,json}": "eslint --fix"
|
37
|
+
},
|
33
38
|
"publishConfig": {
|
34
39
|
"access": "public"
|
35
40
|
},
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "cypress",
|
3
|
-
"version": "
|
3
|
+
"version": "15.0.0",
|
4
4
|
"main": "index.js",
|
5
5
|
"scripts": {
|
6
6
|
"postinstall": "node index.js --exec install",
|
@@ -47,7 +47,7 @@
|
|
47
47
|
"request-progress": "^3.0.0",
|
48
48
|
"semver": "^7.7.1",
|
49
49
|
"supports-color": "^8.1.1",
|
50
|
-
"tmp": "~0.2.
|
50
|
+
"tmp": "~0.2.4",
|
51
51
|
"tree-kill": "1.2.2",
|
52
52
|
"untildify": "^4.0.0",
|
53
53
|
"yauzl": "^2.10.0"
|
@@ -68,7 +68,7 @@
|
|
68
68
|
"cypress": "bin/cypress"
|
69
69
|
},
|
70
70
|
"engines": {
|
71
|
-
"node": "^
|
71
|
+
"node": "^20.0.0 || ^22.0.0 || >=24.0.0"
|
72
72
|
},
|
73
73
|
"types": "types",
|
74
74
|
"exports": {
|
@@ -124,8 +124,8 @@
|
|
124
124
|
},
|
125
125
|
"buildInfo": {
|
126
126
|
"commitBranch": "develop",
|
127
|
-
"commitSha": "
|
128
|
-
"commitDate": "2025-08-
|
127
|
+
"commitSha": "6db5cb19350db11fe615dfc17a07d09b46a4d8d1",
|
128
|
+
"commitDate": "2025-08-20T01:55:57.000Z",
|
129
129
|
"stable": true
|
130
130
|
},
|
131
131
|
"description": "Cypress is a next generation front end testing tool built for the modern web",
|
package/react/package.json
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
"devDependencies": {
|
19
19
|
"@cypress/mount-utils": "0.0.0-development",
|
20
20
|
"@types/semver": "7.5.8",
|
21
|
-
"@vitejs/plugin-react": "4.
|
21
|
+
"@vitejs/plugin-react": "4.6.0",
|
22
22
|
"axios": "1.7.7",
|
23
23
|
"cypress": "0.0.0-development",
|
24
24
|
"prop-types": "15.8.1",
|
@@ -28,8 +28,8 @@
|
|
28
28
|
"react-router-dom": "6.28.0",
|
29
29
|
"semver": "^7.7.1",
|
30
30
|
"typescript": "~5.4.5",
|
31
|
-
"vite": "
|
32
|
-
"vite-plugin-require-transform": "1.0.
|
31
|
+
"vite": "6.3.5",
|
32
|
+
"vite-plugin-require-transform": "1.0.21"
|
33
33
|
},
|
34
34
|
"peerDependencies": {
|
35
35
|
"@types/react": "^18 || ^19",
|
package/react/react/package.json
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
"devDependencies": {
|
19
19
|
"@cypress/mount-utils": "0.0.0-development",
|
20
20
|
"@types/semver": "7.5.8",
|
21
|
-
"@vitejs/plugin-react": "4.
|
21
|
+
"@vitejs/plugin-react": "4.6.0",
|
22
22
|
"axios": "1.7.7",
|
23
23
|
"cypress": "0.0.0-development",
|
24
24
|
"prop-types": "15.8.1",
|
@@ -28,8 +28,8 @@
|
|
28
28
|
"react-router-dom": "6.28.0",
|
29
29
|
"semver": "^7.7.1",
|
30
30
|
"typescript": "~5.4.5",
|
31
|
-
"vite": "
|
32
|
-
"vite-plugin-require-transform": "1.0.
|
31
|
+
"vite": "6.3.5",
|
32
|
+
"vite-plugin-require-transform": "1.0.21"
|
33
33
|
},
|
34
34
|
"peerDependencies": {
|
35
35
|
"@types/react": "^18 || ^19",
|
package/types/cypress.d.ts
CHANGED
@@ -696,10 +696,20 @@ declare namespace Cypress {
|
|
696
696
|
}
|
697
697
|
|
698
698
|
/**
|
699
|
-
*
|
699
|
+
* Element selector logic used for generating selectors for elements
|
700
|
+
* in the Selector Playground and Cypress Studio.
|
701
|
+
* @see https://on.cypress.io/element-selector-api
|
702
|
+
*/
|
703
|
+
ElementSelector: {
|
704
|
+
defaults(options: Partial<ElementSelectorDefaultsOptions>): void
|
705
|
+
}
|
706
|
+
|
707
|
+
/**
|
708
|
+
* @deprecated Use ElementSelector instead
|
709
|
+
* @see https://on.cypress.io/element-selector-api
|
700
710
|
*/
|
701
711
|
SelectorPlayground: {
|
702
|
-
defaults(options: Partial<
|
712
|
+
defaults(options: Partial<ElementSelectorDefaultsOptions>): void
|
703
713
|
getSelector($el: JQuery): JQuery.Selector
|
704
714
|
}
|
705
715
|
|
@@ -2126,12 +2136,6 @@ declare namespace Cypress {
|
|
2126
2136
|
* expect(o.toString).to.have.been.calledOnce
|
2127
2137
|
*/
|
2128
2138
|
stub<T>(obj: T, method: keyof T): Agent<sinon.SinonStub>
|
2129
|
-
/**
|
2130
|
-
* Stubs a method on an object
|
2131
|
-
*
|
2132
|
-
* @deprecated Use `cy.stub(object, name).callsFake(fn)` instead
|
2133
|
-
*/
|
2134
|
-
stub<T>(obj: T, method: keyof T, func: (...args: any[]) => any): Agent<sinon.SinonStub>
|
2135
2139
|
|
2136
2140
|
/**
|
2137
2141
|
* Submit a form.
|
@@ -2977,7 +2981,7 @@ declare namespace Cypress {
|
|
2977
2981
|
*/
|
2978
2982
|
requestTimeout: number
|
2979
2983
|
/**
|
2980
|
-
* Time, in milliseconds, to wait
|
2984
|
+
* Time, in milliseconds, to wait for a response in a [cy.request()](https://on.cypress.io/request), [cy.wait()](https://on.cypress.io/wait), [cy.fixture()](https://on.cypress.io/fixture), [cy.getCookie()](https://on.cypress.io/getcookie), [cy.getCookies()](https://on.cypress.io/getcookies), [cy.setCookie()](https://on.cypress.io/setcookie), [cy.clearCookie()](https://on.cypress.io/clearcookie), [cy.clearCookies()](https://on.cypress.io/clearcookies), and [cy.screenshot()](https://on.cypress.io/screenshot) commands
|
2981
2985
|
* @default 30000
|
2982
2986
|
*/
|
2983
2987
|
responseTimeout: number
|
@@ -3720,9 +3724,18 @@ declare namespace Cypress {
|
|
3720
3724
|
screenshotOnRunFailure: boolean
|
3721
3725
|
}
|
3722
3726
|
|
3723
|
-
|
3724
|
-
|
3725
|
-
|
3727
|
+
type SelectorPriority =
|
3728
|
+
| `attribute:${string}`
|
3729
|
+
| 'attributes'
|
3730
|
+
| 'class'
|
3731
|
+
| `data-${string}`
|
3732
|
+
| 'id'
|
3733
|
+
| 'name'
|
3734
|
+
| 'nth-child'
|
3735
|
+
| 'tag'
|
3736
|
+
|
3737
|
+
interface ElementSelectorDefaultsOptions {
|
3738
|
+
selectorPriority?: SelectorPriority[]
|
3726
3739
|
}
|
3727
3740
|
|
3728
3741
|
interface ScrollToOptions extends Loggable, Timeoutable {
|
@@ -44,6 +44,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
44
44
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
45
45
|
PERFORMANCE OF THIS SOFTWARE.
|
46
46
|
***************************************************************************** */
|
47
|
+
/* global Reflect, Promise, SuppressedError, Symbol */
|
48
|
+
|
47
49
|
|
48
50
|
function __rest(s, e) {
|
49
51
|
var t = {};
|
@@ -24,6 +24,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
24
24
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
25
25
|
PERFORMANCE OF THIS SOFTWARE.
|
26
26
|
***************************************************************************** */
|
27
|
+
/* global Reflect, Promise, SuppressedError, Symbol */
|
28
|
+
|
27
29
|
|
28
30
|
function __rest(s, e) {
|
29
31
|
var t = {};
|
package/vue/package.json
CHANGED
@@ -16,7 +16,7 @@
|
|
16
16
|
},
|
17
17
|
"devDependencies": {
|
18
18
|
"@cypress/mount-utils": "0.0.0-development",
|
19
|
-
"@vitejs/plugin-vue": "
|
19
|
+
"@vitejs/plugin-vue": "6.0.0",
|
20
20
|
"@vue/compiler-sfc": "3.2.47",
|
21
21
|
"@vue/test-utils": "2.4.6",
|
22
22
|
"axios": "0.21.2",
|
@@ -25,9 +25,9 @@
|
|
25
25
|
"globby": "^11.0.1",
|
26
26
|
"tailwindcss": "1.1.4",
|
27
27
|
"typescript": "~5.4.5",
|
28
|
-
"vite": "
|
28
|
+
"vite": "6.3.5",
|
29
29
|
"vue": "3.2.47",
|
30
|
-
"vue-i18n": "9.
|
30
|
+
"vue-i18n": "9.14.5",
|
31
31
|
"vue-router": "^4.0.0",
|
32
32
|
"vue-tsc": "^2.0.19",
|
33
33
|
"vuex": "^4.0.0"
|
@@ -44,6 +44,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
44
44
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
45
45
|
PERFORMANCE OF THIS SOFTWARE.
|
46
46
|
***************************************************************************** */
|
47
|
+
/* global Reflect, Promise, SuppressedError, Symbol */
|
48
|
+
|
47
49
|
|
48
50
|
function __rest(s, e) {
|
49
51
|
var t = {};
|
@@ -24,6 +24,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
24
24
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
25
25
|
PERFORMANCE OF THIS SOFTWARE.
|
26
26
|
***************************************************************************** */
|
27
|
+
/* global Reflect, Promise, SuppressedError, Symbol */
|
28
|
+
|
27
29
|
|
28
30
|
function __rest(s, e) {
|
29
31
|
var t = {};
|
package/vue/vue/package.json
CHANGED
@@ -16,7 +16,7 @@
|
|
16
16
|
},
|
17
17
|
"devDependencies": {
|
18
18
|
"@cypress/mount-utils": "0.0.0-development",
|
19
|
-
"@vitejs/plugin-vue": "
|
19
|
+
"@vitejs/plugin-vue": "6.0.0",
|
20
20
|
"@vue/compiler-sfc": "3.2.47",
|
21
21
|
"@vue/test-utils": "2.4.6",
|
22
22
|
"axios": "0.21.2",
|
@@ -25,9 +25,9 @@
|
|
25
25
|
"globby": "^11.0.1",
|
26
26
|
"tailwindcss": "1.1.4",
|
27
27
|
"typescript": "~5.4.5",
|
28
|
-
"vite": "
|
28
|
+
"vite": "6.3.5",
|
29
29
|
"vue": "3.2.47",
|
30
|
-
"vue-i18n": "9.
|
30
|
+
"vue-i18n": "9.14.5",
|
31
31
|
"vue-router": "^4.0.0",
|
32
32
|
"vue-tsc": "^2.0.19",
|
33
33
|
"vuex": "^4.0.0"
|