Skip to content

[BUG] pressKey command not working for iOS on saucelabs #4

@kavithamahesh

Description

@kavithamahesh

Description

pressKey command working fine for local run but when the same test on Saucelabs its failing

Steps to Reproduce

maestro-runner
--driver appium
--platform android
--appium-url "correct url"
--caps caps-android-sauce.json
test playmaker.yaml

Expected Behavior

The pressKey command should work.

Actual Behavior

The pressKey command is not working.

Environment

  • maestro-runner version: [e.g., v0.1.3]
  • Executor: [e.g., appium3-2026-01]
  • Device/ [e.g.,iOS: 18 and 26 OS version devices , Android - 15 and 16 version devices]

Flow File

My simple flow file

  • launchApp:
    appId: com.test.app
  • waitForAnimationToEnd
  • tapOn:
    id: email-field
  • inputText: aaa@aaa.com

- hideKeyboard

- pressKey: Enter

  • tapOn:
    id: password-field
  • inputText: password

- hideKeyboard

- pressKey: Enter

  • runFlow:
    when:
    visible:
    id: login-button
    commands:
    - tapOn:
    id: login-button

Error Output

Error: ✓ launchApp (2.9s)
✓ tapOn (3.8s)
✓ inputText (731ms)
✗ pressKey (2.0s)
╰─ Failed to press key: enter

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