# Verifies the home CTA is disabled and shows the "no bestie available" subtitle
# when no mitra is online.
#
# Pre-req: NO mitras are online on the target backend. Use the helper script to
# force everyone offline before running:
#   bash client_app/.maestro/scripts/force_all_mitras_offline.sh
#
# Run:
#   maestro test client_app/.maestro/flows/02_cta_disabled_when_no_mitra.yaml
appId: ${APP_ID_ANDROID}
---
- launchApp:
    clearState: false
- assertVisible: "Mulai Curhat"
- assertVisible: "Belum ada bestie tersedia"
# CTA is disabled — tapping it should be a no-op.
- tapOn: "Mulai Curhat"
# We should still be on the home screen, NOT on the payment screen.
- assertNotVisible: "Bayar"
- assertNotVisible: "Mulai"
- assertVisible: "Mulai Curhat"
