@wdio/appium-service 9.26.1 → 9.27.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/cli-utils.d.ts.map +1 -1
- package/build/cli.js +4 -11
- package/build/index.js +4 -14
- package/build/launcher.d.ts.map +1 -1
- package/package.json +7 -7
package/build/cli-utils.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli-utils.d.ts","sourceRoot":"","sources":["../src/cli-utils.ts"],"names":[],"mappings":"AAGA,OAAO,EAAyB,KAAK,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AACpF,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,aAAa,CAAA;AAoC3C,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,CAE7D;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,IAAI,CAcvD;AAYD,wBAAsB,yBAAyB,CAAC,OAAO,SAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CA8BnF;AAED,wBAAsB,6BAA6B,CAAC,iBAAiB,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAkC5F;AAED,wBAAsB,iBAAiB,CACnC,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EAAE,EACd,OAAO,SAAuB,GAC/B,OAAO,CAAC,mBAAmB,CAAC,IAAI,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"cli-utils.d.ts","sourceRoot":"","sources":["../src/cli-utils.ts"],"names":[],"mappings":"AAGA,OAAO,EAAyB,KAAK,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AACpF,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,aAAa,CAAA;AAoC3C,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,CAE7D;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,IAAI,CAcvD;AAYD,wBAAsB,yBAAyB,CAAC,OAAO,SAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CA8BnF;AAED,wBAAsB,6BAA6B,CAAC,iBAAiB,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAkC5F;AAED,wBAAsB,iBAAiB,CACnC,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EAAE,EACd,OAAO,SAAuB,GAC/B,OAAO,CAAC,mBAAmB,CAAC,IAAI,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC,CA4FxD;AAED,wBAAsB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAoB5D"}
|
package/build/cli.js
CHANGED
|
@@ -134,14 +134,7 @@ async function startAppiumForCli(appiumCommandPath, args, timeout = APPIUM_START
|
|
|
134
134
|
if (isDebuggerMessage) {
|
|
135
135
|
return;
|
|
136
136
|
}
|
|
137
|
-
|
|
138
|
-
error = message || "Appium exited without error message";
|
|
139
|
-
const isWarning = message.trim().startsWith("WARN");
|
|
140
|
-
if (!isWarning) {
|
|
141
|
-
rejectOnce(new Error(error));
|
|
142
|
-
return;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
137
|
+
error = (error || "") + message;
|
|
145
138
|
process.stderr.write(message);
|
|
146
139
|
};
|
|
147
140
|
const onStdout = (data) => {
|
|
@@ -158,10 +151,10 @@ async function startAppiumForCli(appiumCommandPath, args, timeout = APPIUM_START
|
|
|
158
151
|
appiumProcess.once("exit", (exitCode) => {
|
|
159
152
|
let errorMessage = `Appium exited before timeout (exit code: ${exitCode})`;
|
|
160
153
|
if (exitCode === 2) {
|
|
161
|
-
errorMessage += "\n" + (error
|
|
162
|
-
} else if (
|
|
154
|
+
errorMessage += "\n" + (error || "Check that you don't already have a running Appium service.");
|
|
155
|
+
} else if (error) {
|
|
163
156
|
errorMessage += `
|
|
164
|
-
${error
|
|
157
|
+
${error}`;
|
|
165
158
|
}
|
|
166
159
|
if (exitCode !== 0) {
|
|
167
160
|
console.error(errorMessage);
|
package/build/index.js
CHANGED
|
@@ -2228,17 +2228,7 @@ var AppiumLauncher = class _AppiumLauncher {
|
|
|
2228
2228
|
if (isDebuggerMessage) {
|
|
2229
2229
|
return;
|
|
2230
2230
|
}
|
|
2231
|
-
|
|
2232
|
-
error = message || "Appium exited without unknown error message";
|
|
2233
|
-
const isWarning = message.trim().startsWith("WARN");
|
|
2234
|
-
if (isWarning) {
|
|
2235
|
-
log9.warn(error);
|
|
2236
|
-
} else {
|
|
2237
|
-
log9.error(error);
|
|
2238
|
-
}
|
|
2239
|
-
if (!isWarning) {
|
|
2240
|
-
rejectOnce(new Error(error));
|
|
2241
|
-
}
|
|
2231
|
+
error = (error || "") + message;
|
|
2242
2232
|
};
|
|
2243
2233
|
const onStdout = (data) => {
|
|
2244
2234
|
outputBuffer += data.toString();
|
|
@@ -2259,10 +2249,10 @@ var AppiumLauncher = class _AppiumLauncher {
|
|
|
2259
2249
|
}
|
|
2260
2250
|
let errorMessage = `Appium exited before timeout (exit code: ${exitCode})`;
|
|
2261
2251
|
if (exitCode === 2) {
|
|
2262
|
-
errorMessage += "\n" + (error
|
|
2263
|
-
} else if (
|
|
2252
|
+
errorMessage += "\n" + (error || "Check that you don't already have a running Appium service.");
|
|
2253
|
+
} else if (error) {
|
|
2264
2254
|
errorMessage += `
|
|
2265
|
-
${error
|
|
2255
|
+
${error}`;
|
|
2266
2256
|
}
|
|
2267
2257
|
if (exitCode !== 0) {
|
|
2268
2258
|
log9.error(errorMessage);
|
package/build/launcher.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"launcher.d.ts","sourceRoot":"","sources":["../src/launcher.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM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AAC,cAAc,CAAe;IAC9C,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAuB;IAC7C,OAAO,CAAC,QAAQ,CAAC,CAA+C;IAChE,OAAO,CAAC,eAAe,CAAiB;gBAG5B,QAAQ,EAAE,mBAAmB,EAC7B,aAAa,EAAE,YAAY,CAAC,sBAAsB,EAClD,OAAO,CAAC,EAAE,OAAO,CAAC,UAAU,YAAA;YAS1B,WAAW;IAqBzB;;;OAGG;IACH,OAAO,CAAC,gBAAgB;IAyDlB,SAAS;IAuDf,OAAO,CAAC,mBAAmB,CAAsC;IAC3D,UAAU,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,UAAU,EAAE,YAAY,EAAE,YAAY,CAAC,sBAAsB;IA2DhH,OAAO,CAAC,YAAY;YA4FN,kBAAkB;mBAeX,iBAAiB;CAezC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/appium-service",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.27.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",
|
|
@@ -43,21 +43,21 @@
|
|
|
43
43
|
},
|
|
44
44
|
"typeScriptVersion": "3.8.3",
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@wdio/config": "9.
|
|
46
|
+
"@wdio/config": "9.27.1",
|
|
47
47
|
"@wdio/logger": "9.18.0",
|
|
48
|
-
"@wdio/reporter": "9.
|
|
49
|
-
"@wdio/types": "9.
|
|
50
|
-
"@wdio/utils": "9.
|
|
48
|
+
"@wdio/reporter": "9.27.1",
|
|
49
|
+
"@wdio/types": "9.27.1",
|
|
50
|
+
"@wdio/utils": "9.27.1",
|
|
51
51
|
"@xmldom/xmldom": "^0.9.5",
|
|
52
52
|
"change-case": "^5.4.3",
|
|
53
53
|
"get-port": "^7.0.0",
|
|
54
54
|
"import-meta-resolve": "^4.0.0",
|
|
55
55
|
"tree-kill": "^1.2.2",
|
|
56
|
-
"webdriverio": "9.
|
|
56
|
+
"webdriverio": "9.27.1",
|
|
57
57
|
"xpath": "^0.0.34"
|
|
58
58
|
},
|
|
59
59
|
"publishConfig": {
|
|
60
60
|
"access": "public"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "e2b5652f61da0858251860e7d3bc0c0aaffbb525"
|
|
63
63
|
}
|