@rnw-community/wdio 0.35.2 → 0.35.3
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/dist/util/{get-platform.util.d.ts → get-platform/get-platform.util.d.ts} +0 -0
- package/dist/util/get-platform/get-platform.util.d.ts.map +1 -0
- package/dist/util/get-platform/get-platform.util.js +9 -0
- package/dist/util/get-platform/get-platform.util.js.map +1 -0
- package/dist/util/get-platform/get-platform.util.native.d.ts +2 -0
- package/dist/util/get-platform/get-platform.util.native.d.ts.map +1 -0
- package/dist/util/get-platform/get-platform.util.native.js +9 -0
- package/dist/util/get-platform/get-platform.util.native.js.map +1 -0
- package/dist/util/get-test-id/get-test-id.js +1 -1
- package/dist/util/get-test-id/get-test-id.js.map +1 -1
- package/dist/util/set-test-id/set-test-id.js +1 -1
- package/dist/util/set-test-id/set-test-id.js.map +1 -1
- package/package.json +2 -2
- package/dist/util/get-platform.util.d.ts.map +0 -1
- package/dist/util/get-platform.util.js +0 -15
- package/dist/util/get-platform.util.js.map +0 -1
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-platform.util.d.ts","sourceRoot":"","sources":["../../../src/util/get-platform/get-platform.util.ts"],"names":[],"mappings":"AAEA,eAAO,IAAI,QAAQ;;CAElB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-platform.util.js","sourceRoot":"","sources":["../../../src/util/get-platform/get-platform.util.ts"],"names":[],"mappings":";;;AAAA,iCAAiC;AACjC,uBAAuB;AACZ,QAAA,QAAQ,GAAG;IAClB,EAAE,EAAE,KAAK;CACZ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-platform.util.native.d.ts","sourceRoot":"","sources":["../../../src/util/get-platform/get-platform.util.native.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,QAAQ,KAAa,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Platform = void 0;
|
|
4
|
+
// eslint-disable-next-line @typescript-eslint/no-require-imports,node/no-missing-require,@typescript-eslint/no-var-requires,@typescript-eslint/no-unsafe-assignment,node/no-extraneous-require
|
|
5
|
+
const { Platform: RNPlatform } = require('react-native');
|
|
6
|
+
// HINT: This is a hack
|
|
7
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
8
|
+
exports.Platform = RNPlatform;
|
|
9
|
+
//# sourceMappingURL=get-platform.util.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-platform.util.native.js","sourceRoot":"","sources":["../../../src/util/get-platform/get-platform.util.native.ts"],"names":[],"mappings":";;;AAAA,+LAA+L;AAC/L,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;AAEzD,uBAAuB;AACvB,mEAAmE;AACtD,QAAA,QAAQ,GAAG,UAAU,CAAC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getTestID = void 0;
|
|
4
4
|
const shared_1 = require("@rnw-community/shared");
|
|
5
5
|
const config_1 = require("../../config");
|
|
6
|
-
const get_platform_util_1 = require("../get-platform.util");
|
|
6
|
+
const get_platform_util_1 = require("../get-platform/get-platform.util");
|
|
7
7
|
const isWebTestIDProps = (props) => config_1.WebSelectorConfig in props && (0, shared_1.isDefined)(props[config_1.WebSelectorConfig]);
|
|
8
8
|
/**
|
|
9
9
|
* Read testID field from platform specific TestID props generated by setTestID
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-test-id.js","sourceRoot":"","sources":["../../../src/util/get-test-id/get-test-id.ts"],"names":[],"mappings":";;;AAAA,kDAAoE;AAEpE,yCAAiD;AACjD,
|
|
1
|
+
{"version":3,"file":"get-test-id.js","sourceRoot":"","sources":["../../../src/util/get-test-id/get-test-id.ts"],"names":[],"mappings":";;;AAAA,kDAAoE;AAEpE,yCAAiD;AACjD,yEAA6D;AAI7D,MAAM,gBAAgB,GAAG,CAAC,KAAwD,EAAqC,EAAE,CACrH,0BAAiB,IAAI,KAAK,IAAI,IAAA,kBAAS,EAAC,KAAK,CAAC,0BAAiB,CAAC,CAAC,CAAC;AAEtE;;;;;;;;GAQG;AACI,MAAM,SAAS,GAAG,CAAC,KAAwD,EAAE,aAAa,GAAG,EAAE,EAAU,EAAE;IAC9G,IAAI,4BAAQ,CAAC,EAAE,KAAK,KAAK,IAAI,gBAAgB,CAAC,KAAK,CAAC,EAAE;QAClD,OAAO,KAAK,CAAC,0BAAiB,CAAC,CAAC;KACnC;SAAM,IAAI,IAAA,yBAAgB,EAAC,KAAK,CAAC,MAAM,CAAC,EAAE;QACvC,OAAO,KAAK,CAAC,MAAM,CAAC;KACvB;IAED,OAAO,aAAa,CAAC;AACzB,CAAC,CAAC;AARW,QAAA,SAAS,aAQpB"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.setTestID = void 0;
|
|
4
4
|
const config_1 = require("../../config");
|
|
5
|
-
const get_platform_util_1 = require("../get-platform.util");
|
|
5
|
+
const get_platform_util_1 = require("../get-platform/get-platform.util");
|
|
6
6
|
/**
|
|
7
7
|
* Get WEB, IOS and Android supported object with TestID fields.
|
|
8
8
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-test-id.js","sourceRoot":"","sources":["../../../src/util/set-test-id/set-test-id.ts"],"names":[],"mappings":";;;AAAA,yCAAiD;AACjD,
|
|
1
|
+
{"version":3,"file":"set-test-id.js","sourceRoot":"","sources":["../../../src/util/set-test-id/set-test-id.ts"],"names":[],"mappings":";;;AAAA,yCAAiD;AACjD,yEAA6D;AAI7D;;;;;;GAMG;AACI,MAAM,SAAS,GAAG,CAAC,GAAG,IAA4B,EAAqD,EAAE;IAC5G,MAAM,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAE9B,IAAI,4BAAQ,CAAC,EAAE,KAAK,KAAK,EAAE;QACvB,OAAO,EAAE,CAAC,0BAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;KAC1C;SAAM,IAAI,4BAAQ,CAAC,EAAE,KAAK,KAAK,EAAE;QAC9B,OAAO,EAAE,MAAM,EAAE,CAAC;KACrB;IAED,OAAO,EAAE,kBAAkB,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;AAClD,CAAC,CAAC;AAVW,QAAA,SAAS,aAUpB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rnw-community/wdio",
|
|
3
|
-
"version": "0.35.
|
|
3
|
+
"version": "0.35.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "WDIO commands, page objects and utils",
|
|
6
6
|
"keywords": [
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"engines": {
|
|
37
37
|
"node": ">=14.0.0"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "d30293947029ef6eb4fc6c754fa9efd68f5cd5e9",
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@rnw-community/shared": "^0.8.0"
|
|
42
42
|
},
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-platform.util.d.ts","sourceRoot":"","sources":["../../src/util/get-platform.util.ts"],"names":[],"mappings":"AACA,eAAO,IAAI,QAAQ;;CAElB,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Platform = void 0;
|
|
4
|
-
// HINT: This is a hack
|
|
5
|
-
exports.Platform = {
|
|
6
|
-
OS: 'web',
|
|
7
|
-
};
|
|
8
|
-
try {
|
|
9
|
-
// eslint-disable-next-line @typescript-eslint/no-require-imports,node/no-missing-require,@typescript-eslint/no-var-requires,@typescript-eslint/no-unsafe-assignment,node/no-extraneous-require
|
|
10
|
-
const { Platform: RNPlatform } = require('react-native');
|
|
11
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
12
|
-
exports.Platform = RNPlatform;
|
|
13
|
-
}
|
|
14
|
-
catch (e) { }
|
|
15
|
-
//# sourceMappingURL=get-platform.util.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-platform.util.js","sourceRoot":"","sources":["../../src/util/get-platform.util.ts"],"names":[],"mappings":";;;AAAA,uBAAuB;AACZ,QAAA,QAAQ,GAAG;IAClB,EAAE,EAAE,KAAK;CACZ,CAAC;AAEF,IAAI;IACA,+LAA+L;IAC/L,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;IAEzD,mEAAmE;IACnE,gBAAQ,GAAG,UAAU,CAAC;CACzB;AAAC,OAAO,CAAC,EAAE,GAAE"}
|