ci: keep the app's js log and pin the sign-out dialog button

This commit is contained in:
Linus Rath
2026-10-22 10:30:39 +02:00
parent 6b434346ff
commit 24948cb717
2 changed files with 6 additions and 2 deletions
+2
View File
@@ -15,3 +15,5 @@ appId: org.bulwarkmail.mobile
- tapOn:
text: "Sign out"
rightOf: "Cancel"
below: "The account is removed from this device.*"
- takeScreenshot: sign-out-tapped
+4 -2
View File
@@ -111,8 +111,10 @@ find "$DEBUG_DIR" "$HOME/.maestro/tests" -name '*.png' -exec cp {} "$OUT/screens
node "$ROOT/scripts/e2e/failed-steps.mjs" "$DEBUG_DIR" > "$OUT/steps.txt" 2>&1 || true
find "$DEBUG_DIR" -type f | sed "s|$DEBUG_DIR/||" > "$OUT/debug-files.txt" 2>/dev/null || true
xcrun simctl spawn "$UDID" log show --last 90m --style compact \
--predicate 'process == "BulwarkMobile"' > "$OUT/app.log" 2>&1 || true
# --info: console.log of the JS lands at info level.
xcrun simctl spawn "$UDID" log show --last 90m --style compact --info \
--predicate 'process == "BulwarkMobile" AND (subsystem == "com.facebook.react.log" OR messageType >= 16)' \
> "$OUT/app.log" 2>&1 || true
# Push: what iOS did with the notification (the extension's own log, and
# SpringBoard / usernotificationsd / apsd lines naming the app), plus the