cypress 12.7.0 → 12.8.1
Sign up to get free protection for your applications and to get access to all the features.
- package/angular/CHANGELOG.md +7 -0
- 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/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
# [@cypress/angular-v2.0.3](https://github.com/cypress-io/cypress/compare/@cypress/angular-v2.0.2...@cypress/angular-v2.0.3) (2023-03-14)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* **angular:** mount cy-root in original location ([#25965](https://github.com/cypress-io/cypress/issues/25965)) ([e674f43](https://github.com/cypress-io/cypress/commit/e674f43040ad95d2745601aa0f36eab4703c837e))
|
7
|
+
|
1
8
|
# [@cypress/angular-v2.0.2](https://github.com/cypress-io/cypress/compare/@cypress/angular-v2.0.1...@cypress/angular-v2.0.2) (2023-02-17)
|
2
9
|
|
3
10
|
|
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.1",
|
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": "86175a95ec0b5a0dafba2c8f0b242e282f27c279",
|
122
|
+
"commitDate": "2023-03-15T17:26:54.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.
|