@appium/plugin-test-support 0.3.28 → 0.3.30
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/harness.js +2 -2
- package/build/lib/harness.js.map +1 -1
- package/lib/harness.js +2 -2
- package/package.json +3 -3
package/build/lib/harness.js
CHANGED
|
@@ -90,7 +90,7 @@ function pluginE2EHarness(opts) {
|
|
|
90
90
|
}
|
|
91
91
|
console.log(`${log_symbols_1.info} Will use port ${port} for Appium server`);
|
|
92
92
|
this.port = port;
|
|
93
|
-
/** @type {import('appium').Args} */
|
|
93
|
+
/** @type {import('appium/types').Args} */
|
|
94
94
|
const args = {
|
|
95
95
|
port,
|
|
96
96
|
address: host,
|
|
@@ -118,7 +118,7 @@ exports.pluginE2EHarness = pluginE2EHarness;
|
|
|
118
118
|
* @property {string} [appiumHome] - Path to Appium home directory
|
|
119
119
|
* @property {Mocha.before} before - Mocha "before all" hook function
|
|
120
120
|
* @property {Mocha.after} after - Mocha "after all" hook function
|
|
121
|
-
* @property {Partial<import('appium').Args>} [serverArgs] - Arguments to pass to Appium server
|
|
121
|
+
* @property {Partial<import('appium/types').Args>} [serverArgs] - Arguments to pass to Appium server
|
|
122
122
|
* @property {import('appium/types').InstallType & string} driverSource - Source of driver to install
|
|
123
123
|
* @property {string} [driverPackage] - Package name of driver to install
|
|
124
124
|
* @property {string} driverName - Name of driver to install
|
package/build/lib/harness.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harness.js","sourceRoot":"","sources":["../../lib/harness.js"],"names":[],"mappings":";;;;;;AAAA,+BAA+B;AAC/B,4CAAkC;AAClC,mCAA4C;AAC5C,wDAA+B;AAC/B,6CAAmD;AACnD,+CAAkC;AAElC,MAAM,UAAU,GAAG,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;AAE7C;;;;GAIG;AACH,SAAgB,gBAAgB,CAAC,IAAI;IACnC,IAAI,EACF,UAAU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AAU,GAAG,CAAC,CAAC;QAC7D,CAAC,CAAC;QAEF,MAAM,YAAY,GAAG,KAAK,IAAI,EAAE;YAC9B,IAAI,CAAC,IAAI,EAAE,CAAC;gBACV,IAAI,GAAG,MAAM,IAAA,kBAAO,GAAE,CAAC;YACzB,CAAC;YACD,OAAO,CAAC,GAAG,CAAC,GAAG,kBAAI,kBAAkB,IAAI,oBAAoB,CAAC,CAAC;YAC/D,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;YAEjB,0CAA0C;YAC1C,MAAM,IAAI,GAAG;gBACX,IAAI;gBACJ,OAAO,EAAE,IAAI;gBACb,UAAU,EAAE,CAAC,UAAU,CAAC;gBACxB,UAAU,EAAE,CAAC,UAAU,CAAC;gBACxB,UAAU;gBACV,GAAG,UAAU;aACd,CAAC;YACF,MAAM,GAAG,2BAA2B,CAAC,CAAC,MAAM,IAAA,aAAY,EAAC,IAAI,CAAC,CAAC,CAAC;QAClE,CAAC,CAAC;QAEF,MAAM,GAAG,GAAG,MAAM,eAAe,EAAE,CAAC;QACpC,MAAM,aAAa,CAAC,GAAG,CAAC,CAAC;QACzB,MAAM,aAAa,CAAC,GAAG,CAAC,CAAC;QACzB,MAAM,YAAY,EAAE,CAAC;IACvB,CAAC,CAAC,CAAC;IAEH,KAAK,CAAC,KAAK;QACT,IAAI,MAAM,EAAE,CAAC;YACX,MAAM,MAAM,CAAC,KAAK,EAAE,CAAC;QACvB,CAAC;IACH,CAAC,CAAC,CAAC;AACL,CAAC;AA1HD,4CA0HC;AAED;;;;;;;;;;;;;;;;GAgBG;AAEH;;GAEG;AAEH;;GAEG"}
|
package/lib/harness.js
CHANGED
|
@@ -111,7 +111,7 @@ export function pluginE2EHarness(opts) {
|
|
|
111
111
|
console.log(`${info} Will use port ${port} for Appium server`);
|
|
112
112
|
this.port = port;
|
|
113
113
|
|
|
114
|
-
/** @type {import('appium').Args} */
|
|
114
|
+
/** @type {import('appium/types').Args} */
|
|
115
115
|
const args = {
|
|
116
116
|
port,
|
|
117
117
|
address: host,
|
|
@@ -141,7 +141,7 @@ export function pluginE2EHarness(opts) {
|
|
|
141
141
|
* @property {string} [appiumHome] - Path to Appium home directory
|
|
142
142
|
* @property {Mocha.before} before - Mocha "before all" hook function
|
|
143
143
|
* @property {Mocha.after} after - Mocha "after all" hook function
|
|
144
|
-
* @property {Partial<import('appium').Args>} [serverArgs] - Arguments to pass to Appium server
|
|
144
|
+
* @property {Partial<import('appium/types').Args>} [serverArgs] - Arguments to pass to Appium server
|
|
145
145
|
* @property {import('appium/types').InstallType & string} driverSource - Source of driver to install
|
|
146
146
|
* @property {string} [driverPackage] - Package name of driver to install
|
|
147
147
|
* @property {string} driverName - Name of driver to install
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appium/plugin-test-support",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.30",
|
|
4
4
|
"description": "Testing utilities for Appium plugins",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"automation",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"test:unit": "exit 0"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@appium/types": "^0.
|
|
44
|
+
"@appium/types": "^0.17.0",
|
|
45
45
|
"get-port": "5.1.1",
|
|
46
46
|
"log-symbols": "4.1.0",
|
|
47
47
|
"source-map-support": "0.5.21",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"publishConfig": {
|
|
59
59
|
"access": "public"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "6344d14665178433b182749a15f0e07f9dc14258"
|
|
62
62
|
}
|