cypress 12.7.0 → 12.8.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -161,7 +161,6 @@ let CypressTestComponentRenderer = class CypressTestComponentRenderer extends Te
161
161
  this.removeAllRootElements();
162
162
  const rootElement = getContainerEl();
163
163
  rootElement.setAttribute('id', rootElId);
164
- document.body.appendChild(rootElement);
165
164
  }
166
165
  removeAllRootElements() {
167
166
  getContainerEl().innerHTML = '';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cypress",
3
- "version": "12.7.0",
3
+ "version": "12.8.0",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "postinstall": "node index.js --exec install",
@@ -118,8 +118,8 @@
118
118
  },
119
119
  "buildInfo": {
120
120
  "commitBranch": "develop",
121
- "commitSha": "0cdd8d195f9660f1c6bb357b5fbe1ec32b16c54b",
122
- "commitDate": "2023-02-24T22:33:04.000Z",
121
+ "commitSha": "34b61575dcfd582acda719dc9b0d3d56906ede68",
122
+ "commitDate": "2023-03-14T14:53:19.000Z",
123
123
  "stable": true
124
124
  },
125
125
  "description": "Cypress is a next generation front end testing tool built for the modern web",
@@ -3286,7 +3286,6 @@ declare namespace Cypress {
3286
3286
  interface DependencyToInstall {
3287
3287
  dependency: CypressComponentDependency
3288
3288
  satisfied: boolean
3289
- loc: string | null
3290
3289
  detectedVersion: string | null
3291
3290
  }
3292
3291
 
@@ -395,7 +395,17 @@ export interface RouteMatcherOptionsGeneric<S> {
395
395
 
396
396
  export type RouteHandlerController = HttpRequestInterceptor
397
397
 
398
- export type RouteHandler = string | StaticResponse | RouteHandlerController | object
398
+ export type RouteHandler = string | StaticResponseWithOptions | RouteHandlerController | object
399
+
400
+ export type InterceptOptions = {
401
+ /**
402
+ * If set to `false`, matching requests will not be shown in the Command Log.
403
+ * @default true
404
+ */
405
+ log?: boolean
406
+ }
407
+
408
+ export type StaticResponseWithOptions = StaticResponse & InterceptOptions
399
409
 
400
410
  /**
401
411
  * Describes a response that will be sent back to the browser to fulfill the request.