Maestro Flows overview
Maestro Flows are YAML-based test scripts that define user journeys for UI automation.
The anatomy of a Flow
# --- Configuration Section ---
appId: com.example.app # Mandatory: Define the ID of the app under test
name: My Login Flow # Optional: Customize the Flow name
tags: # Optional: Filter which tests to run
- smoke-test
env: # Optional: Map of environment variables
USERNAME: "[email protected]"
---
# --- Commands Section ---
- launchApp # Launches the application
- tapOn: "Username" # Interacts with the username field
- inputText: ${USERNAME} # Inputs the environment variable
- tapOn: "Login" # Taps the login button
- assertVisible: "Welcome" # Verifies success message appearsExplore Flows capabilities
Next step
Last updated