@rnw-community/wdio 0.22.0 → 0.23.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/util/create-visible-component/create-visible-component.d.ts +1 -1
- package/dist/util/create-visible-component/create-visible-component.d.ts.map +1 -1
- package/dist/util/create-visible-component/create-visible-component.js +1 -3
- package/dist/util/create-visible-component/create-visible-component.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { VisibleComponentWithSelectors } from '../../type';
|
|
2
|
-
export declare const createVisibleComponent: <T extends string, E = unknown>(selectors: E) => VisibleComponentWithSelectors<T>;
|
|
2
|
+
export declare const createVisibleComponent: <T extends string, E = unknown>(selectors: E, selectorOrElement?: WebdriverIO.Element | string) => VisibleComponentWithSelectors<T>;
|
|
3
3
|
//# sourceMappingURL=create-visible-component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-visible-component.d.ts","sourceRoot":"","sources":["../../../src/util/create-visible-component/create-visible-component.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,YAAY,CAAC;AAEhE,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"create-visible-component.d.ts","sourceRoot":"","sources":["../../../src/util/create-visible-component/create-visible-component.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,YAAY,CAAC;AAEhE,eAAO,MAAM,sBAAsB,oEAEX,YAAY,OAAO,GAAG,MAAM,qCAC6C,CAAC"}
|
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.createVisibleComponent = void 0;
|
|
4
4
|
var get_visible_component_1 = require("../get-visible-component/get-visible-component");
|
|
5
|
-
var createVisibleComponent = function (selectors) {
|
|
6
|
-
return new ((0, get_visible_component_1.getVisibleComponent)(selectors))();
|
|
7
|
-
};
|
|
5
|
+
var createVisibleComponent = function (selectors, selectorOrElement) { return new ((0, get_visible_component_1.getVisibleComponent)(selectors))(selectorOrElement); };
|
|
8
6
|
exports.createVisibleComponent = createVisibleComponent;
|
|
9
7
|
//# sourceMappingURL=create-visible-component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-visible-component.js","sourceRoot":"","sources":["../../../src/util/create-visible-component/create-visible-component.ts"],"names":[],"mappings":";;;AAAA,wFAAqF;AAI9E,IAAM,sBAAsB,GAAG,
|
|
1
|
+
{"version":3,"file":"create-visible-component.js","sourceRoot":"","sources":["../../../src/util/create-visible-component/create-visible-component.ts"],"names":[],"mappings":";;;AAAA,wFAAqF;AAI9E,IAAM,sBAAsB,GAAG,UAClC,SAAY,EACZ,iBAAgD,IACb,OAAA,IAAI,CAAC,IAAA,2CAAmB,EAAI,SAAS,CAAC,CAAC,CAAC,iBAAiB,CAAC,EAA1D,CAA0D,CAAC;AAHrF,QAAA,sBAAsB,0BAG+D"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rnw-community/wdio",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.23.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "WDIO commands, page objects and utils",
|
|
6
6
|
"keywords": [
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"engines": {
|
|
36
36
|
"node": ">=14.0.0"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "87495090f52408e53b1879fced641509174a92b5",
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@rnw-community/shared": "^0.8.0"
|
|
41
41
|
},
|