Files
paseo/packages/app/maestro/flows/dev-client.yaml

28 lines
727 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 Expo dev client screens after launch.
# Unlike `flows/launch.yaml`, this does not assert any particular app route.
# 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%"