appId: ${APP_ID}
---
# Not work properly in iOS
# Need to run `adb push e2e/shared/pick-asset/assets/document.pdf /sdcard/Download/` in the console
# Android document picker flow
- waitForAnimationToEnd:
    timeout: 2000
# Try to find and select the document by name first
- runFlow:
    when:
      visible: .*document\.pdf.*
    commands:
      - tapOn: document\.pdf
- runFlow:
    when:
      notVisible: .*document\.pdf.*
    commands:
      - tapOn: 'Show roots'
      - tapOn: 'Downloads'
      - tapOn: document\.pdf
