8000 [@nativescript/detox] Cannot match elements .byLabel (with automationText) nor .byId (on android) · Issue #189 · NativeScript/plugins · GitHub
[go: up one dir, main page]

Skip to content
[@nativescript/detox] Cannot match elements .byLabel (with automationText) nor .byId (on android) #189
Closed
@MrSnoozles

Description

@MrSnoozles

Hello,

I really enjoy how Detox works, but the element matchers do not seem to be working in NativeScript.

element.byId() works on iOS, but not on android
element.byLabel() which - as far as I understand the documentation - should find elements labeled with the property automationText does not work at all.

I've created a small example repository showing the behaviour: https://github.com/MrSnoozles/ns-detox (The name of the installed emulator has to be defined in .detoxrc.json). The tests are failing because it doesn't find the elements.

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

      0