Files
paseo/packages/app/maestro/flows/launch.yaml

33 lines
815 B
YAML

# NOTE: Maestro requires a config section for every flow file, even when used
# via `runFlow`. Keep this aligned with the dev build application id.
appId: sh.paseo
---
# Reusable flow to handle dev client screens after launchApp
# Works with both release builds (no-ops) and dev builds
# Handle dev launcher - tap localhost server (dev builds only)
- tapOn:
text: ".*(localhost|127\\.0\\.0\\.1|10\\.0\\.2\\.2|192\\.168\\.).*"
optional: true
# Dismiss dev menu intro modal
- runFlow:
when:
visible: "Continue"
commands:
- tapOn: "Continue"
# Dismiss dev menu if it opens
- runFlow:
when:
visible: "Go home"
commands:
- tapOn:
point: "50%,20%"
- runFlow:
when:
visible: "Welcome to Paseo"
commands:
- assertVisible: "Welcome to Paseo"