@swmansion/argent 0.25.1-next.29 → 0.25.1-next.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/dist/cli-cmds.mjs +1 -1
- package/dist/installer.mjs +1 -1
- package/dist/tool-server.cjs +16 -8
- package/package.json +1 -1
package/dist/cli-cmds.mjs
CHANGED
|
@@ -21857,7 +21857,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
21857
21857
|
var SESSION_ID2 = randomUUID5();
|
|
21858
21858
|
function readCliVersion() {
|
|
21859
21859
|
if (true) {
|
|
21860
|
-
return "0.25.1-next.
|
|
21860
|
+
return "0.25.1-next.30";
|
|
21861
21861
|
}
|
|
21862
21862
|
return "0.0.0";
|
|
21863
21863
|
}
|
package/dist/installer.mjs
CHANGED
|
@@ -16710,7 +16710,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
16710
16710
|
var SESSION_ID = randomUUID4();
|
|
16711
16711
|
function readCliVersion() {
|
|
16712
16712
|
if (true) {
|
|
16713
|
-
return "0.25.1-next.
|
|
16713
|
+
return "0.25.1-next.30";
|
|
16714
16714
|
}
|
|
16715
16715
|
return "0.0.0";
|
|
16716
16716
|
}
|
package/dist/tool-server.cjs
CHANGED
|
@@ -94704,7 +94704,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
94704
94704
|
var SESSION_ID = (0, import_node_crypto3.randomUUID)();
|
|
94705
94705
|
function readCliVersion() {
|
|
94706
94706
|
if (true) {
|
|
94707
|
-
return "0.25.1-next.
|
|
94707
|
+
return "0.25.1-next.30";
|
|
94708
94708
|
}
|
|
94709
94709
|
return "0.0.0";
|
|
94710
94710
|
}
|
|
@@ -145391,7 +145391,7 @@ function appIdForPlatform(launch, platform) {
|
|
|
145391
145391
|
if (c === void 0) return null;
|
|
145392
145392
|
return typeof c === "string" ? c : c.path;
|
|
145393
145393
|
}
|
|
145394
|
-
const v = launch[platform];
|
|
145394
|
+
const v = launch[authoringPlatform(platform)];
|
|
145395
145395
|
return v ?? launch.native ?? null;
|
|
145396
145396
|
}
|
|
145397
145397
|
function chromiumLaunchSpec(launch) {
|
|
@@ -146123,6 +146123,9 @@ function isIdleCondition(raw, kind) {
|
|
|
146123
146123
|
}
|
|
146124
146124
|
var LAUNCH_PLATFORMS = ["ios", "android", "chromium", "vega"];
|
|
146125
146125
|
var SELECTABLE_PLATFORMS = [...LAUNCH_PLATFORMS, "ios-remote"];
|
|
146126
|
+
function authoringPlatform(platform) {
|
|
146127
|
+
return platform === "ios-remote" ? "ios" : platform;
|
|
146128
|
+
}
|
|
146126
146129
|
var LAUNCH_MAP_KEYS = ["native", ...LAUNCH_PLATFORMS];
|
|
146127
146130
|
function parseChromiumLaunch(raw) {
|
|
146128
146131
|
if (typeof raw === "string" && raw.length > 0) return raw;
|
|
@@ -149506,12 +149509,15 @@ function recordedLaunchedApp(session, platform) {
|
|
|
149506
149509
|
return void 0;
|
|
149507
149510
|
}
|
|
149508
149511
|
function fallbackSourceWarning(source, platform) {
|
|
149509
|
-
const expected = REPLAY_TREE_SOURCES[platform];
|
|
149512
|
+
const expected = REPLAY_TREE_SOURCES[authoringPlatform(platform)];
|
|
149510
149513
|
if (!expected || source === expected) return void 0;
|
|
149511
149514
|
return `selector captured from the fallback ${source} tree (${expected} unavailable) \u2014 replay resolves against the full hierarchy, which may not match it`;
|
|
149512
149515
|
}
|
|
149513
149516
|
function platformOf(udid) {
|
|
149514
|
-
return typeof udid === "string" ? resolveDevice(udid).platform : void 0;
|
|
149517
|
+
return typeof udid === "string" ? authoringPlatform(resolveDevice(udid).platform) : void 0;
|
|
149518
|
+
}
|
|
149519
|
+
function hasRunnerTree(udid) {
|
|
149520
|
+
return typeof udid === "string" && supportsFlowTree(resolveDevice(udid).platform);
|
|
149515
149521
|
}
|
|
149516
149522
|
var UNSUPPORTED_PLATFORM = {
|
|
149517
149523
|
divergence: "The recorder and the runner read different projections of the screen.",
|
|
@@ -149586,6 +149592,7 @@ function unmetWaitWarningFor(cause) {
|
|
|
149586
149592
|
}
|
|
149587
149593
|
function indeterminateReasonCaveat(udid) {
|
|
149588
149594
|
if (platformOf(udid) !== "ios") return "";
|
|
149595
|
+
if (!hasRunnerTree(udid)) return "";
|
|
149589
149596
|
return ". One thing that reason cannot see is this step: the probe predicts an `await:`/`assert:` directive, and no directive takes a bundleId, so neither this probe nor the runner accepts one (the `bundleId` on this step reached the live wait only)";
|
|
149590
149597
|
}
|
|
149591
149598
|
var CANCELLED_PROBE_WARNING = "recorded, but the re-probe against the tree the RUNNER reads was cancelled before it answered. The step itself ran and is written to the flow; only the verdict is missing, so whether it would convert to `await:`/`assert:` is UNKNOWN, not known-bad \u2014 record the wait again, uncancelled, before trusting the conversion";
|
|
@@ -149650,8 +149657,9 @@ async function probeAgainstRunnerTree(registry2, ctx, args) {
|
|
|
149650
149657
|
// The reason is quoted whole rather than through `cappedReason`; see
|
|
149651
149658
|
// {@link MAX_PROBE_REASON_CHARS}.
|
|
149652
149659
|
warning: `this check could not be re-verified against the tree the RUNNER reads (${outcome.reason ?? "no reason given"}), so it passed against the tree \`${AWAIT_UI_ELEMENT_TOOL_ID}\` reads and nothing else. Whether it would convert to \`await:\`/\`assert:\` is UNKNOWN, not known-bad \u2014 ` + // A timeout and an outage need different next moves: "once that tree
|
|
149653
|
-
// source is back" is nonsense for a source that never left
|
|
149654
|
-
|
|
149660
|
+
// source is back" is nonsense for a source that never left, and for one
|
|
149661
|
+
// that never existed.
|
|
149662
|
+
(timedOut2 ? `re-record this step when the device is quieter, or settle the conversion directly by putting the directive in a flow and running \`flow-execute\`, which has no such ceiling` : (hasRunnerTree(args.udid) ? `re-probe once that tree source is back before trusting the conversion` : `this platform's runner has no tree to probe, so the conversion stays unverified`) + indeterminateReasonCaveat(args.udid))
|
|
149655
149663
|
};
|
|
149656
149664
|
}
|
|
149657
149665
|
return {
|
|
@@ -154233,7 +154241,7 @@ async function runLaunch(state3, app) {
|
|
|
154233
154241
|
if (!bundleId) {
|
|
154234
154242
|
return {
|
|
154235
154243
|
ok: false,
|
|
154236
|
-
reason: `no app id declared for platform "${device.platform}" \u2014 add a launch entry for it`
|
|
154244
|
+
reason: `no app id declared for platform "${authoringPlatform(device.platform)}" \u2014 add a launch entry for it`
|
|
154237
154245
|
};
|
|
154238
154246
|
}
|
|
154239
154247
|
state3.treeTarget = void 0;
|
|
@@ -154916,7 +154924,7 @@ async function execWhenStep(state3, step, scope) {
|
|
|
154916
154924
|
let met;
|
|
154917
154925
|
if (step.condition.kind === "platform") {
|
|
154918
154926
|
const guardEnv = deviceEnv(state3);
|
|
154919
|
-
const platform = guardEnv.device.platform
|
|
154927
|
+
const platform = authoringPlatform(guardEnv.device.platform);
|
|
154920
154928
|
met = platform === step.condition.platform;
|
|
154921
154929
|
} else {
|
|
154922
154930
|
const probe3 = await probeWhenCondition(deviceEnv(state3), step.condition);
|
package/package.json
CHANGED