Relay pairing: prove direct + iOS deeplink smoke
This commit is contained in:
@@ -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,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
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
appId: com.moboudra.paseo
|
||||
---
|
||||
- launchApp:
|
||||
clearState: true
|
||||
- runFlow: flows/dev-client.yaml
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user