@appium/driver-test-support 0.6.11 → 0.6.12
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/build/lib/e2e-suite.d.ts
CHANGED
|
@@ -6,63 +6,13 @@
|
|
|
6
6
|
* @param {string} [address] - Address/host on which the server is running. Defaults to {@linkcode TEST_HOST}
|
|
7
7
|
* @returns {SessionHelpers<CommandData, ResponseData>}
|
|
8
8
|
*/
|
|
9
|
-
export function createSessionHelpers<CommandData = unknown, ResponseData = any>(port: number, address?: string
|
|
9
|
+
export function createSessionHelpers<CommandData = unknown, ResponseData = any>(port: number, address?: string): SessionHelpers<CommandData, ResponseData>;
|
|
10
10
|
/**
|
|
11
11
|
* Creates E2E test suites for a driver.
|
|
12
12
|
* @param {DriverClass} DriverClass
|
|
13
13
|
* @param {Partial<BaseNSCapabilities>} [defaultCaps]
|
|
14
14
|
*/
|
|
15
|
-
export function driverE2ETestSuite(DriverClass: DriverClass, defaultCaps?: Partial<
|
|
16
|
-
readonly platformName: {
|
|
17
|
-
readonly presence: true;
|
|
18
|
-
readonly isString: true;
|
|
19
|
-
};
|
|
20
|
-
readonly app: {
|
|
21
|
-
readonly isString: true;
|
|
22
|
-
};
|
|
23
|
-
readonly platformVersion: {
|
|
24
|
-
readonly isString: true;
|
|
25
|
-
};
|
|
26
|
-
readonly webSocketUrl: {
|
|
27
|
-
readonly isBoolean: true;
|
|
28
|
-
};
|
|
29
|
-
readonly newCommandTimeout: {
|
|
30
|
-
readonly isNumber: true;
|
|
31
|
-
};
|
|
32
|
-
readonly automationName: {
|
|
33
|
-
readonly isString: true;
|
|
34
|
-
};
|
|
35
|
-
readonly autoLaunch: {
|
|
36
|
-
readonly isBoolean: true;
|
|
37
|
-
};
|
|
38
|
-
readonly udid: {
|
|
39
|
-
readonly isString: true;
|
|
40
|
-
};
|
|
41
|
-
readonly orientation: {
|
|
42
|
-
readonly inclusion: readonly ["LANDSCAPE", "PORTRAIT"];
|
|
43
|
-
};
|
|
44
|
-
readonly autoWebview: {
|
|
45
|
-
readonly isBoolean: true;
|
|
46
|
-
};
|
|
47
|
-
readonly noReset: {
|
|
48
|
-
readonly isBoolean: true;
|
|
49
|
-
};
|
|
50
|
-
readonly fullReset: {
|
|
51
|
-
readonly isBoolean: true;
|
|
52
|
-
};
|
|
53
|
-
readonly language: {
|
|
54
|
-
readonly isString: true;
|
|
55
|
-
};
|
|
56
|
-
readonly locale: {
|
|
57
|
-
readonly isString: true;
|
|
58
|
-
};
|
|
59
|
-
readonly eventTimings: {
|
|
60
|
-
readonly isBoolean: true;
|
|
61
|
-
};
|
|
62
|
-
readonly printPageSourceOnFindFailure: {
|
|
63
|
-
readonly isBoolean: true;
|
|
64
|
-
};
|
|
65
|
-
}>, "appium">>> | undefined): void;
|
|
15
|
+
export function driverE2ETestSuite(DriverClass: DriverClass, defaultCaps?: Partial<BaseNSCapabilities>): void;
|
|
66
16
|
export type DriverClass = import("@appium/types").DriverClass;
|
|
67
17
|
export type Driver = import("@appium/types").Driver;
|
|
68
18
|
export type Constraints = import("@appium/types").Constraints;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e2e-suite.d.ts","sourceRoot":"","sources":["../../lib/e2e-suite.js"],"names":[],"mappings":"AAQA;;;;;;;GAOG;AACH,qCANc,WAAW,YACX,YAAY,cACf,MAAM,
|
|
1
|
+
{"version":3,"file":"e2e-suite.d.ts","sourceRoot":"","sources":["../../lib/e2e-suite.js"],"names":[],"mappings":"AAQA;;;;;;;GAOG;AACH,qCANc,WAAW,YACX,YAAY,cACf,MAAM,YACN,MAAM,GACJ,cAAc,CAAC,WAAW,EAAE,YAAY,CAAC,CAiFrD;AAED;;;;GAIG;AACH,gDAHW,WAAW,gBACX,OAAO,CAAC,kBAAkB,CAAC,QAiWrC;0BAGY,OAAO,eAAe,EAAE,WAAW;qBACnC,OAAO,eAAe,EAAE,MAAM;0BAC9B,OAAO,eAAe,EAAE,WAAW;2BACnC,OA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}
|
package/build/lib/helpers.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export const TEST_HOST: "127.0.0.1";
|
|
|
7
7
|
* @param {boolean} [force] - If true, do not reuse the port (if it already exists)
|
|
8
8
|
* @returns {Promise<number>} a free port
|
|
9
9
|
*/
|
|
10
|
-
export function getTestPort(force?: boolean
|
|
10
|
+
export function getTestPort(force?: boolean): Promise<number>;
|
|
11
11
|
/**
|
|
12
12
|
* Build an Appium URL from components.
|
|
13
13
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../lib/helpers.js"],"names":[],"mappings":"AAGA;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../lib/helpers.js"],"names":[],"mappings":"AAGA;;GAEG;AACH,wBAAkB,WAAW,CAAC;AAI9B;;;;GAIG;AACH,oCAHW,OAAO,GACL,OAAO,CAAC,MAAM,CAAC,CAW3B;AAED;;;;;;GAMG;AACH,wHAgCE"}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @param {DriverClass<C>} DriverClass
|
|
5
5
|
* @param {import('@appium/types').NSDriverCaps<C>} [defaultCaps]
|
|
6
6
|
*/
|
|
7
|
-
export function driverUnitTestSuite<C extends Constraints>(DriverClass: DriverClass<C>, defaultCaps?: import("@appium/types").NSDriverCaps<C>
|
|
7
|
+
export function driverUnitTestSuite<C extends Constraints>(DriverClass: DriverClass<C>, defaultCaps?: import("@appium/types").NSDriverCaps<C>): void;
|
|
8
8
|
export type BaseNSCapabilities = import("@appium/types").BaseNSCapabilities;
|
|
9
9
|
export type Constraints = import("@appium/types").Constraints;
|
|
10
10
|
export type DriverClass<C extends Constraints> = import("@appium/types").DriverClass<Driver<C>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unit-suite.d.ts","sourceRoot":"","sources":["../../lib/unit-suite.js"],"names":[],"mappings":"AAOA;;;;;GAKG;AAEH,oCAL2B,CAAC,SAAd,WAAY,eACf,WAAW,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"unit-suite.d.ts","sourceRoot":"","sources":["../../lib/unit-suite.js"],"names":[],"mappings":"AAOA;;;;;GAKG;AAEH,oCAL2B,CAAC,SAAd,WAAY,eACf,WAAW,CAAC,CAAC,CAAC,gBACd,OAAO,eAAe,EAAE,YAAY,CAAC,CAAC,CAAC,QA8lBjD;iCAGY,OAAO,eAAe,EAAE,kBAAkB;0BAC1C,OAAO,eAAe,EAAE,WAAW;wBAIrB,CAAC,SAAd,WAAY,IACb,OAAO,eAAe,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;mBAIhC,CAAC,SAAd,WAAY,IACb,OAAO,eAAe,EAAE,MAAM,CAAC,CAAC,CAAC;4BAInB,CAAC,SAAd,WAAY,IACb,OAAO,eAAe,EAAE,eAAe,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appium/driver-test-support",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.12",
|
|
4
4
|
"description": "Test utilities for Appium drivers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"automation",
|
|
@@ -41,19 +41,19 @@
|
|
|
41
41
|
},
|
|
42
42
|
"types": "./build/lib/index.d.ts",
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@appium/types": "^0.22.
|
|
45
|
-
"@types/lodash": "4.17.
|
|
44
|
+
"@appium/types": "^0.22.1",
|
|
45
|
+
"@types/lodash": "4.17.13",
|
|
46
46
|
"@types/stoppable": "1.1.3",
|
|
47
|
-
"axios": "1.7.
|
|
47
|
+
"axios": "1.7.8",
|
|
48
48
|
"bluebird": "3.7.2",
|
|
49
49
|
"chai": "5.1.2",
|
|
50
|
-
"chai-as-promised": "8.0.
|
|
50
|
+
"chai-as-promised": "8.0.1",
|
|
51
51
|
"get-port": "5.1.1",
|
|
52
52
|
"lodash": "4.17.21",
|
|
53
53
|
"sinon": "19.0.2",
|
|
54
54
|
"source-map-support": "0.5.21",
|
|
55
55
|
"stoppable": "1.1.0",
|
|
56
|
-
"type-fest": "4.
|
|
56
|
+
"type-fest": "4.29.0"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
59
|
"appium": "^2.0.0-beta.43",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"publishConfig": {
|
|
67
67
|
"access": "public"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "abc9ebb9e8011cc606a63f1caa126bc8c61fe2a5"
|
|
70
70
|
}
|