@rnw-community/wdio 0.82.0 → 0.83.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/dist/cjs/add-wdio-commands.js +2 -2
- package/dist/cjs/add-wdio-commands.js.map +1 -1
- package/dist/cjs/command/by-index.command.d.ts.map +1 -1
- package/dist/cjs/command/by-index.command.js.map +1 -1
- package/dist/cjs/command/mobile/open-deep-link.command.d.ts.map +1 -1
- package/dist/cjs/command/mobile/open-deep-link.command.js +2 -4
- package/dist/cjs/command/mobile/open-deep-link.command.js.map +1 -1
- package/dist/cjs/command/test-id-index.command.d.ts.map +1 -1
- package/dist/cjs/command/test-id-index.command.js.map +1 -1
- package/dist/cjs/component/component.d.ts +3 -3
- package/dist/cjs/component/component.d.ts.map +1 -1
- package/dist/cjs/component/get-exteded-component/get-extended-component.d.ts.map +1 -1
- package/dist/cjs/component/get-exteded-component/get-extended-component.js +1 -3
- package/dist/cjs/component/get-exteded-component/get-extended-component.js.map +1 -1
- package/dist/cjs/rooted-component/rooted-component.d.ts +4 -4
- package/dist/cjs/rooted-component/rooted-component.d.ts.map +1 -1
- package/dist/cjs/rooted-component/rooted-component.js +1 -5
- package/dist/cjs/rooted-component/rooted-component.js.map +1 -1
- package/dist/cjs/selector-element/selector-element.d.ts +3 -3
- package/dist/cjs/selector-element/selector-element.d.ts.map +1 -1
- package/dist/cjs/type/el-selector-fn.type.d.ts +1 -1
- package/dist/cjs/type/el-selector-fn.type.d.ts.map +1 -1
- package/dist/cjs/type/els-index-selector-fn.type.d.ts +1 -1
- package/dist/cjs/type/els-index-selector-fn.type.d.ts.map +1 -1
- package/dist/cjs/type/els-selector-fn.type.d.ts +1 -1
- package/dist/cjs/type/els-selector-fn.type.d.ts.map +1 -1
- package/dist/cjs/type/selector-context.type.d.ts +1 -1
- package/dist/cjs/type/selector-context.type.d.ts.map +1 -1
- package/dist/esm/add-wdio-commands.js +2 -2
- package/dist/esm/add-wdio-commands.js.map +1 -1
- package/dist/esm/command/by-index.command.d.ts.map +1 -1
- package/dist/esm/command/by-index.command.js.map +1 -1
- package/dist/esm/command/mobile/open-deep-link.command.d.ts.map +1 -1
- package/dist/esm/command/mobile/open-deep-link.command.js +2 -4
- package/dist/esm/command/mobile/open-deep-link.command.js.map +1 -1
- package/dist/esm/command/test-id-index.command.d.ts.map +1 -1
- package/dist/esm/command/test-id-index.command.js.map +1 -1
- package/dist/esm/component/component.d.ts +3 -3
- package/dist/esm/component/component.d.ts.map +1 -1
- package/dist/esm/component/get-exteded-component/get-extended-component.d.ts.map +1 -1
- package/dist/esm/component/get-exteded-component/get-extended-component.js +1 -3
- package/dist/esm/component/get-exteded-component/get-extended-component.js.map +1 -1
- package/dist/esm/rooted-component/rooted-component.d.ts +4 -4
- package/dist/esm/rooted-component/rooted-component.d.ts.map +1 -1
- package/dist/esm/rooted-component/rooted-component.js +2 -6
- package/dist/esm/rooted-component/rooted-component.js.map +1 -1
- package/dist/esm/selector-element/selector-element.d.ts +3 -3
- package/dist/esm/selector-element/selector-element.d.ts.map +1 -1
- package/dist/esm/type/el-selector-fn.type.d.ts +1 -1
- package/dist/esm/type/el-selector-fn.type.d.ts.map +1 -1
- package/dist/esm/type/els-index-selector-fn.type.d.ts +1 -1
- package/dist/esm/type/els-index-selector-fn.type.d.ts.map +1 -1
- package/dist/esm/type/els-selector-fn.type.d.ts +1 -1
- package/dist/esm/type/els-selector-fn.type.d.ts.map +1 -1
- package/dist/esm/type/selector-context.type.d.ts +1 -1
- package/dist/esm/type/selector-context.type.d.ts.map +1 -1
- package/package.json +6 -6
|
@@ -9,10 +9,10 @@ const addWdioCommands = (context) => {
|
|
|
9
9
|
context.addCommand('testID$$', command_1.testID$$, false);
|
|
10
10
|
context.addCommand('openDeepLink', command_1.openDeepLinkCommand, false);
|
|
11
11
|
// HINT: Element commands
|
|
12
|
-
context.addCommand('testID$',
|
|
12
|
+
context.addCommand('testID$', function TestID$(testID) {
|
|
13
13
|
return (0, command_1.testID$)(testID, this);
|
|
14
14
|
}, true);
|
|
15
|
-
context.addCommand('testID$$',
|
|
15
|
+
context.addCommand('testID$$', function TestID$$(testID) {
|
|
16
16
|
return (0, command_1.testID$$)(testID, this);
|
|
17
17
|
}, true);
|
|
18
18
|
context.addCommand('slowInput', command_1.slowInputCommand, true);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-wdio-commands.js","sourceRoot":"","sources":["../../src/add-wdio-commands.ts"],"names":[],"mappings":";;;AAAA,uCAOmB;AACnB,2DAAuD;AAIhD,MAAM,eAAe,GAAG,CAAC,OAAgB,EAAQ,EAAE;IACtD,yBAAyB;IACzB,OAAO,CAAC,UAAU,CAAC,SAAS,EAAE,iBAAO,EAAE,KAAK,CAAC,CAAC;IAC9C,OAAO,CAAC,UAAU,CAAC,UAAU,EAAE,kBAAQ,EAAE,KAAK,CAAC,CAAC;IAChD,OAAO,CAAC,UAAU,CAAC,cAAc,EAAE,6BAAmB,EAAE,KAAK,CAAC,CAAC;IAE/D,yBAAyB;IACzB,OAAO,CAAC,UAAU,CACd,SAAS,EACT,
|
|
1
|
+
{"version":3,"file":"add-wdio-commands.js","sourceRoot":"","sources":["../../src/add-wdio-commands.ts"],"names":[],"mappings":";;;AAAA,uCAOmB;AACnB,2DAAuD;AAIhD,MAAM,eAAe,GAAG,CAAC,OAAgB,EAAQ,EAAE;IACtD,yBAAyB;IACzB,OAAO,CAAC,UAAU,CAAC,SAAS,EAAE,iBAAO,EAAE,KAAK,CAAC,CAAC;IAC9C,OAAO,CAAC,UAAU,CAAC,UAAU,EAAE,kBAAQ,EAAE,KAAK,CAAC,CAAC;IAChD,OAAO,CAAC,UAAU,CAAC,cAAc,EAAE,6BAAmB,EAAE,KAAK,CAAC,CAAC;IAE/D,yBAAyB;IACzB,OAAO,CAAC,UAAU,CACd,SAAS,EACT,SAAS,OAAO,CAA4B,MAAc;QACtD,OAAO,IAAA,iBAAO,EAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IACjC,CAAC,EACD,IAAI,CACP,CAAC;IACF,OAAO,CAAC,UAAU,CACd,UAAU,EACV,SAAS,QAAQ,CAA4B,MAAc;QACvD,OAAO,IAAA,kBAAQ,EAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IAClC,CAAC,EACD,IAAI,CACP,CAAC;IACF,OAAO,CAAC,UAAU,CAAC,WAAW,EAAE,0BAAgB,EAAE,IAAI,CAAC,CAAC;IACxD,OAAO,CAAC,UAAU,CAAC,YAAY,EAAE,2BAAiB,EAAE,IAAI,CAAC,CAAC;IAC1D,OAAO,CAAC,UAAU,CAAC,eAAe,EAAE,8BAAoB,EAAE,IAAI,CAAC,CAAC;IAChE,OAAO,CAAC,UAAU,CAAC,OAAO,EAAE,4BAAY,EAAE,IAAI,CAAC,CAAC;AACpD,CAAC,CAAC;AAzBW,QAAA,eAAe,mBAyB1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"by-index.command.d.ts","sourceRoot":"","sources":["../../../src/command/by-index.command.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"by-index.command.d.ts","sourceRoot":"","sources":["../../../src/command/by-index.command.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,eAAO,MAAM,SAAS,EAAE,kBAAwF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"by-index.command.js","sourceRoot":"","sources":["../../../src/command/by-index.command.ts"],"names":[],"mappings":";;;AAAA,2CAAwC;
|
|
1
|
+
{"version":3,"file":"by-index.command.js","sourceRoot":"","sources":["../../../src/command/by-index.command.ts"],"names":[],"mappings":";;;AAAA,2CAAwC;AAIjC,MAAM,SAAS,GAAuB,CAAC,QAAQ,EAAE,KAAK,EAAE,OAAO,GAAG,iBAAO,EAAE,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC,CAAC;AAApG,QAAA,SAAS,aAA2F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"open-deep-link.command.d.ts","sourceRoot":"","sources":["../../../../src/command/mobile/open-deep-link.command.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"open-deep-link.command.d.ts","sourceRoot":"","sources":["../../../../src/command/mobile/open-deep-link.command.ts"],"names":[],"mappings":"AASA;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,QACvB,MAAM,gBACE,MAAM,KACpB,OAAO,CAAC,IAAI,CAuBd,CAAC"}
|
|
@@ -4,9 +4,7 @@ exports.openDeepLinkCommand = void 0;
|
|
|
4
4
|
const globals_1 = require("@wdio/globals");
|
|
5
5
|
const shared_1 = require("@rnw-community/shared");
|
|
6
6
|
const capability_1 = require("../../capability");
|
|
7
|
-
const getPackageNameFromCapabilities = (context) =>
|
|
8
|
-
// @ts-expect-error TODO: Validate if it is working?
|
|
9
|
-
'appPackage' in context.capabilities ? context.capabilities.appPackage : '';
|
|
7
|
+
const getPackageNameFromCapabilities = (context) => 'appPackage' in context.capabilities ? context.capabilities.appPackage : '';
|
|
10
8
|
/**
|
|
11
9
|
* Create a cross platform solution for opening a deep link
|
|
12
10
|
*
|
|
@@ -28,7 +26,7 @@ const openDeepLinkCommand = async (url, packageName = getPackageNameFromCapabili
|
|
|
28
26
|
await addressBar.click();
|
|
29
27
|
await globals_1.browser.waitUntil(async () => globals_1.browser.isKeyboardShown());
|
|
30
28
|
}
|
|
31
|
-
const urlField =
|
|
29
|
+
const urlField = (0, globals_1.$)(`//XCUIElementTypeApplication[@name="Safari"]/XCUIElementTypeWindow[3]/XCUIElementTypeOther/XCUIElementTypeOther/XCUIElementTypeOther[1]`);
|
|
32
30
|
await urlField.setValue(`${url}\uE007`);
|
|
33
31
|
}
|
|
34
32
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"open-deep-link.command.js","sourceRoot":"","sources":["../../../../src/command/mobile/open-deep-link.command.ts"],"names":[],"mappings":";;;AAAA,2CAA2C;AAE3C,kDAAsD;AAEtD,iDAAwE;AAExE,MAAM,8BAA8B,GAAG,CAAC,OAA4B,EAAU,EAAE
|
|
1
|
+
{"version":3,"file":"open-deep-link.command.js","sourceRoot":"","sources":["../../../../src/command/mobile/open-deep-link.command.ts"],"names":[],"mappings":";;;AAAA,2CAA2C;AAE3C,kDAAsD;AAEtD,iDAAwE;AAExE,MAAM,8BAA8B,GAAG,CAAC,OAA4B,EAAU,EAAE,CAC5E,YAAY,IAAI,OAAO,CAAC,YAAY,CAAC,CAAC,CAAE,OAAO,CAAC,YAAY,CAAC,UAAqB,CAAC,CAAC,CAAC,EAAE,CAAC;AAE5F;;;;;GAKG;AACI,MAAM,mBAAmB,GAAG,KAAK,EACpC,GAAW,EACX,cAAsB,8BAA8B,CAAC,iBAAO,CAAC,EAChD,EAAE;IACf,IAAI,IAAA,gCAAmB,GAAE,EAAE,CAAC;QACxB,IAAI,IAAA,sBAAa,EAAC,WAAW,CAAC,EAAE,CAAC;YAC7B,MAAM,IAAI,KAAK,CAAC,uDAAuD,CAAC,CAAC;QAC7E,CAAC;QAED,MAAM,iBAAO,CAAC,OAAO,CAAC,iBAAiB,EAAE,EAAE,GAAG,EAAE,OAAO,EAAE,WAAW,EAAE,CAAC,CAAC;IAC5E,CAAC;SAAM,IAAI,IAAA,4BAAe,GAAE,EAAE,CAAC;QAC3B,sDAAsD;QACtD,MAAM,iBAAO,CAAC,OAAO,CAAC,mBAAmB,EAAE,EAAE,QAAQ,EAAE,wBAAwB,EAAE,CAAC,CAAC;QAEnF,MAAM,UAAU,GAAG,IAAA,WAAC,EAAC,sEAAsE,CAAC,CAAC;QAE7F,IAAI,CAAC,CAAC,MAAM,iBAAO,CAAC,eAAe,EAAE,CAAC,EAAE,CAAC;YACrC,MAAM,UAAU,CAAC,KAAK,EAAE,CAAC;YACzB,MAAM,iBAAO,CAAC,SAAS,CAAC,KAAK,IAAI,EAAE,CAAC,iBAAO,CAAC,eAAe,EAAE,CAAC,CAAC;QACnE,CAAC;QAED,MAAM,QAAQ,GAAG,IAAA,WAAC,EACd,yIAAyI,CAC5I,CAAC;QACF,MAAM,QAAQ,CAAC,QAAQ,CAAC,GAAG,GAAG,QAAQ,CAAC,CAAC;IAC5C,CAAC;AACL,CAAC,CAAC;AA1BW,QAAA,mBAAmB,uBA0B9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-id-index.command.d.ts","sourceRoot":"","sources":["../../../src/command/test-id-index.command.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"test-id-index.command.d.ts","sourceRoot":"","sources":["../../../src/command/test-id-index.command.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,eAAO,MAAM,aAAa,EAAE,kBACiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-id-index.command.js","sourceRoot":"","sources":["../../../src/command/test-id-index.command.ts"],"names":[],"mappings":";;;AAAA,2CAAwC;AAExC,0CAA6C;
|
|
1
|
+
{"version":3,"file":"test-id-index.command.js","sourceRoot":"","sources":["../../../src/command/test-id-index.command.ts"],"names":[],"mappings":";;;AAAA,2CAAwC;AAExC,0CAA6C;AAItC,MAAM,aAAa,GAAuB,CAAC,MAAM,EAAE,KAAK,EAAE,OAAO,GAAG,iBAAO,EAAE,EAAE,CAClF,OAAO,CAAC,EAAE,CAAC,IAAA,yBAAc,EAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;AADjC,QAAA,aAAa,iBACoB"}
|
|
@@ -6,9 +6,9 @@ export declare class Component<T = any> {
|
|
|
6
6
|
protected parentComponents: Component[];
|
|
7
7
|
constructor(config: ComponentConfigInterface, selectors: T);
|
|
8
8
|
addParentComponent(component: Component): void;
|
|
9
|
-
getChildEl(selector: string): ChainablePromiseElement
|
|
10
|
-
getChildEls(selector: string): ChainablePromiseArray
|
|
11
|
-
getChildElByIdx(selector: string, idx: number): ChainablePromiseElement
|
|
9
|
+
getChildEl(selector: string): ChainablePromiseElement;
|
|
10
|
+
getChildEls(selector: string): ChainablePromiseArray;
|
|
11
|
+
getChildElByIdx(selector: string, idx: number): ChainablePromiseElement;
|
|
12
12
|
getComponentFromEls<E>(selector: string, componentFn: (el: WebdriverIO.Element) => Promise<E>, predicateFn: (component: E) => Promise<boolean>): Promise<E>;
|
|
13
13
|
protected proxyGet(field: string, receiver: unknown, notFoundFn?: () => unknown): unknown;
|
|
14
14
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../../src/component/component.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AACxD,OAAO,KAAK,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAGlF,qBAAa,SAAS,CAAC,CAAC,GAAG,GAAG;IAItB,SAAS,CAAC,MAAM,EAAE,wBAAwB;IAC1C,SAAS,CAAC,SAAS,EAAE,CAAC;IAJ1B,SAAS,CAAC,gBAAgB,EAAE,SAAS,EAAE,CAAM;gBAG/B,MAAM,EAAE,wBAAwB,EAChC,SAAS,EAAE,CAAC;IAW1B,kBAAkB,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI;IAI9C,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,uBAAuB
|
|
1
|
+
{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../../src/component/component.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AACxD,OAAO,KAAK,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAGlF,qBAAa,SAAS,CAAC,CAAC,GAAG,GAAG;IAItB,SAAS,CAAC,MAAM,EAAE,wBAAwB;IAC1C,SAAS,CAAC,SAAS,EAAE,CAAC;IAJ1B,SAAS,CAAC,gBAAgB,EAAE,SAAS,EAAE,CAAM;gBAG/B,MAAM,EAAE,wBAAwB,EAChC,SAAS,EAAE,CAAC;IAW1B,kBAAkB,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI;IAI9C,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,uBAAuB;IAIrD,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,qBAAqB;IAIpD,eAAe,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,uBAAuB;IAIjE,mBAAmB,CAAC,CAAC,EACvB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,CAAC,EAAE,EAAE,WAAW,CAAC,OAAO,KAAK,OAAO,CAAC,CAAC,CAAC,EACpD,WAAW,EAAE,CAAC,SAAS,EAAE,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC,GAChD,OAAO,CAAC,CAAC,CAAC;IAYb,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,UAAU,CAAC,EAAE,MAAM,OAAO,GAAG,OAAO;CAoB5F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-extended-component.d.ts","sourceRoot":"","sources":["../../../../src/component/get-exteded-component/get-extended-component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAC;AAC7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAEvD,eAAO,MAAM,oBAAoB,GAAI,CAAC,EAAE,CAAC,SAAS,SAAS,aAC5C,CAAC,mBACK,SAAS,CAAC,CAAC,CAAC,KAC9B,0BAA0B,CAAC,CAAC,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"get-extended-component.d.ts","sourceRoot":"","sources":["../../../../src/component/get-exteded-component/get-extended-component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAC;AAC7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAEvD,eAAO,MAAM,oBAAoB,GAAI,CAAC,EAAE,CAAC,SAAS,SAAS,aAC5C,CAAC,mBACK,SAAS,CAAC,CAAC,CAAC,KAC9B,0BAA0B,CAAC,CAAC,EAAE,CAAC,CASO,CAAC"}
|
|
@@ -3,9 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getExtendedComponent = void 0;
|
|
4
4
|
const default_component_config_1 = require("../../config/default-component.config");
|
|
5
5
|
const component_1 = require("../component");
|
|
6
|
-
const getExtendedComponent = (selectors, ParentComponent) =>
|
|
7
|
-
// @ts-expect-error We use proxy for dynamic fields
|
|
8
|
-
class extends component_1.Component {
|
|
6
|
+
const getExtendedComponent = (selectors, ParentComponent) => class extends component_1.Component {
|
|
9
7
|
constructor() {
|
|
10
8
|
super((0, default_component_config_1.defaultComponentConfig)(), selectors);
|
|
11
9
|
if (ParentComponent !== component_1.Component) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-extended-component.js","sourceRoot":"","sources":["../../../../src/component/get-exteded-component/get-extended-component.ts"],"names":[],"mappings":";;;AAAA,oFAA+E;AAC/E,4CAAyC;AAKlC,MAAM,oBAAoB,GAAG,CAChC,SAAY,EACZ,eAA6B,EACG,EAAE
|
|
1
|
+
{"version":3,"file":"get-extended-component.js","sourceRoot":"","sources":["../../../../src/component/get-exteded-component/get-extended-component.ts"],"names":[],"mappings":";;;AAAA,oFAA+E;AAC/E,4CAAyC;AAKlC,MAAM,oBAAoB,GAAG,CAChC,SAAY,EACZ,eAA6B,EACG,EAAE,CAClC,KAAM,SAAQ,qBAAY;IACtB;QACI,KAAK,CAAC,IAAA,iDAAsB,GAAE,EAAE,SAAS,CAAC,CAAC;QAE3C,IAAI,eAAe,KAAK,qBAAS,EAAE,CAAC;YAChC,IAAI,CAAC,kBAAkB,CAAC,IAAI,eAAe,EAAE,CAAC,CAAC;QACnD,CAAC;IACL,CAAC;CACgC,CAAC;AAZ7B,QAAA,oBAAoB,wBAYS"}
|
|
@@ -4,9 +4,9 @@ import type { ChainablePromiseArray, ChainablePromiseElement } from 'webdriverio
|
|
|
4
4
|
export declare class RootedComponent<T = any> extends Component<T> {
|
|
5
5
|
protected readonly parentElInput: ComponentInputArg;
|
|
6
6
|
constructor(config: ComponentConfigInterface, selectors: T, parentElInput: ComponentInputArg | undefined);
|
|
7
|
-
get RootEl(): ChainablePromiseElement
|
|
8
|
-
getChildEl(selector: string): ChainablePromiseElement
|
|
9
|
-
getChildEls(selector: string): ChainablePromiseArray
|
|
10
|
-
getChildElByIdx(selector: string, idx: number): ChainablePromiseElement
|
|
7
|
+
get RootEl(): ChainablePromiseElement;
|
|
8
|
+
getChildEl(selector: string): ChainablePromiseElement;
|
|
9
|
+
getChildEls(selector: string): ChainablePromiseArray;
|
|
10
|
+
getChildElByIdx(selector: string, idx: number): ChainablePromiseElement;
|
|
11
11
|
}
|
|
12
12
|
//# sourceMappingURL=rooted-component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rooted-component.d.ts","sourceRoot":"","sources":["../../../src/rooted-component/rooted-component.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"rooted-component.d.ts","sourceRoot":"","sources":["../../../src/rooted-component/rooted-component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,OAAO,KAAK,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAC3E,OAAO,KAAK,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAGlF,qBAAa,eAAe,CAAC,CAAC,GAAG,GAAG,CAAE,SAAQ,SAAS,CAAC,CAAC,CAAC;IACtD,SAAS,CAAC,QAAQ,CAAC,aAAa,EAAE,iBAAiB,CAAC;gBAExC,MAAM,EAAE,wBAAwB,EAAE,SAAS,EAAE,CAAC,EAAE,aAAa,EAAE,iBAAiB,GAAG,SAAS;IAkCxG,IAAI,MAAM,IAAI,uBAAuB,CAEpC;IAEQ,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,uBAAuB;IAIrD,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,qBAAqB;IAIpD,eAAe,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,uBAAuB;CAGnF"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RootedComponent = void 0;
|
|
4
|
-
const globals_1 = require("@wdio/globals");
|
|
5
4
|
const shared_1 = require("@rnw-community/shared");
|
|
6
5
|
const component_1 = require("../component/component");
|
|
7
6
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
@@ -34,10 +33,7 @@ class RootedComponent extends component_1.Component {
|
|
|
34
33
|
});
|
|
35
34
|
}
|
|
36
35
|
get RootEl() {
|
|
37
|
-
|
|
38
|
-
return this.config.elSelectorFn(this.parentElInput);
|
|
39
|
-
}
|
|
40
|
-
return (0, globals_1.$)(this.parentElInput);
|
|
36
|
+
return this.config.elSelectorFn(this.parentElInput);
|
|
41
37
|
}
|
|
42
38
|
getChildEl(selector) {
|
|
43
39
|
return this.config.elSelectorFn(selector, this.RootEl);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rooted-component.js","sourceRoot":"","sources":["../../../src/rooted-component/rooted-component.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"rooted-component.js","sourceRoot":"","sources":["../../../src/rooted-component/rooted-component.ts"],"names":[],"mappings":";;;AAAA,kDAA4D;AAE5D,sDAAmD;AAKnD,8DAA8D;AAC9D,MAAa,eAAyB,SAAQ,qBAAY;IAGtD,YAAY,MAAgC,EAAE,SAAY,EAAE,aAA4C;QACpG,IAAI,CAAC,IAAA,kBAAS,EAAC,aAAa,CAAC,EAAE,CAAC;YAC5B,MAAM,IAAI,KAAK,CAAC,kFAAkF,CAAC,CAAC;QACxG,CAAC;QAED,IAAI,CAAC,IAAA,iBAAQ,EAAC,aAAa,CAAC,IAAI,KAAK,IAAI,aAAa,EAAE,CAAC;YACrD,MAAM,IAAI,KAAK,CAAC,+DAA+D,CAAC,CAAC;QACrF,CAAC;QAED,IAAI,CAAC,IAAA,iBAAQ,EAAC,aAAa,CAAC,IAAI,MAAM,IAAI,aAAa,EAAE,CAAC;YACtD,MAAM,IAAI,KAAK,CAAC,4FAA4F,CAAC,CAAC;QAClH,CAAC;QAED,KAAK,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;QAEzB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QAEnC,iDAAiD;QACjD,OAAO,IAAI,KAAK,CAAC,IAAI,EAAE;YACnB,4EAA4E;YAC5E,GAAG,CAAC,MAAM,EAAE,KAAa,EAAE,QAAQ;gBAC/B,OAAO,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,QAAQ,EAAE,GAAG,EAAE;oBACzC,IAAI,CAAC,CAAC,MAAM,EAAE,OAAO,EAAE,SAAS,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;wBAChD,+DAA+D;wBAC/D,OAAO,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;oBACvD,CAAC;oBAED,+DAA+D;oBAC/D,OAAO,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;gBAChD,CAAC,CAAC,CAAC;YACP,CAAC;SACJ,CAAC,CAAC;IACP,CAAC;IAED,IAAI,MAAM;QACN,OAAO,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;IACxD,CAAC;IAEQ,UAAU,CAAC,QAAgB;QAChC,OAAO,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;IAC3D,CAAC;IAEQ,WAAW,CAAC,QAAgB;QACjC,OAAO,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;IAC5D,CAAC;IAEQ,eAAe,CAAC,QAAgB,EAAE,GAAW;QAClD,OAAO,IAAI,CAAC,MAAM,CAAC,kBAAkB,CAAC,QAAQ,EAAE,GAAG,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;IACtE,CAAC;CACJ;AApDD,0CAoDC"}
|
|
@@ -4,8 +4,8 @@ export declare class SelectorElement {
|
|
|
4
4
|
private readonly component;
|
|
5
5
|
private readonly enumSelector;
|
|
6
6
|
constructor(component: Component, enumSelector: string);
|
|
7
|
-
el(): ChainablePromiseElement
|
|
8
|
-
els(): ChainablePromiseArray
|
|
9
|
-
byIdx(idx: number): ChainablePromiseElement
|
|
7
|
+
el(): ChainablePromiseElement;
|
|
8
|
+
els(): ChainablePromiseArray;
|
|
9
|
+
byIdx(idx: number): ChainablePromiseElement;
|
|
10
10
|
}
|
|
11
11
|
//# sourceMappingURL=selector-element.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selector-element.d.ts","sourceRoot":"","sources":["../../../src/selector-element/selector-element.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAElF,qBAAa,eAAe;IAEpB,OAAO,CAAC,QAAQ,CAAC,SAAS;IAC1B,OAAO,CAAC,QAAQ,CAAC,YAAY;gBADZ,SAAS,EAAE,SAAS,EACpB,YAAY,EAAE,MAAM;IAiBzC,EAAE,IAAI,uBAAuB
|
|
1
|
+
{"version":3,"file":"selector-element.d.ts","sourceRoot":"","sources":["../../../src/selector-element/selector-element.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAElF,qBAAa,eAAe;IAEpB,OAAO,CAAC,QAAQ,CAAC,SAAS;IAC1B,OAAO,CAAC,QAAQ,CAAC,YAAY;gBADZ,SAAS,EAAE,SAAS,EACpB,YAAY,EAAE,MAAM;IAiBzC,EAAE,IAAI,uBAAuB;IAI7B,GAAG,IAAI,qBAAqB;IAI5B,KAAK,CAAC,GAAG,EAAE,MAAM,GAAG,uBAAuB;CAG9C"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SelectorContextType } from './selector-context.type';
|
|
2
2
|
import type { ElementReference } from '@wdio/protocols/build/types';
|
|
3
3
|
import type { ChainablePromiseElement } from 'webdriverio';
|
|
4
|
-
export type ElSelectorFn = (selector: ElementReference | string, context?: SelectorContextType) => ChainablePromiseElement
|
|
4
|
+
export type ElSelectorFn = (selector: ElementReference | string, context?: SelectorContextType) => ChainablePromiseElement;
|
|
5
5
|
//# sourceMappingURL=el-selector-fn.type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"el-selector-fn.type.d.ts","sourceRoot":"","sources":["../../../src/type/el-selector-fn.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAE3D,MAAM,MAAM,YAAY,GAAG,
|
|
1
|
+
{"version":3,"file":"el-selector-fn.type.d.ts","sourceRoot":"","sources":["../../../src/type/el-selector-fn.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAE3D,MAAM,MAAM,YAAY,GAAG,CAAC,QAAQ,EAAE,gBAAgB,GAAG,MAAM,EAAE,OAAO,CAAC,EAAE,mBAAmB,KAAK,uBAAuB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { SelectorContextType } from './selector-context.type';
|
|
2
2
|
import type { ChainablePromiseElement } from 'webdriverio';
|
|
3
|
-
export type ElsIndexSelectorFn = (selector: string, index: number, context?: SelectorContextType) => ChainablePromiseElement
|
|
3
|
+
export type ElsIndexSelectorFn = (selector: string, index: number, context?: SelectorContextType) => ChainablePromiseElement;
|
|
4
4
|
//# sourceMappingURL=els-index-selector-fn.type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"els-index-selector-fn.type.d.ts","sourceRoot":"","sources":["../../../src/type/els-index-selector-fn.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAE3D,MAAM,MAAM,kBAAkB,GAAG,
|
|
1
|
+
{"version":3,"file":"els-index-selector-fn.type.d.ts","sourceRoot":"","sources":["../../../src/type/els-index-selector-fn.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAE3D,MAAM,MAAM,kBAAkB,GAAG,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,mBAAmB,KAAK,uBAAuB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SelectorContextType } from './selector-context.type';
|
|
2
2
|
import type { ElementReference } from '@wdio/protocols/build/types';
|
|
3
3
|
import type { ChainablePromiseArray } from 'webdriverio';
|
|
4
|
-
export type ElsSelectorFn = (selector: ElementReference | string, context?: SelectorContextType) => ChainablePromiseArray
|
|
4
|
+
export type ElsSelectorFn = (selector: ElementReference | string, context?: SelectorContextType) => ChainablePromiseArray;
|
|
5
5
|
//# sourceMappingURL=els-selector-fn.type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"els-selector-fn.type.d.ts","sourceRoot":"","sources":["../../../src/type/els-selector-fn.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAEzD,MAAM,MAAM,aAAa,GAAG,
|
|
1
|
+
{"version":3,"file":"els-selector-fn.type.d.ts","sourceRoot":"","sources":["../../../src/type/els-selector-fn.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAEzD,MAAM,MAAM,aAAa,GAAG,CAAC,QAAQ,EAAE,gBAAgB,GAAG,MAAM,EAAE,OAAO,CAAC,EAAE,mBAAmB,KAAK,qBAAqB,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { ChainablePromiseElement } from 'webdriverio';
|
|
2
|
-
export type SelectorContextType = ChainablePromiseElement
|
|
2
|
+
export type SelectorContextType = ChainablePromiseElement | WebdriverIO.Browser | WebdriverIO.Element;
|
|
3
3
|
//# sourceMappingURL=selector-context.type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selector-context.type.d.ts","sourceRoot":"","sources":["../../../src/type/selector-context.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAE3D,MAAM,MAAM,mBAAmB,GAAG,uBAAuB,
|
|
1
|
+
{"version":3,"file":"selector-context.type.d.ts","sourceRoot":"","sources":["../../../src/type/selector-context.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAE3D,MAAM,MAAM,mBAAmB,GAAG,uBAAuB,GAAG,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,OAAO,CAAC"}
|
|
@@ -6,10 +6,10 @@ export const addWdioCommands = (context) => {
|
|
|
6
6
|
context.addCommand('testID$$', testID$$, false);
|
|
7
7
|
context.addCommand('openDeepLink', openDeepLinkCommand, false);
|
|
8
8
|
// HINT: Element commands
|
|
9
|
-
context.addCommand('testID$',
|
|
9
|
+
context.addCommand('testID$', function TestID$(testID) {
|
|
10
10
|
return testID$(testID, this);
|
|
11
11
|
}, true);
|
|
12
|
-
context.addCommand('testID$$',
|
|
12
|
+
context.addCommand('testID$$', function TestID$$(testID) {
|
|
13
13
|
return testID$$(testID, this);
|
|
14
14
|
}, true);
|
|
15
15
|
context.addCommand('slowInput', slowInputCommand, true);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-wdio-commands.js","sourceRoot":"","sources":["../../src/add-wdio-commands.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,iBAAiB,EACjB,mBAAmB,EACnB,oBAAoB,EACpB,gBAAgB,EAChB,OAAO,EACP,QAAQ,GACX,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAIvD,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,OAAgB,EAAQ,EAAE;IACtD,yBAAyB;IACzB,OAAO,CAAC,UAAU,CAAC,SAAS,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC;IAC9C,OAAO,CAAC,UAAU,CAAC,UAAU,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC;IAChD,OAAO,CAAC,UAAU,CAAC,cAAc,EAAE,mBAAmB,EAAE,KAAK,CAAC,CAAC;IAE/D,yBAAyB;IACzB,OAAO,CAAC,UAAU,CACd,SAAS,EACT,
|
|
1
|
+
{"version":3,"file":"add-wdio-commands.js","sourceRoot":"","sources":["../../src/add-wdio-commands.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,iBAAiB,EACjB,mBAAmB,EACnB,oBAAoB,EACpB,gBAAgB,EAChB,OAAO,EACP,QAAQ,GACX,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAIvD,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,OAAgB,EAAQ,EAAE;IACtD,yBAAyB;IACzB,OAAO,CAAC,UAAU,CAAC,SAAS,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC;IAC9C,OAAO,CAAC,UAAU,CAAC,UAAU,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC;IAChD,OAAO,CAAC,UAAU,CAAC,cAAc,EAAE,mBAAmB,EAAE,KAAK,CAAC,CAAC;IAE/D,yBAAyB;IACzB,OAAO,CAAC,UAAU,CACd,SAAS,EACT,SAAS,OAAO,CAA4B,MAAc;QACtD,OAAO,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IACjC,CAAC,EACD,IAAI,CACP,CAAC;IACF,OAAO,CAAC,UAAU,CACd,UAAU,EACV,SAAS,QAAQ,CAA4B,MAAc;QACvD,OAAO,QAAQ,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IAClC,CAAC,EACD,IAAI,CACP,CAAC;IACF,OAAO,CAAC,UAAU,CAAC,WAAW,EAAE,gBAAgB,EAAE,IAAI,CAAC,CAAC;IACxD,OAAO,CAAC,UAAU,CAAC,YAAY,EAAE,iBAAiB,EAAE,IAAI,CAAC,CAAC;IAC1D,OAAO,CAAC,UAAU,CAAC,eAAe,EAAE,oBAAoB,EAAE,IAAI,CAAC,CAAC;IAChE,OAAO,CAAC,UAAU,CAAC,OAAO,EAAE,YAAY,EAAE,IAAI,CAAC,CAAC;AACpD,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"by-index.command.d.ts","sourceRoot":"","sources":["../../../src/command/by-index.command.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"by-index.command.d.ts","sourceRoot":"","sources":["../../../src/command/by-index.command.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,eAAO,MAAM,SAAS,EAAE,kBAAwF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"by-index.command.js","sourceRoot":"","sources":["../../../src/command/by-index.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"by-index.command.js","sourceRoot":"","sources":["../../../src/command/by-index.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAIxC,MAAM,CAAC,MAAM,SAAS,GAAuB,CAAC,QAAQ,EAAE,KAAK,EAAE,OAAO,GAAG,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"open-deep-link.command.d.ts","sourceRoot":"","sources":["../../../../src/command/mobile/open-deep-link.command.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"open-deep-link.command.d.ts","sourceRoot":"","sources":["../../../../src/command/mobile/open-deep-link.command.ts"],"names":[],"mappings":"AASA;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,QACvB,MAAM,gBACE,MAAM,KACpB,OAAO,CAAC,IAAI,CAuBd,CAAC"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { $, browser } from '@wdio/globals';
|
|
2
2
|
import { isEmptyString } from '@rnw-community/shared';
|
|
3
3
|
import { isAndroidCapability, isIOSCapability } from '../../capability';
|
|
4
|
-
const getPackageNameFromCapabilities = (context) =>
|
|
5
|
-
// @ts-expect-error TODO: Validate if it is working?
|
|
6
|
-
'appPackage' in context.capabilities ? context.capabilities.appPackage : '';
|
|
4
|
+
const getPackageNameFromCapabilities = (context) => 'appPackage' in context.capabilities ? context.capabilities.appPackage : '';
|
|
7
5
|
/**
|
|
8
6
|
* Create a cross platform solution for opening a deep link
|
|
9
7
|
*
|
|
@@ -25,7 +23,7 @@ export const openDeepLinkCommand = async (url, packageName = getPackageNameFromC
|
|
|
25
23
|
await addressBar.click();
|
|
26
24
|
await browser.waitUntil(async () => browser.isKeyboardShown());
|
|
27
25
|
}
|
|
28
|
-
const urlField =
|
|
26
|
+
const urlField = $(`//XCUIElementTypeApplication[@name="Safari"]/XCUIElementTypeWindow[3]/XCUIElementTypeOther/XCUIElementTypeOther/XCUIElementTypeOther[1]`);
|
|
29
27
|
await urlField.setValue(`${url}\uE007`);
|
|
30
28
|
}
|
|
31
29
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"open-deep-link.command.js","sourceRoot":"","sources":["../../../../src/command/mobile/open-deep-link.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAExE,MAAM,8BAA8B,GAAG,CAAC,OAA4B,EAAU,EAAE
|
|
1
|
+
{"version":3,"file":"open-deep-link.command.js","sourceRoot":"","sources":["../../../../src/command/mobile/open-deep-link.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAExE,MAAM,8BAA8B,GAAG,CAAC,OAA4B,EAAU,EAAE,CAC5E,YAAY,IAAI,OAAO,CAAC,YAAY,CAAC,CAAC,CAAE,OAAO,CAAC,YAAY,CAAC,UAAqB,CAAC,CAAC,CAAC,EAAE,CAAC;AAE5F;;;;;GAKG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,KAAK,EACpC,GAAW,EACX,cAAsB,8BAA8B,CAAC,OAAO,CAAC,EAChD,EAAE;IACf,IAAI,mBAAmB,EAAE,EAAE,CAAC;QACxB,IAAI,aAAa,CAAC,WAAW,CAAC,EAAE,CAAC;YAC7B,MAAM,IAAI,KAAK,CAAC,uDAAuD,CAAC,CAAC;QAC7E,CAAC;QAED,MAAM,OAAO,CAAC,OAAO,CAAC,iBAAiB,EAAE,EAAE,GAAG,EAAE,OAAO,EAAE,WAAW,EAAE,CAAC,CAAC;IAC5E,CAAC;SAAM,IAAI,eAAe,EAAE,EAAE,CAAC;QAC3B,sDAAsD;QACtD,MAAM,OAAO,CAAC,OAAO,CAAC,mBAAmB,EAAE,EAAE,QAAQ,EAAE,wBAAwB,EAAE,CAAC,CAAC;QAEnF,MAAM,UAAU,GAAG,CAAC,CAAC,sEAAsE,CAAC,CAAC;QAE7F,IAAI,CAAC,CAAC,MAAM,OAAO,CAAC,eAAe,EAAE,CAAC,EAAE,CAAC;YACrC,MAAM,UAAU,CAAC,KAAK,EAAE,CAAC;YACzB,MAAM,OAAO,CAAC,SAAS,CAAC,KAAK,IAAI,EAAE,CAAC,OAAO,CAAC,eAAe,EAAE,CAAC,CAAC;QACnE,CAAC;QAED,MAAM,QAAQ,GAAG,CAAC,CACd,yIAAyI,CAC5I,CAAC;QACF,MAAM,QAAQ,CAAC,QAAQ,CAAC,GAAG,GAAG,QAAQ,CAAC,CAAC;IAC5C,CAAC;AACL,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-id-index.command.d.ts","sourceRoot":"","sources":["../../../src/command/test-id-index.command.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"test-id-index.command.d.ts","sourceRoot":"","sources":["../../../src/command/test-id-index.command.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,eAAO,MAAM,aAAa,EAAE,kBACiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-id-index.command.js","sourceRoot":"","sources":["../../../src/command/test-id-index.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"test-id-index.command.js","sourceRoot":"","sources":["../../../src/command/test-id-index.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAI7C,MAAM,CAAC,MAAM,aAAa,GAAuB,CAAC,MAAM,EAAE,KAAK,EAAE,OAAO,GAAG,OAAO,EAAE,EAAE,CAClF,OAAO,CAAC,EAAE,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -6,9 +6,9 @@ export declare class Component<T = any> {
|
|
|
6
6
|
protected parentComponents: Component[];
|
|
7
7
|
constructor(config: ComponentConfigInterface, selectors: T);
|
|
8
8
|
addParentComponent(component: Component): void;
|
|
9
|
-
getChildEl(selector: string): ChainablePromiseElement
|
|
10
|
-
getChildEls(selector: string): ChainablePromiseArray
|
|
11
|
-
getChildElByIdx(selector: string, idx: number): ChainablePromiseElement
|
|
9
|
+
getChildEl(selector: string): ChainablePromiseElement;
|
|
10
|
+
getChildEls(selector: string): ChainablePromiseArray;
|
|
11
|
+
getChildElByIdx(selector: string, idx: number): ChainablePromiseElement;
|
|
12
12
|
getComponentFromEls<E>(selector: string, componentFn: (el: WebdriverIO.Element) => Promise<E>, predicateFn: (component: E) => Promise<boolean>): Promise<E>;
|
|
13
13
|
protected proxyGet(field: string, receiver: unknown, notFoundFn?: () => unknown): unknown;
|
|
14
14
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../../src/component/component.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AACxD,OAAO,KAAK,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAGlF,qBAAa,SAAS,CAAC,CAAC,GAAG,GAAG;IAItB,SAAS,CAAC,MAAM,EAAE,wBAAwB;IAC1C,SAAS,CAAC,SAAS,EAAE,CAAC;IAJ1B,SAAS,CAAC,gBAAgB,EAAE,SAAS,EAAE,CAAM;gBAG/B,MAAM,EAAE,wBAAwB,EAChC,SAAS,EAAE,CAAC;IAW1B,kBAAkB,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI;IAI9C,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,uBAAuB
|
|
1
|
+
{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../../src/component/component.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AACxD,OAAO,KAAK,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAGlF,qBAAa,SAAS,CAAC,CAAC,GAAG,GAAG;IAItB,SAAS,CAAC,MAAM,EAAE,wBAAwB;IAC1C,SAAS,CAAC,SAAS,EAAE,CAAC;IAJ1B,SAAS,CAAC,gBAAgB,EAAE,SAAS,EAAE,CAAM;gBAG/B,MAAM,EAAE,wBAAwB,EAChC,SAAS,EAAE,CAAC;IAW1B,kBAAkB,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI;IAI9C,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,uBAAuB;IAIrD,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,qBAAqB;IAIpD,eAAe,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,uBAAuB;IAIjE,mBAAmB,CAAC,CAAC,EACvB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,CAAC,EAAE,EAAE,WAAW,CAAC,OAAO,KAAK,OAAO,CAAC,CAAC,CAAC,EACpD,WAAW,EAAE,CAAC,SAAS,EAAE,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC,GAChD,OAAO,CAAC,CAAC,CAAC;IAYb,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,UAAU,CAAC,EAAE,MAAM,OAAO,GAAG,OAAO;CAoB5F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-extended-component.d.ts","sourceRoot":"","sources":["../../../../src/component/get-exteded-component/get-extended-component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAC;AAC7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAEvD,eAAO,MAAM,oBAAoB,GAAI,CAAC,EAAE,CAAC,SAAS,SAAS,aAC5C,CAAC,mBACK,SAAS,CAAC,CAAC,CAAC,KAC9B,0BAA0B,CAAC,CAAC,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"get-extended-component.d.ts","sourceRoot":"","sources":["../../../../src/component/get-exteded-component/get-extended-component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAC;AAC7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAEvD,eAAO,MAAM,oBAAoB,GAAI,CAAC,EAAE,CAAC,SAAS,SAAS,aAC5C,CAAC,mBACK,SAAS,CAAC,CAAC,CAAC,KAC9B,0BAA0B,CAAC,CAAC,EAAE,CAAC,CASO,CAAC"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { defaultComponentConfig } from '../../config/default-component.config';
|
|
2
2
|
import { Component } from '../component';
|
|
3
|
-
export const getExtendedComponent = (selectors, ParentComponent) =>
|
|
4
|
-
// @ts-expect-error We use proxy for dynamic fields
|
|
5
|
-
class extends Component {
|
|
3
|
+
export const getExtendedComponent = (selectors, ParentComponent) => class extends Component {
|
|
6
4
|
constructor() {
|
|
7
5
|
super(defaultComponentConfig(), selectors);
|
|
8
6
|
if (ParentComponent !== Component) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-extended-component.js","sourceRoot":"","sources":["../../../../src/component/get-exteded-component/get-extended-component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAKzC,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAChC,SAAY,EACZ,eAA6B,EACG,EAAE
|
|
1
|
+
{"version":3,"file":"get-extended-component.js","sourceRoot":"","sources":["../../../../src/component/get-exteded-component/get-extended-component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAKzC,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAChC,SAAY,EACZ,eAA6B,EACG,EAAE,CAClC,KAAM,SAAQ,SAAY;IACtB;QACI,KAAK,CAAC,sBAAsB,EAAE,EAAE,SAAS,CAAC,CAAC;QAE3C,IAAI,eAAe,KAAK,SAAS,EAAE,CAAC;YAChC,IAAI,CAAC,kBAAkB,CAAC,IAAI,eAAe,EAAE,CAAC,CAAC;QACnD,CAAC;IACL,CAAC;CACgC,CAAC"}
|
|
@@ -4,9 +4,9 @@ import type { ChainablePromiseArray, ChainablePromiseElement } from 'webdriverio
|
|
|
4
4
|
export declare class RootedComponent<T = any> extends Component<T> {
|
|
5
5
|
protected readonly parentElInput: ComponentInputArg;
|
|
6
6
|
constructor(config: ComponentConfigInterface, selectors: T, parentElInput: ComponentInputArg | undefined);
|
|
7
|
-
get RootEl(): ChainablePromiseElement
|
|
8
|
-
getChildEl(selector: string): ChainablePromiseElement
|
|
9
|
-
getChildEls(selector: string): ChainablePromiseArray
|
|
10
|
-
getChildElByIdx(selector: string, idx: number): ChainablePromiseElement
|
|
7
|
+
get RootEl(): ChainablePromiseElement;
|
|
8
|
+
getChildEl(selector: string): ChainablePromiseElement;
|
|
9
|
+
getChildEls(selector: string): ChainablePromiseArray;
|
|
10
|
+
getChildElByIdx(selector: string, idx: number): ChainablePromiseElement;
|
|
11
11
|
}
|
|
12
12
|
//# sourceMappingURL=rooted-component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rooted-component.d.ts","sourceRoot":"","sources":["../../../src/rooted-component/rooted-component.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"rooted-component.d.ts","sourceRoot":"","sources":["../../../src/rooted-component/rooted-component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,OAAO,KAAK,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAC3E,OAAO,KAAK,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAGlF,qBAAa,eAAe,CAAC,CAAC,GAAG,GAAG,CAAE,SAAQ,SAAS,CAAC,CAAC,CAAC;IACtD,SAAS,CAAC,QAAQ,CAAC,aAAa,EAAE,iBAAiB,CAAC;gBAExC,MAAM,EAAE,wBAAwB,EAAE,SAAS,EAAE,CAAC,EAAE,aAAa,EAAE,iBAAiB,GAAG,SAAS;IAkCxG,IAAI,MAAM,IAAI,uBAAuB,CAEpC;IAEQ,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,uBAAuB;IAIrD,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,qBAAqB;IAIpD,eAAe,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,uBAAuB;CAGnF"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { isDefined, isNotEmptyString, isString } from '@rnw-community/shared';
|
|
1
|
+
import { isDefined, isString } from '@rnw-community/shared';
|
|
3
2
|
import { Component } from '../component/component';
|
|
4
3
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5
4
|
export class RootedComponent extends Component {
|
|
@@ -31,10 +30,7 @@ export class RootedComponent extends Component {
|
|
|
31
30
|
});
|
|
32
31
|
}
|
|
33
32
|
get RootEl() {
|
|
34
|
-
|
|
35
|
-
return this.config.elSelectorFn(this.parentElInput);
|
|
36
|
-
}
|
|
37
|
-
return $(this.parentElInput);
|
|
33
|
+
return this.config.elSelectorFn(this.parentElInput);
|
|
38
34
|
}
|
|
39
35
|
getChildEl(selector) {
|
|
40
36
|
return this.config.elSelectorFn(selector, this.RootEl);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rooted-component.js","sourceRoot":"","sources":["../../../src/rooted-component/rooted-component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"rooted-component.js","sourceRoot":"","sources":["../../../src/rooted-component/rooted-component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAKnD,8DAA8D;AAC9D,MAAM,OAAO,eAAyB,SAAQ,SAAY;IAGtD,YAAY,MAAgC,EAAE,SAAY,EAAE,aAA4C;QACpG,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,EAAE,CAAC;YAC5B,MAAM,IAAI,KAAK,CAAC,kFAAkF,CAAC,CAAC;QACxG,CAAC;QAED,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,IAAI,KAAK,IAAI,aAAa,EAAE,CAAC;YACrD,MAAM,IAAI,KAAK,CAAC,+DAA+D,CAAC,CAAC;QACrF,CAAC;QAED,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,IAAI,MAAM,IAAI,aAAa,EAAE,CAAC;YACtD,MAAM,IAAI,KAAK,CAAC,4FAA4F,CAAC,CAAC;QAClH,CAAC;QAED,KAAK,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;QAEzB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QAEnC,iDAAiD;QACjD,OAAO,IAAI,KAAK,CAAC,IAAI,EAAE;YACnB,4EAA4E;YAC5E,GAAG,CAAC,MAAM,EAAE,KAAa,EAAE,QAAQ;gBAC/B,OAAO,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,QAAQ,EAAE,GAAG,EAAE;oBACzC,IAAI,CAAC,CAAC,MAAM,EAAE,OAAO,EAAE,SAAS,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;wBAChD,+DAA+D;wBAC/D,OAAO,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;oBACvD,CAAC;oBAED,+DAA+D;oBAC/D,OAAO,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;gBAChD,CAAC,CAAC,CAAC;YACP,CAAC;SACJ,CAAC,CAAC;IACP,CAAC;IAED,IAAI,MAAM;QACN,OAAO,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;IACxD,CAAC;IAEQ,UAAU,CAAC,QAAgB;QAChC,OAAO,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;IAC3D,CAAC;IAEQ,WAAW,CAAC,QAAgB;QACjC,OAAO,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;IAC5D,CAAC;IAEQ,eAAe,CAAC,QAAgB,EAAE,GAAW;QAClD,OAAO,IAAI,CAAC,MAAM,CAAC,kBAAkB,CAAC,QAAQ,EAAE,GAAG,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;IACtE,CAAC;CACJ"}
|
|
@@ -4,8 +4,8 @@ export declare class SelectorElement {
|
|
|
4
4
|
private readonly component;
|
|
5
5
|
private readonly enumSelector;
|
|
6
6
|
constructor(component: Component, enumSelector: string);
|
|
7
|
-
el(): ChainablePromiseElement
|
|
8
|
-
els(): ChainablePromiseArray
|
|
9
|
-
byIdx(idx: number): ChainablePromiseElement
|
|
7
|
+
el(): ChainablePromiseElement;
|
|
8
|
+
els(): ChainablePromiseArray;
|
|
9
|
+
byIdx(idx: number): ChainablePromiseElement;
|
|
10
10
|
}
|
|
11
11
|
//# sourceMappingURL=selector-element.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selector-element.d.ts","sourceRoot":"","sources":["../../../src/selector-element/selector-element.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAElF,qBAAa,eAAe;IAEpB,OAAO,CAAC,QAAQ,CAAC,SAAS;IAC1B,OAAO,CAAC,QAAQ,CAAC,YAAY;gBADZ,SAAS,EAAE,SAAS,EACpB,YAAY,EAAE,MAAM;IAiBzC,EAAE,IAAI,uBAAuB
|
|
1
|
+
{"version":3,"file":"selector-element.d.ts","sourceRoot":"","sources":["../../../src/selector-element/selector-element.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAElF,qBAAa,eAAe;IAEpB,OAAO,CAAC,QAAQ,CAAC,SAAS;IAC1B,OAAO,CAAC,QAAQ,CAAC,YAAY;gBADZ,SAAS,EAAE,SAAS,EACpB,YAAY,EAAE,MAAM;IAiBzC,EAAE,IAAI,uBAAuB;IAI7B,GAAG,IAAI,qBAAqB;IAI5B,KAAK,CAAC,GAAG,EAAE,MAAM,GAAG,uBAAuB;CAG9C"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SelectorContextType } from './selector-context.type';
|
|
2
2
|
import type { ElementReference } from '@wdio/protocols/build/types';
|
|
3
3
|
import type { ChainablePromiseElement } from 'webdriverio';
|
|
4
|
-
export type ElSelectorFn = (selector: ElementReference | string, context?: SelectorContextType) => ChainablePromiseElement
|
|
4
|
+
export type ElSelectorFn = (selector: ElementReference | string, context?: SelectorContextType) => ChainablePromiseElement;
|
|
5
5
|
//# sourceMappingURL=el-selector-fn.type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"el-selector-fn.type.d.ts","sourceRoot":"","sources":["../../../src/type/el-selector-fn.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAE3D,MAAM,MAAM,YAAY,GAAG,
|
|
1
|
+
{"version":3,"file":"el-selector-fn.type.d.ts","sourceRoot":"","sources":["../../../src/type/el-selector-fn.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAE3D,MAAM,MAAM,YAAY,GAAG,CAAC,QAAQ,EAAE,gBAAgB,GAAG,MAAM,EAAE,OAAO,CAAC,EAAE,mBAAmB,KAAK,uBAAuB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { SelectorContextType } from './selector-context.type';
|
|
2
2
|
import type { ChainablePromiseElement } from 'webdriverio';
|
|
3
|
-
export type ElsIndexSelectorFn = (selector: string, index: number, context?: SelectorContextType) => ChainablePromiseElement
|
|
3
|
+
export type ElsIndexSelectorFn = (selector: string, index: number, context?: SelectorContextType) => ChainablePromiseElement;
|
|
4
4
|
//# sourceMappingURL=els-index-selector-fn.type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"els-index-selector-fn.type.d.ts","sourceRoot":"","sources":["../../../src/type/els-index-selector-fn.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAE3D,MAAM,MAAM,kBAAkB,GAAG,
|
|
1
|
+
{"version":3,"file":"els-index-selector-fn.type.d.ts","sourceRoot":"","sources":["../../../src/type/els-index-selector-fn.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAE3D,MAAM,MAAM,kBAAkB,GAAG,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,mBAAmB,KAAK,uBAAuB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SelectorContextType } from './selector-context.type';
|
|
2
2
|
import type { ElementReference } from '@wdio/protocols/build/types';
|
|
3
3
|
import type { ChainablePromiseArray } from 'webdriverio';
|
|
4
|
-
export type ElsSelectorFn = (selector: ElementReference | string, context?: SelectorContextType) => ChainablePromiseArray
|
|
4
|
+
export type ElsSelectorFn = (selector: ElementReference | string, context?: SelectorContextType) => ChainablePromiseArray;
|
|
5
5
|
//# sourceMappingURL=els-selector-fn.type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"els-selector-fn.type.d.ts","sourceRoot":"","sources":["../../../src/type/els-selector-fn.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAEzD,MAAM,MAAM,aAAa,GAAG,
|
|
1
|
+
{"version":3,"file":"els-selector-fn.type.d.ts","sourceRoot":"","sources":["../../../src/type/els-selector-fn.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAEzD,MAAM,MAAM,aAAa,GAAG,CAAC,QAAQ,EAAE,gBAAgB,GAAG,MAAM,EAAE,OAAO,CAAC,EAAE,mBAAmB,KAAK,qBAAqB,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { ChainablePromiseElement } from 'webdriverio';
|
|
2
|
-
export type SelectorContextType = ChainablePromiseElement
|
|
2
|
+
export type SelectorContextType = ChainablePromiseElement | WebdriverIO.Browser | WebdriverIO.Element;
|
|
3
3
|
//# sourceMappingURL=selector-context.type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selector-context.type.d.ts","sourceRoot":"","sources":["../../../src/type/selector-context.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAE3D,MAAM,MAAM,mBAAmB,GAAG,uBAAuB,
|
|
1
|
+
{"version":3,"file":"selector-context.type.d.ts","sourceRoot":"","sources":["../../../src/type/selector-context.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAE3D,MAAM,MAAM,mBAAmB,GAAG,uBAAuB,GAAG,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,OAAO,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rnw-community/wdio",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.83.0",
|
|
4
4
|
"description": "WDIO commands, page objects and utils",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"wdio",
|
|
@@ -42,11 +42,11 @@
|
|
|
42
42
|
"engines": {
|
|
43
43
|
"node": ">=18.0.0"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "d2ae675fea9411aac9bfeb11fcf25436e950f856",
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@rnw-community/shared": "0.
|
|
48
|
-
"@wdio/globals": "^
|
|
49
|
-
"@wdio/protocols": "^
|
|
50
|
-
"webdriverio": "^
|
|
47
|
+
"@rnw-community/shared": "0.83.0",
|
|
48
|
+
"@wdio/globals": "^9.5.4",
|
|
49
|
+
"@wdio/protocols": "^9.4.4",
|
|
50
|
+
"webdriverio": "^9.5.4"
|
|
51
51
|
}
|
|
52
52
|
}
|