# Smoke test: launch the app and assert the home screen renders.
# Use this flow first to verify Maestro can talk to your device/emulator at all.
#
# Run:
#   maestro test mitra_app/.maestro/flows/01_smoke.yaml
#
# Pre-req: mitra_app debug APK installed on the connected device, signed in
# as a mitra. Stage 2 removed the "Sesi Aktif" / "Riwayat Chat" tiles — the
# stable marker on the new BestieHome is the status card "Kamu lagi
# ONLINE" / "Kamu lagi OFFLINE". Either is fine for the smoke check.
appId: ${APP_ID_ANDROID}
---
- launchApp:
    clearState: false
- extendedWaitUntil:
    visible:
      text: "(?s).*Kamu lagi (ONLINE|OFFLINE).*"
    timeout: 10000
