appId: ${APP_ID}
env:
  TITLE: ${TITLE}
  DESCRIPTION: ${DESCRIPTION}
---
# Before calling this flow, we need to call `- pressKey: Home`
- runFlow:
    file: ./check-push-notification-visible.yml
    env:
      TITLE: ${TITLE}
      DESCRIPTION: ${DESCRIPTION}
- tapOn: .*${TITLE}.*

# Press push notification and check open app with correct chat selected
- runFlow:
    when:
      visible: Open
    commands:
      - tapOn: Open
