cypress 13.13.3 → 13.14.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/lib/exec/spawn.js +1 -1
- package/lib/tasks/verify.js +6 -1
- package/package.json +3 -3
- package/react/dist/cypress-react.cjs.js +1 -1
- package/react/dist/cypress-react.esm-bundler.js +1 -1
- package/react/react/dist/cypress-react.cjs.js +1 -1
- package/react/react/dist/cypress-react.esm-bundler.js +1 -1
- package/types/cypress.d.ts +8 -0
package/lib/exec/spawn.js
CHANGED
@@ -135,7 +135,7 @@ module.exports = {
|
|
135
135
|
onStderrData
|
136
136
|
} = overrides;
|
137
137
|
const envOverrides = util.getEnvOverrides(options);
|
138
|
-
const electronArgs = [];
|
138
|
+
const electronArgs = ['--ozone-platform-hint=auto'];
|
139
139
|
const node11WindowsFix = isPlatform('win32');
|
140
140
|
let startScriptPath;
|
141
141
|
if (options.dev) {
|
package/lib/tasks/verify.js
CHANGED
@@ -196,8 +196,13 @@ const start = (options = {}) => {
|
|
196
196
|
dev: false,
|
197
197
|
force: false,
|
198
198
|
welcomeMessage: true,
|
199
|
-
smokeTestTimeout: VERIFY_TEST_RUNNER_TIMEOUT_MS
|
199
|
+
smokeTestTimeout: VERIFY_TEST_RUNNER_TIMEOUT_MS,
|
200
|
+
skipVerify: util.getEnv('CYPRESS_SKIP_VERIFY') === 'true'
|
200
201
|
});
|
202
|
+
if (options.skipVerify) {
|
203
|
+
debug('skipping verification of the Cypress app');
|
204
|
+
return Promise.resolve();
|
205
|
+
}
|
201
206
|
if (options.dev) {
|
202
207
|
return runSmokeTest('', options);
|
203
208
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "cypress",
|
3
|
-
"version": "13.
|
3
|
+
"version": "13.14.0",
|
4
4
|
"main": "index.js",
|
5
5
|
"scripts": {
|
6
6
|
"postinstall": "node index.js --exec install",
|
@@ -140,8 +140,8 @@
|
|
140
140
|
},
|
141
141
|
"buildInfo": {
|
142
142
|
"commitBranch": "develop",
|
143
|
-
"commitSha": "
|
144
|
-
"commitDate": "2024-08-
|
143
|
+
"commitSha": "34764c34a0ad888228015e5d5939eb9178bbc107",
|
144
|
+
"commitDate": "2024-08-27T14:24:33.000Z",
|
145
145
|
"stable": true
|
146
146
|
},
|
147
147
|
"description": "Cypress is a next generation front end testing tool built for the modern web",
|
@@ -722,7 +722,7 @@ class SemVer {
|
|
722
722
|
do {
|
723
723
|
const a = this.build[i];
|
724
724
|
const b = other.build[i];
|
725
|
-
debug_1('
|
725
|
+
debug_1('build compare', i, a, b);
|
726
726
|
if (a === undefined && b === undefined) {
|
727
727
|
return 0
|
728
728
|
} else if (b === undefined) {
|
@@ -702,7 +702,7 @@ class SemVer {
|
|
702
702
|
do {
|
703
703
|
const a = this.build[i];
|
704
704
|
const b = other.build[i];
|
705
|
-
debug_1('
|
705
|
+
debug_1('build compare', i, a, b);
|
706
706
|
if (a === undefined && b === undefined) {
|
707
707
|
return 0
|
708
708
|
} else if (b === undefined) {
|
@@ -722,7 +722,7 @@ class SemVer {
|
|
722
722
|
do {
|
723
723
|
const a = this.build[i];
|
724
724
|
const b = other.build[i];
|
725
|
-
debug_1('
|
725
|
+
debug_1('build compare', i, a, b);
|
726
726
|
if (a === undefined && b === undefined) {
|
727
727
|
return 0
|
728
728
|
} else if (b === undefined) {
|
@@ -702,7 +702,7 @@ class SemVer {
|
|
702
702
|
do {
|
703
703
|
const a = this.build[i];
|
704
704
|
const b = other.build[i];
|
705
|
-
debug_1('
|
705
|
+
debug_1('build compare', i, a, b);
|
706
706
|
if (a === undefined && b === undefined) {
|
707
707
|
return 0
|
708
708
|
} else if (b === undefined) {
|
package/types/cypress.d.ts
CHANGED
@@ -3124,6 +3124,14 @@ declare namespace Cypress {
|
|
3124
3124
|
* @default null
|
3125
3125
|
*/
|
3126
3126
|
experimentalSkipDomainInjection: string[] | null
|
3127
|
+
/**
|
3128
|
+
* Allows for just-in-time compiling of a component test, which will only compile assets related to the component.
|
3129
|
+
* This results in a smaller bundle under test, reducing resource constraints on a given machine. This option is recommended
|
3130
|
+
* for users with large component testing projects and those who are running into webpack 'chunk load error' issues.
|
3131
|
+
* Supported for vite and webpack. For component testing only.
|
3132
|
+
* @see https://on.cypress.io/experiments#Configuration
|
3133
|
+
*/
|
3134
|
+
experimentalJustInTimeCompile: boolean
|
3127
3135
|
/**
|
3128
3136
|
* Enables AST-based JS/HTML rewriting. This may fix issues caused by the existing regex-based JS/HTML replacement algorithm.
|
3129
3137
|
* @default false
|