@swmansion/argent 0.28.1-next.14 → 0.28.1-next.16
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/cli-cmds.mjs +1 -1
- package/dist/installer.mjs +1 -1
- package/dist/tool-server.cjs +5 -3
- package/package.json +1 -1
package/dist/cli-cmds.mjs
CHANGED
|
@@ -30092,7 +30092,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
30092
30092
|
var SESSION_ID2 = randomUUID5();
|
|
30093
30093
|
function readCliVersion() {
|
|
30094
30094
|
if (true) {
|
|
30095
|
-
return "0.28.1-next.
|
|
30095
|
+
return "0.28.1-next.14";
|
|
30096
30096
|
}
|
|
30097
30097
|
return "0.0.0";
|
|
30098
30098
|
}
|
package/dist/installer.mjs
CHANGED
|
@@ -16736,7 +16736,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
16736
16736
|
var SESSION_ID = randomUUID4();
|
|
16737
16737
|
function readCliVersion() {
|
|
16738
16738
|
if (true) {
|
|
16739
|
-
return "0.28.1-next.
|
|
16739
|
+
return "0.28.1-next.14";
|
|
16740
16740
|
}
|
|
16741
16741
|
return "0.0.0";
|
|
16742
16742
|
}
|
package/dist/tool-server.cjs
CHANGED
|
@@ -94920,7 +94920,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
94920
94920
|
var SESSION_ID = (0, import_node_crypto3.randomUUID)();
|
|
94921
94921
|
function readCliVersion() {
|
|
94922
94922
|
if (true) {
|
|
94923
|
-
return "0.28.1-next.
|
|
94923
|
+
return "0.28.1-next.14";
|
|
94924
94924
|
}
|
|
94925
94925
|
return "0.0.0";
|
|
94926
94926
|
}
|
|
@@ -113335,7 +113335,8 @@ function parseUiAutomatorDump(rawOutput, screenW, screenH, options = {}) {
|
|
|
113335
113335
|
if (xmlEnd !== -1) xml = xml.slice(0, xmlEnd + "</hierarchy>".length);
|
|
113336
113336
|
const root = parseUiAutomatorXml(xml);
|
|
113337
113337
|
if (!root) {
|
|
113338
|
-
|
|
113338
|
+
const got = rawOutput.trim() ? `${rawOutput.length} chars: ${JSON.stringify(rawOutput.slice(0, 200))}` : "empty";
|
|
113339
|
+
throw new FailureError(`Failed to parse uiautomator dump output (${got})`, {
|
|
113339
113340
|
error_code: FAILURE_CODES.ANDROID_UIAUTOMATOR_PARSE_FAILED,
|
|
113340
113341
|
failure_stage: "android_uiautomator_parse_dump",
|
|
113341
113342
|
failure_area: "tool_server",
|
|
@@ -122710,8 +122711,9 @@ async function resolveLauncherActivity(udid, bundleId, isTv = false) {
|
|
|
122710
122711
|
}
|
|
122711
122712
|
const launcher = await resolveFor();
|
|
122712
122713
|
if (launcher) return launcher;
|
|
122714
|
+
const pmPath = await adbShell(udid, `pm path ${shellQuote(bundleId)}; true`);
|
|
122713
122715
|
throw new FailureError(
|
|
122714
|
-
`Could not resolve a ${isTv ? "LEANBACK_LAUNCHER or LAUNCHER" : "LAUNCHER"} activity for ${bundleId}.
|
|
122716
|
+
`Could not resolve a ${isTv ? "LEANBACK_LAUNCHER or LAUNCHER" : "LAUNCHER"} activity for ${bundleId}. ` + (pmPath.includes("package:") ? `It is installed but declares no such activity: pass an explicit \`activity\`. ` : `It is not installed on ${udid}: install it with \`reinstall-app\`. `) + `(resolve-activity output: ${lastRaw.trim() || "empty"})`,
|
|
122715
122717
|
{
|
|
122716
122718
|
error_code: FAILURE_CODES.ANDROID_LAUNCH_ACTIVITY_RESOLVE_FAILED,
|
|
122717
122719
|
failure_stage: "android_launch_resolve_activity",
|
package/package.json
CHANGED