Revert "TEMP: nail check, expect red"

This reverts commit 7f804317b4.
This commit is contained in:
Satoshi Qazi Muhammed committed 2026-10-18 14:21:19 +04:00
1 parent 7f804317b4
commit 1761920bcc
1 file changed
+1 -1
+1 -1
View File
@@ -29,7 +29,7 @@ for _ in $(seq 1 $((TIMEOUT / 3))); do
fi
adb shell pidof "$PKG" >/dev/null || fail "the app process is gone"
adb shell uiautomator dump /sdcard/ui.xml >/dev/null 2>&1 || continue
if adb exec-out cat /sdcard/ui.xml | grep -q "$PKG:id/welcomeCreateWalletButtonNAIL" &&
if adb exec-out cat /sdcard/ui.xml | grep -q "$PKG:id/welcomeCreateWalletButton" &&
adb exec-out cat /sdcard/ui.xml | grep -q "$PKG:id/welcomeRestoreWalletButton"; then
echo "welcome screen shown, both create and restore buttons present"
adb exec-out screencap -p > "$OUT/screen.png" || true