diff --git a/.maestro/subflows/sign-out.yaml b/.maestro/subflows/sign-out.yaml index 4937f27a..458a3173 100644 --- a/.maestro/subflows/sign-out.yaml +++ b/.maestro/subflows/sign-out.yaml @@ -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 diff --git a/scripts/e2e/run-flows.sh b/scripts/e2e/run-flows.sh index fb9255aa..b5b4851e 100644 --- a/scripts/e2e/run-flows.sh +++ b/scripts/e2e/run-flows.sh @@ -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