cypress 13.13.3 → 13.14.0

Sign up to get free protection for your applications and to get access to all the features.
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) {
@@ -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.13.3",
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": "2b5b2f66270dd7eea29a2de000c574996ca9b519",
144
- "commitDate": "2024-08-14T12:51:20.000Z",
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('prerelease compare', i, a, b);
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('prerelease compare', i, a, b);
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('prerelease compare', i, a, b);
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('prerelease compare', i, a, b);
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) {
@@ -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