appId: ${APP_ID}
---
- runFlow: ./handle-bottom-sheet.yml
- extendedWaitUntil:
    visible: 'Home'
    timeout: 5000
- extendedWaitUntil:
    visible: 'Apps'
    timeout: 5000
- tapOn: Apps
- waitForAnimationToEnd:
    timeout: 3000
- runFlow:
    when:
      notVisible: '^(\d+\s+)?${MODULE_NAME}$'
    commands:
      - scrollUntilVisible:
          element: '^(\d+\s+)?${MODULE_NAME}$'
- tapOn:
    text: '^(\d+\s+)?${MODULE_NAME}$'
- assertVisible:
    text: '.*${MODULE_TITLE || MODULE_NAME}.*'
