maestro icon indicating copy to clipboard operation
maestro copied to clipboard

[React Native] Maestro does not see portal content (@gorhom/portal)

Open ghasemikasra39 opened this issue 2 years ago • 9 comments

Current behaviour

I am trying to tap on a button that is rendered inside a portal. I am using @gorhom/portal portal implementation. I can see that non of these work:

- tapOn:
     id: "actionMenu.deleteButton"

# or

- tapOn:
     text: "Delete"

Checking the Maestro Studio, it also cannot detect the portal content. In this example we are trying to tap on the Delete button that lives inside the portal:

Screenshot 2023-04-14 at 15 24 50

Desired behaviour

Maestro should be able to pick up id or at least text inside portal content.

versions

Maestro CLI version: "1.26.0"
"@gorhom/portal": "^1.0.13"
"react-native": "0.68.2"

ghasemikasra39 avatar Apr 14 '23 13:04 ghasemikasra39