Relay pairing: prove direct + iOS deeplink smoke

This commit is contained in:
Mohamed Boudra
2026-02-05 01:26:39 +07:00
parent 9b8f1e348d
commit dc5336660b
11 changed files with 121 additions and 27 deletions
+39
View File
@@ -0,0 +1,39 @@
appId: com.moboudra.paseo
---
- runFlow:
when:
visible: "Open in.*Paseo.*\\?"
commands:
- tapOn: "Open"
- tapOn:
text: "Open"
optional: true
- runFlow:
when:
visible: "Development servers"
commands:
- tapOn:
text: ".*(localhost|127\\.0\\.0\\.1|10\\.0\\.2\\.2|192\\.168\\.).*"
optional: true
- tapOn:
text: "Enter URL manually"
optional: true
- runFlow:
when:
visible: "Continue"
commands:
- tapOn: "Continue"
- runFlow:
when:
visible: "Go home"
commands:
- tapOn:
point: "50%,20%"
- extendedWaitUntil:
visible: ".*Online.*"
timeout: 90000
@@ -0,0 +1,27 @@
# 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: com.moboudra.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%"
+1 -1
View File
@@ -1,6 +1,6 @@
# 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: com.moboudra.paseo.dev
appId: com.moboudra.paseo
---
# Reusable flow to handle dev client screens after launchApp
# Works with both release builds (no-ops) and dev builds
+6
View File
@@ -0,0 +1,6 @@
appId: com.moboudra.paseo
---
- launchApp:
clearState: true
- runFlow: flows/dev-client.yaml
+4 -4
View File
@@ -1,4 +1,4 @@
appId: com.moboudra.paseo.dev
appId: com.moboudra.paseo
---
- launchApp:
clearState: true
@@ -6,13 +6,13 @@ appId: com.moboudra.paseo.dev
- tapOn: "Paste pairing link"
- tapOn:
text: "https://app.paseo.sh/#offer=..."
- eraseText
- inputText: ${PAIRING_OFFER_URL}
- tapOn: "Pair"
- assertVisible: "New Agent"
- extendedWaitUntil:
visible: "New agent"
timeout: 30000
# Confirm we actually connected (relay is the only available connection).
- assertVisible: "Online"
+3 -4
View File
@@ -1,15 +1,14 @@
appId: com.moboudra.paseo.dev
appId: com.moboudra.paseo
---
- launchApp:
clearState: true
- runFlow: flows/launch.yaml
- tapOn: "Paste pairing link"
- tapOn:
text: "https://app.paseo.sh/#offer=..."
- eraseText
- inputText: ${PAIRING_OFFER_URL}
- tapOn: "Pair"
- tapOn:
point: "75%,36%"
- extendedWaitUntil:
visible: "New agent"