cypress 12.7.0 → 12.8.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/dist/index.js +0 -1
- package/package.json +3 -3
- package/types/cypress.d.ts +0 -1
- package/types/net-stubbing.d.ts +11 -1
package/angular/dist/index.js
CHANGED
@@ -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.
|
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": "
|
122
|
-
"commitDate": "2023-
|
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",
|
package/types/cypress.d.ts
CHANGED
package/types/net-stubbing.d.ts
CHANGED
@@ -395,7 +395,17 @@ export interface RouteMatcherOptionsGeneric<S> {
|
|
395
395
|
|
396
396
|
export type RouteHandlerController = HttpRequestInterceptor
|
397
397
|
|
398
|
-
export type RouteHandler = string |
|
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.
|