@jscutlery/cypress-harness 0.7.16 → 0.7.18
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/CHANGELOG.md +23 -0
- package/package.json +2 -1
- package/src/lib/get-all-harnesses.js +1 -2
- package/src/lib/get-all-harnesses.js.map +1 -1
- package/src/lib/get-harness.js +1 -2
- package/src/lib/get-harness.js.map +1 -1
- package/src/lib/get-root-harness.js +1 -2
- package/src/lib/get-root-harness.js.map +1 -1
- package/src/lib/internals.d.ts +0 -2
- package/src/lib/internals.js +3 -4
- package/src/lib/internals.js.map +1 -1
- package/src/preprocessor-config.d.ts +0 -1
- package/src/preprocessor-config.js +1 -2
- package/src/preprocessor-config.js.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,26 @@
|
|
|
1
|
+
## 0.7.18 (2025-01-13)
|
|
2
|
+
|
|
3
|
+
### 🚀 Features
|
|
4
|
+
|
|
5
|
+
- **swc-angular-plugin:** use new `wasm32-wasip1` build target ([d2a23a2](https://github.com/jscutlery/devkit/commit/d2a23a2))
|
|
6
|
+
- **swc-angular-plugin:** add support for latest @swc/core ([#674](https://github.com/jscutlery/devkit/pull/674))
|
|
7
|
+
|
|
8
|
+
### 🩹 Fixes
|
|
9
|
+
|
|
10
|
+
- 📦 update dependency @babel/helper-plugin-utils to v7.26.5 ([#720](https://github.com/jscutlery/devkit/pull/720))
|
|
11
|
+
|
|
12
|
+
### ❤️ Thank You
|
|
13
|
+
|
|
14
|
+
- Dmitry Zakharov @pumano
|
|
15
|
+
- Edouard Bozon @edbzn
|
|
16
|
+
|
|
17
|
+
## 0.7.17 (2024-11-08)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### 🩹 Fixes
|
|
21
|
+
|
|
22
|
+
- 📦 update babel monorepo ([#647](https://github.com/jscutlery/devkit/pull/647))
|
|
23
|
+
|
|
1
24
|
## 0.7.16 (2024-11-04)
|
|
2
25
|
|
|
3
26
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jscutlery/cypress-harness",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.18",
|
|
4
4
|
"repository": {
|
|
5
5
|
"url": "https://github.com/jscutlery/devkit"
|
|
6
6
|
},
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
"cypress-pipe": "*",
|
|
35
35
|
"zone.js": "*"
|
|
36
36
|
},
|
|
37
|
+
"types": "./src/index.d.ts",
|
|
37
38
|
"main": "./src/index.js",
|
|
38
39
|
"type": "commonjs"
|
|
39
40
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getAllHarnesses =
|
|
3
|
+
exports.getAllHarnesses = getAllHarnesses;
|
|
4
4
|
const internals_1 = require("./internals");
|
|
5
5
|
function getAllHarnesses(query) {
|
|
6
6
|
/* Create a local variable so `pipe` can log name. */
|
|
@@ -9,5 +9,4 @@ function getAllHarnesses(query) {
|
|
|
9
9
|
get: (_, prop) => (0, internals_1.getDocumentRoot)().pipe(getAllHarnesses)[prop],
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
|
-
exports.getAllHarnesses = getAllHarnesses;
|
|
13
12
|
//# sourceMappingURL=get-all-harnesses.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-all-harnesses.js","sourceRoot":"","sources":["../../../../../packages/cypress-harness/src/lib/get-all-harnesses.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-all-harnesses.js","sourceRoot":"","sources":["../../../../../packages/cypress-harness/src/lib/get-all-harnesses.ts"],"names":[],"mappings":";;AAKA,0CAUC;AAZD,2CAAuF;AAEvF,SAAgB,eAAe,CAC7B,KAA4B;IAE5B,qDAAqD;IACrD,MAAM,eAAe,GAAG,CAAC,aAA8B,EAAE,EAAE,CACzD,IAAA,iCAAqB,EAAC,aAAa,CAAC,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;IAE9D,OAAO,IAAI,KAAK,CAAC,EAAS,EAAE;QAC1B,GAAG,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,CAAE,IAAA,2BAAe,GAAE,CAAC,IAAI,CAAC,eAAe,CAAS,CAAC,IAAI,CAAC;KACzE,CAAC,CAAC;AACL,CAAC"}
|
package/src/lib/get-harness.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getHarness =
|
|
3
|
+
exports.getHarness = getHarness;
|
|
4
4
|
const internals_1 = require("./internals");
|
|
5
5
|
function getHarness(query) {
|
|
6
6
|
/* Create a local variable so `pipe` can log name. */
|
|
@@ -9,5 +9,4 @@ function getHarness(query) {
|
|
|
9
9
|
get: (_, prop) => (0, internals_1.addHarnessMethodsToChainer)((0, internals_1.getDocumentRoot)().pipe(getHarness))[prop],
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
|
-
exports.getHarness = getHarness;
|
|
13
12
|
//# sourceMappingURL=get-harness.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-harness.js","sourceRoot":"","sources":["../../../../../packages/cypress-harness/src/lib/get-harness.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-harness.js","sourceRoot":"","sources":["../../../../../packages/cypress-harness/src/lib/get-harness.ts"],"names":[],"mappings":";;AAUA,gCAWC;AAlBD,2CAKqB;AAErB,SAAgB,UAAU,CACxB,KAA4B;IAE5B,qDAAqD;IACrD,MAAM,UAAU,GAAG,CAAC,aAA8B,EAAE,EAAE,CACpD,IAAA,iCAAqB,EAAC,aAAa,CAAC,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;IAEzD,OAAO,IAAI,KAAK,CAA4B,EAAS,EAAE;QACrD,GAAG,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,CACd,IAAA,sCAA0B,EAAC,IAAA,2BAAe,GAAE,CAAC,IAAI,CAAC,UAAU,CAAC,CAAS,CAAC,IAAI,CAAC;KAChF,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getRootHarness =
|
|
3
|
+
exports.getRootHarness = getRootHarness;
|
|
4
4
|
const cypress_harness_environment_1 = require("./cypress-harness-environment");
|
|
5
5
|
const internals_1 = require("./internals");
|
|
6
6
|
function getRootHarness(harnessType) {
|
|
@@ -23,5 +23,4 @@ function getRootHarness(harnessType) {
|
|
|
23
23
|
get: (_, prop) => (0, internals_1.addHarnessMethodsToChainer)((0, internals_1.getDocumentRoot)().pipe(getRootHarness))[prop],
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
|
-
exports.getRootHarness = getRootHarness;
|
|
27
26
|
//# sourceMappingURL=get-root-harness.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-root-harness.js","sourceRoot":"","sources":["../../../../../packages/cypress-harness/src/lib/get-root-harness.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-root-harness.js","sourceRoot":"","sources":["../../../../../packages/cypress-harness/src/lib/get-root-harness.ts"],"names":[],"mappings":";;AAaA,wCA2BC;AAlCD,+EAA0E;AAC1E,2CAIqB;AAErB,SAAgB,cAAc,CAC5B,WAAiD;IAEjD,qDAAqD;IACrD,MAAM,cAAc,GAAG,CAAC,aAA8B,EAAE,EAAE;QACxD,MAAM,YAAY,GAAG,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QAC1C,MAAM,MAAM;QACV,6FAA6F;QAC7F,YAAY,CAAC,aAAa,CAAC,OAAO,CAAC;YACnC,iFAAiF;YACjF,YAAY,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;QAEvC,IAAI,MAAM,IAAI,IAAI,EAAE,CAAC;YACnB,MAAM,IAAI,KAAK,CAAC,wBAAwB,CAAC,CAAC;QAC5C,CAAC;QAED,OAAO,IAAI,WAAW,CACpB,IAAI,uDAAyB,CAAC,MAAM,EAAE;YACpC,YAAY;SACb,CAAC,CACH,CAAC;IACJ,CAAC,CAAC;IAEF,OAAO,IAAI,KAAK,CAA4B,EAAS,EAAE;QACrD,GAAG,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,CACd,IAAA,sCAA0B,EAAC,IAAA,2BAAe,GAAE,CAAC,IAAI,CAAC,cAAc,CAAC,CAAS,CAAC,IAAI,CAAC;KACpF,CAAC,CAAC;AACL,CAAC"}
|
package/src/lib/internals.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
/// <reference types="cypress" />
|
|
2
|
-
/// <reference types="cypress" />
|
|
3
1
|
import { ComponentHarness } from '@angular/cdk/testing';
|
|
4
2
|
import { CypressHarnessEnvironment } from './cypress-harness-environment';
|
|
5
3
|
export type ChainableHarness<HARNESS> = Cypress.Chainable<HARNESS> & {
|
package/src/lib/internals.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.addHarnessMethodsToChainer = addHarnessMethodsToChainer;
|
|
4
|
+
exports.getDocumentRoot = getDocumentRoot;
|
|
5
|
+
exports.createRootEnvironment = createRootEnvironment;
|
|
4
6
|
const cypress_harness_environment_1 = require("./cypress-harness-environment");
|
|
5
7
|
/**
|
|
6
8
|
* Adds harness methods to chainer.
|
|
@@ -21,16 +23,13 @@ function addHarnessMethodsToChainer(chainer) {
|
|
|
21
23
|
};
|
|
22
24
|
return new Proxy(chainer, handler);
|
|
23
25
|
}
|
|
24
|
-
exports.addHarnessMethodsToChainer = addHarnessMethodsToChainer;
|
|
25
26
|
function getDocumentRoot() {
|
|
26
27
|
return cy.get('body', {
|
|
27
28
|
log: false,
|
|
28
29
|
});
|
|
29
30
|
}
|
|
30
|
-
exports.getDocumentRoot = getDocumentRoot;
|
|
31
31
|
function createRootEnvironment($documentRoot) {
|
|
32
32
|
const documentRoot = $documentRoot.get(0);
|
|
33
33
|
return new cypress_harness_environment_1.CypressHarnessEnvironment(documentRoot, { documentRoot });
|
|
34
34
|
}
|
|
35
|
-
exports.createRootEnvironment = createRootEnvironment;
|
|
36
35
|
//# sourceMappingURL=internals.js.map
|
package/src/lib/internals.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internals.js","sourceRoot":"","sources":["../../../../../packages/cypress-harness/src/lib/internals.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"internals.js","sourceRoot":"","sources":["../../../../../packages/cypress-harness/src/lib/internals.ts"],"names":[],"mappings":";;AA2BA,gEAmBC;AAED,0CAIC;AAED,sDAKC;AAzDD,+EAA0E;AAkB1E;;;;;;GAMG;AACH,SAAgB,0BAA0B,CACxC,OAAmC;IAEnC,MAAM,OAAO,GAAG;QACd,GAAG,EACD,CAAC,eAAoB,EAAE,IAAY,EAAE,EAAE,CACvC,CAAC,GAAG,IAAW,EAAE,EAAE;YACjB,gEAAgE;YAChE,IAAI,IAAI,IAAI,eAAe,EAAE,CAAC;gBAC5B,OAAO,eAAe,CAAC,IAAI,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC;YACxC,CAAC;YAED,OAAO,0BAA0B,CAC/B,eAAe,CAAC,IAAI,CAAC,CAAC,MAAW,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAC7D,CAAC;QACJ,CAAC;KACJ,CAAC;IAEF,OAAO,IAAI,KAAK,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;AACrC,CAAC;AAED,SAAgB,eAAe;IAC7B,OAAO,EAAE,CAAC,GAAG,CAAC,MAAM,EAAE;QACpB,GAAG,EAAE,KAAK;KACX,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,qBAAqB,CACnC,aAA8B;IAE9B,MAAM,YAAY,GAAG,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;IAC1C,OAAO,IAAI,uDAAyB,CAAC,YAAY,EAAE,EAAE,YAAY,EAAE,CAAC,CAAC;AACvE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getPreprocessorConfig =
|
|
3
|
+
exports.getPreprocessorConfig = getPreprocessorConfig;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const webpack_batteries_included_preprocessor_1 = tslib_1.__importDefault(require("@cypress/webpack-batteries-included-preprocessor"));
|
|
6
6
|
function getPreprocessorConfig() {
|
|
@@ -18,5 +18,4 @@ function getPreprocessorConfig() {
|
|
|
18
18
|
}
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
|
-
exports.getPreprocessorConfig = getPreprocessorConfig;
|
|
22
21
|
//# sourceMappingURL=preprocessor-config.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preprocessor-config.js","sourceRoot":"","sources":["../../../../packages/cypress-harness/src/preprocessor-config.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"preprocessor-config.js","sourceRoot":"","sources":["../../../../packages/cypress-harness/src/preprocessor-config.ts"],"names":[],"mappings":";;AAGA,sDAcC;;AAjBD,uIAAmF;AAGnF,SAAgB,qBAAqB;IACnC,OAAO;QACL,eAAe,CAAC,EAAE;YAChB;;;;;eAKG;YACH,EAAE,CAAC,mBAAmB,EAAE,IAAA,iDAAmB,EAAC;gBAC1C,UAAU,EAAE,OAAO,CAAC,OAAO,CAAC,YAAY,CAAC;aAC1C,CAAC,CAAC,CAAC;QACN,CAAC;KACF,CAAC;AACJ,CAAC"}
|