mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-android.git
synced 2026-10-20 18:56:25 +00:00
TEMP: nail check, expect red
This commit is contained in:
1 parent
035458a801
commit
7f804317b4
1 file changed
+1
-1
@@ -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/welcomeCreateWalletButton" &&
|
||||
if adb exec-out cat /sdcard/ui.xml | grep -q "$PKG:id/welcomeCreateWalletButtonNAIL" &&
|
||||
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
|
||||
|
||||
Reference in new issue
Block a user