Files
callstack__agent-device/.github/actions/setup-fixture-app/resolve-artifact-name.sh
Michał Pierzchała 4e4ecdea0d test(ios): expand simulator e2e coverage (#1408)
* test(ios): expand simulator e2e coverage

* test(ios): make coverage checks host portable

* test(ios): handle deep link confirmation

* test(ios): fix deep link prompt selector

* ci: stabilize full simulator nightly

* test(ios): stabilize permission prompt lifecycle

* test(e2e): wait for route-specific landmarks

* test(e2e): reset permissions from inactive app

* test(e2e): redeliver trusted cold deep links

* test(ios): verify orientation native readback

* test(ios): stabilize simulator permission coverage

* test(ios): wait for tab target after deep link

* test(ios): paginate full event timeline

* test(ios): simplify event pagination coverage

* test(ios): stabilize simulator e2e coverage

* test(ios): model simulator recorder lifetime

* ci(test-app): cache fixture dependencies

* fix(ci): isolate test app cache by node

* fix(ios): settle fixture route navigation

* test(ci): waive unbenchmarked ios system UI help

* fix(ios): tolerate delayed simulator scale lookup

* 0.20.1

* test(ci): remove superseded system UI waiver

* fix(ios): harden simulator e2e reliability

* chore: clarify Apple runner CI steps

* fix(ios): wait before fixture home snapshot

* fix(ios): require exact catalog navigation

* chore(ci): format rebased workflows

* fix(ios): retry unobserved fixture navigation

* refactor(test): remove iOS e2e workarounds

* fix(ci): verify fixture artifact provenance

* fix(ci): align fixture artifact fingerprints

* fix(ci): use unified Android helper packager

* perf(ci): scope fixture build concurrency

* chore: format fixture artifact tests

* test(ios): update split Apple coverage owner

* fix(ios): accept deep-link confirmation alerts
2026-07-28 20:08:45 +02:00

31 lines
706 B
Bash

#!/bin/sh
set -eu
if [ "$#" -ne 1 ]; then
echo "usage: resolve-artifact-name.sh <ios|android>" >&2
exit 2
fi
PLATFORM="$1"
case "$PLATFORM" in
ios|android) ;;
*)
echo "usage: resolve-artifact-name.sh <ios|android>" >&2
exit 2
;;
esac
FINGERPRINT_JSON="$(pnpm --dir examples/test-app exec fingerprint fingerprint:generate --platform "$PLATFORM")"
if ! HASH="$(
printf '%s\n' "$FINGERPRINT_JSON" |
jq -ser '
select(length == 1)
| .[0].hash
| select(type == "string" and . != "null" and test("\\A[A-Za-z0-9_-]+\\z"))
'
)"; then
echo "fingerprint:generate returned an invalid $PLATFORM hash" >&2
exit 1
fi
printf 'fingerprint.%s.%s\n' "$HASH" "$PLATFORM"