Skip to content

tapOn is not working on some specific #2460

Open
@tiagogama23

Description

@tiagogama23

Is there an existing issue for this?

  • I have searched the existing issues and didn't find mine.

Steps to reproduce

Steps to Reproduce:
Open the task creation screen in the app.

Attempt to tap on a user under the "Employee" section (e.g., tapOn CR - Cristina).

The action is recorded in Maestro Studio as tapOn, but it does not execute properly during playback.

Actual results

Description:

I encountered a bug while using Maestro Studio where the tapOn action is not working when trying to select a user from the "Employee" field in the task creation screen of our mobile app.

Expected Behavior:
The automation should be able to select a user from the dropdown (e.g., "Cristina") when the tapOn command is executed.

Actual Behavior:
The user is not selected. The tapOn command is executed on screen but has no effect — the dropdown remains unchanged and no user is selected.

Additional Info:
The issue happens specifically within the "Employee" dropdown selection field.

All other tapOn events in the same flow (such as tapping on task type, dates, etc.) work fine.

This may be related to how dynamic or scrollable elements are handled in the dropdown.

Screenshot of the test flow and screen is attached.

Environment:
Maestro Studio

OS: Windows 11

Date: May 2, 2025

Language: PT/EN

Running on emulator by android studio (Pixel 7 Pro ) Android 16 (API 36)

App being tested is built in Portuguese

Expected results

When the tapOn command is executed on a user from the dropdown, the app should select that user and reflect the selection in the input field.

About app

closed source project, cross-platform.
he app is being developed using Flutter.

About environment

Java version OpenJDK 17
Windows 11

Logs

Logs
Running on emulator-5554

 
   > Flow: flow
 
     +   Tap on point (67%,53%)
     +   Tap on point (87%,94%)
     +   Tap on "Choose a user for the task"
     +   Assert that "CR
Cristina" is visible
     +   Tap on "CR
Cristina"
     +   Tap on "Choose a task type"
     +   Tap on point (38%,60%)
     X   Tap on "Simple"
         Tap on point (50%,69%)
         Input text Relatorio de Contas
         Tap on point (50%,78%)
         Input text teste da descricao
         Tap on point (21%,88%)
         Tap on point (83%,40%)
         Tap on "20, Tuesday, May 20, 2025"
         Tap on "OK"
         Tap on point (62%,88%)
         Tap on "OK"
         Tap on point (86%,88%)
         Tap on point (50%,70%)
         Tap on "OK"
         Tap on "Create"
         Long press on "CR
Cristina"
 

Element not found: Text matching regex: Simple

==== Debug output (logs & screenshots) ====

Maestro version

1.36.0

How did you install Maestro?

install script (https://get.maestro.mobile.dev)

Anything else?

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions