Workspace configuration
Reference for all config.yaml properties: appId, flows, env, and platform settings.
This page provides a technical reference for all properties you can set in the config.yaml file. The configuration is structured into Global, Execution, Platform-specific, and Cloud sections.
Global workspace settings
These settings define the identity of your application and how Maestro discovers your Flow files.
appId
Required. The unique identifier for your app. Use the Bundle ID for iOS, Package Name for Android, or the starting URL for Web.
Glob patterns defining which files to include in a test suite. Defaults to * (only YAML files in the root folder). Use ** for recursive discovery.
env
Global key-value pairs accessible as variables (e.g., ${MY_VAR}) within your Flows.
Custom directory where screenshots, logs, and metadata are saved. Defaults to ~/.maestro/tests/.
Execution and filtering
Use these keys to control the order and selection of tests during a suite run.
Key
Description
Only executes Flows that contain at least one of these tags in their internal configuration.
Skips any Flows that contain one or more of these tags.
(Local-only). A nested object used to force a specific sequence of Flows. This property does not apply to Maestro Cloud.
If false, Maestro stops the sequential execution immediately if a Flow fails. Default is true.
The ordered list of Flow names or filenames (without .yaml) to execute sequentially.
Platform configuration
Platform-specific settings allow you to optimize the environment for Android or iOS.
Key (iOS specifics)
Description
disableAnimations
(Cloud only) Enables Reduce Motion on the iOS Simulator to prevent flakiness caused by system-level animations.
snapshotKeyHonorModalViews
You can use this key when running tests locally or on the cloud.
If false, Maestro includes elements from the background hierarchy even when a modal is present. Useful for certain custom UI frameworks. This helps capture elements that have absolute positioning into the hierarchy.
Key (Android specifics)
Description
disableAnimations
(Cloud only) Disables system-level window, transition, and animator animations on the Android Emulator.
Maestro cloud configuration
These properties are used only when running tests on Maestro Cloud.
Key
Description
baselineBranch
Defines the source-of-truth branch (e.g., main) for PR comparisons.
disableAnimations
(Cloud-only). Disables system-level animations to prevent flakiness. This only affects system-level animations. Custom animations like those powered by Lottie won't be disabled.
notifications
Configures automated alerts upon test completion.
notifications.email.enabled
Set to true to enable email notifications.
notifications.email.recipients
A list of email addresses to receive the test reports.
notifications.slack.endpoint
The Webhook URL for posting results directly to a Slack channel.
Usage example
The following example shows a typical Maestro workspace configuration file. This file must be named config.yaml. You can place it at the root of your project or in the .maestro directory:
Last updated