@wdio/appium-service 8.11.3 → 8.12.1
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/launcher.d.ts +0 -1
- package/build/launcher.d.ts.map +1 -1
- package/build/launcher.js +3 -4
- package/package.json +4 -4
package/build/launcher.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ export default class AppiumLauncher implements Services.ServiceInstance {
|
|
|
7
7
|
private readonly _logPath?;
|
|
8
8
|
private readonly _appiumCliArgs;
|
|
9
9
|
private readonly _args;
|
|
10
|
-
private _command?;
|
|
11
10
|
private _process?;
|
|
12
11
|
constructor(_options: AppiumServiceConfig, _capabilities: Capabilities.RemoteCapabilities, _config?: Options.Testrunner | undefined);
|
|
13
12
|
private _getCommand;
|
package/build/launcher.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"launcher.d.ts","sourceRoot":"","sources":["../src/launcher.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAGlE,OAAO,KAAK,EAAyB,mBAAmB,EAAE,MAAM,YAAY,CAAA;AAY5E,MAAM,CAAC,OAAO,OAAO,cAAe,YAAW,QAAQ,CAAC,eAAe;
|
|
1
|
+
{"version":3,"file":"launcher.d.ts","sourceRoot":"","sources":["../src/launcher.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAGlE,OAAO,KAAK,EAAyB,mBAAmB,EAAE,MAAM,YAAY,CAAA;AAY5E,MAAM,CAAC,OAAO,OAAO,cAAe,YAAW,QAAQ,CAAC,eAAe;IAO/D,OAAO,CAAC,QAAQ;IAChB,OAAO,CAAC,aAAa;IACrB,OAAO,CAAC,OAAO,CAAC;IARpB,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAQ;IAClC,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAe;IAC9C,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAuB;IAC7C,OAAO,CAAC,QAAQ,CAAC,CAA+C;gBAGpD,QAAQ,EAAE,mBAAmB,EAC7B,aAAa,EAAE,YAAY,CAAC,kBAAkB,EAC9C,OAAO,CAAC,gCAAoB;YAS1B,WAAW;IAqBzB;;;OAGG;IACH,OAAO,CAAC,gBAAgB;IA6BlB,SAAS;IAkBf,UAAU;IAOV,OAAO,CAAC,YAAY;YA2BN,kBAAkB;mBAeX,iBAAiB;CAezC"}
|
package/build/launcher.js
CHANGED
|
@@ -24,7 +24,6 @@ export default class AppiumLauncher {
|
|
|
24
24
|
_logPath;
|
|
25
25
|
_appiumCliArgs = [];
|
|
26
26
|
_args;
|
|
27
|
-
_command;
|
|
28
27
|
_process;
|
|
29
28
|
constructor(_options, _capabilities, _config) {
|
|
30
29
|
this._options = _options;
|
|
@@ -89,17 +88,17 @@ export default class AppiumLauncher {
|
|
|
89
88
|
}
|
|
90
89
|
onComplete() {
|
|
91
90
|
if (this._process) {
|
|
92
|
-
log.
|
|
91
|
+
log.info(`Appium (pid: ${this._process.pid}) killed`);
|
|
93
92
|
this._process.kill();
|
|
94
93
|
}
|
|
95
94
|
}
|
|
96
95
|
_startAppium(command, args, callback) {
|
|
97
|
-
log.
|
|
96
|
+
log.info(`Will spawn Appium process: ${command} ${args.join(' ')}`);
|
|
98
97
|
const process = spawn(command, args, { stdio: ['ignore', 'pipe', 'pipe'] });
|
|
99
98
|
let error;
|
|
100
99
|
process.stdout.on('data', (data) => {
|
|
101
100
|
if (data.includes('Appium REST http interface listener started')) {
|
|
102
|
-
log.
|
|
101
|
+
log.info(`Appium started with ID: ${process.pid}`);
|
|
103
102
|
callback(null, process);
|
|
104
103
|
}
|
|
105
104
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/appium-service",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.12.1",
|
|
4
4
|
"description": "A WebdriverIO service to start & stop Appium Server",
|
|
5
5
|
"author": "Morten Bjerg Gregersen <morten@mogee.dk>",
|
|
6
6
|
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-appium-service",
|
|
@@ -33,15 +33,15 @@
|
|
|
33
33
|
},
|
|
34
34
|
"typeScriptVersion": "3.8.3",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@wdio/config": "8.
|
|
36
|
+
"@wdio/config": "8.12.1",
|
|
37
37
|
"@wdio/logger": "8.11.0",
|
|
38
38
|
"@wdio/types": "8.10.4",
|
|
39
39
|
"import-meta-resolve": "^3.0.0",
|
|
40
40
|
"param-case": "^3.0.4",
|
|
41
|
-
"webdriverio": "8.
|
|
41
|
+
"webdriverio": "8.12.1"
|
|
42
42
|
},
|
|
43
43
|
"publishConfig": {
|
|
44
44
|
"access": "public"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "be1e7959a7599e2afe33e60856be9a7ca16eb3aa"
|
|
47
47
|
}
|