Description
During the "onFlowStart" hook, the 'launchApp' command cannot reference the default appId configuration value.
Steps to Reproduce
Sample flow:
appId: com.google.android.deskclock
onFlowStart:
- launchApp
---
- extendedWaitUntil:
visible:
id: "digital_clock"
Expected Behavior
The clock app should launch when the test case starts
Actual Behavior
The clock app never launches
Environment
- OS: macOS 26.2
- maestro-runner version: 1.1.12
- Executor: uiautomator2
- Device/Simulator: Observed with both android emulator (Pixel 3a API 34) and real device (Pixel 8a)
Additional Context
If the flow is modified to instead launch the app as a command, the clock app launches and the test case passes:
appId: com.google.android.deskclock
---
- launchApp
- extendedWaitUntil:
visible:
id: "digital_clock"
Description
During the "onFlowStart" hook, the 'launchApp' command cannot reference the default appId configuration value.
Steps to Reproduce
Sample flow:
Expected Behavior
The clock app should launch when the test case starts
Actual Behavior
The clock app never launches
Environment
Additional Context
If the flow is modified to instead launch the app as a command, the clock app launches and the test case passes: