Ernestas Balčiūnas

    Ernestas Balčiūnas

    1 year ago
    Has anyone used compose with traditional espresso test? Integrated into our app bottom navigation with compose and I'm struggling to access buttons in espresso tests
    onView(withContentDescription(BottomItem.Notifications.contentDescription)).perform(click())
    does not find item and view hierarchy does not show any of bottom bar items as identifiable item
    a

    alorma

    1 year ago
    It won't work
    Ernestas Balčiūnas

    Ernestas Balčiūnas

    1 year ago
    Thanks, you have saved some time for me. Also found out that UiAutomator is able to find and press elements with content description.