@rnw-community/wdio 0.14.1 → 0.14.2
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/index.d.ts +28 -0
- package/package.json +4 -3
- package/dist/wdio.d.ts +0 -27
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
1
|
+
declare namespace WebdriverIO {
|
|
2
|
+
import type { SwipeDirectionType } from './type';
|
|
3
|
+
|
|
4
|
+
interface Browser {
|
|
5
|
+
openDeepLink: (url: string) => Promise<void>;
|
|
6
|
+
testID$: (testID: string) => Promise<Element>;
|
|
7
|
+
testID$$: (testID: string) => Promise<ElementArray>;
|
|
8
|
+
testID$$Index: (testID: string) => Promise<Element>;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
interface MultiRemoteBrowser {
|
|
12
|
+
openDeepLink: (url: string) => Promise<void>;
|
|
13
|
+
testID$: (testID: string) => Promise<Element>;
|
|
14
|
+
testID$$: (testID: string) => Promise<ElementArray>;
|
|
15
|
+
testID$$Index: (testID: string) => Promise<Element>;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
interface Element {
|
|
19
|
+
clearInput: () => Promise<void>;
|
|
20
|
+
relativeClick: (xPercent: number, yPercent: number) => Promise<void>;
|
|
21
|
+
slowInput: (value: string, delay?: number) => Promise<void>;
|
|
22
|
+
swipe: (direction: SwipeDirectionType, offset = { x: 0, y: 0 }) => Promise<void>;
|
|
23
|
+
testID$: (testID: string) => Promise<Element>;
|
|
24
|
+
testID$$: (testID: string) => Promise<ElementArray>;
|
|
25
|
+
testID$$Index: (testID: string) => Promise<Element>;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
1
29
|
export * from './type';
|
|
2
30
|
export * from './interface';
|
|
3
31
|
export * from './capability';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rnw-community/wdio",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "WDIO commands, page objects and utils",
|
|
6
6
|
"keywords": [
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"scripts": {
|
|
24
24
|
"ts": "tsc --pretty -p tsconfig.json",
|
|
25
25
|
"build": "tsc --pretty -p tsconfig.build.json",
|
|
26
|
-
"postbuild": "
|
|
26
|
+
"postbuild": "node ./build.js",
|
|
27
27
|
"lint": "yarn eslint src",
|
|
28
28
|
"lint:fix": "yarn lint --fix src",
|
|
29
29
|
"test": "yarn jest",
|
|
@@ -35,12 +35,13 @@
|
|
|
35
35
|
"engines": {
|
|
36
36
|
"node": ">=14.0.0"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "c38aa179f350443a400f6ef842c2dd7765f29b97",
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@rnw-community/shared": "^0.8.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@wdio/types": "^7.20.7",
|
|
44
|
+
"concat": "^1.0.3",
|
|
44
45
|
"webdriverio": "^7.20.7"
|
|
45
46
|
},
|
|
46
47
|
"peerDependencies": {
|
package/dist/wdio.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
declare namespace WebdriverIO {
|
|
2
|
-
import type { SwipeDirectionType } from './type';
|
|
3
|
-
|
|
4
|
-
interface Browser {
|
|
5
|
-
openDeepLink: (url: string) => Promise<void>;
|
|
6
|
-
testID$: (testID: string) => Promise<Element>;
|
|
7
|
-
testID$$: (testID: string) => Promise<ElementArray>;
|
|
8
|
-
testID$$Index: (testID: string) => Promise<Element>;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
interface MultiRemoteBrowser {
|
|
12
|
-
openDeepLink: (url: string) => Promise<void>;
|
|
13
|
-
testID$: (testID: string) => Promise<Element>;
|
|
14
|
-
testID$$: (testID: string) => Promise<ElementArray>;
|
|
15
|
-
testID$$Index: (testID: string) => Promise<Element>;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
interface Element {
|
|
19
|
-
clearInput: () => Promise<void>;
|
|
20
|
-
relativeClick: (xPercent: number, yPercent: number) => Promise<void>;
|
|
21
|
-
slowInput: (value: string, delay?: number) => Promise<void>;
|
|
22
|
-
swipe: (direction: SwipeDirectionType, offset = { x: 0, y: 0 }) => Promise<void>;
|
|
23
|
-
testID$: (testID: string) => Promise<Element>;
|
|
24
|
-
testID$$: (testID: string) => Promise<ElementArray>;
|
|
25
|
-
testID$$Index: (testID: string) => Promise<Element>;
|
|
26
|
-
}
|
|
27
|
-
}
|