mobile-dev-inc / maestro

Painless Mobile UI Automation
https://maestro.mobile.dev/
Apache License 2.0
5.88k stars 281 forks source link

Flutter - Cannot select items by ID if not in current Navigator #2119

Open dylanalizon opened 3 weeks ago

dylanalizon commented 3 weeks ago

Is there an existing issue for this?

Steps to reproduce

Create an app with multiple navigators nested. All elements that are not in the deepest navigator are not selectable via the Maestro Studio or with assertVisible command.

Actual results

assertVisible command fail or cannot select with the Maestro Studio.

Expected results

assertVisible and tapOn Working on elements that are not in the deepest navigators (tab bar).

About app

Closed source project. Flutter 3.24.4

About environment

I'm on macbook pro M1 Max with macOS 15.0.1 and Xcode 16.1

Logs

Logs ``` ```

Maestro version

1.39.0

How did you install Maestro?

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

Anything else?

No response

linear[bot] commented 3 weeks ago

MA-2448 Flutter - Cannot select items by ID if not in current Navigator