Skip to content

[BUG] setAirplaneMode syntax differs from Maestro flow syntax #27

@wrench7

Description

@wrench7

Hi team — I’m seeing a syntax mismatch for setAirplaneMode between standard Maestro flow usage and what maestro-runner appears to accept.

What I expected

A flow using standard Maestro command syntax should parse in maestro-runner.

What I see

maestro-runner parsing fails with:

Validation errors:
  - .maestro/flows/ideas/03-venue-error-handling.yaml: parse error: .maestro/flows/ideas/03-venue-error-handling.yaml:10: yaml: unmarshal errors:
  line 10: cannot unmarshal !!str `enabled` into flow.SetAirplaneModeStep
Error: validation failed with 1 error(s)

(raised at the next command after setAirplaneMode in the flow)

Repro

Flow snippet:

appId: com.abc.app
---
- setAirplaneMode: enabled
- tapOn: "Find Venues"

Actual behavior

Parser fails and reports invalid input for enabled.

Expected behavior

  1. Accept documented/common Maestro syntax for setAirplaneMode

Environment

  • macOS (Darwin 24.6.0)
  • Project uses Maestro YAML flows under .maestro/
  • Command used:
    maestro-runner --output .maestro/reports --flatten --auto-start-emulator .maestro/

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions