Skip to content

baristaRule is causing keyDispatchingTimedOut during the automation test #480

Description

@klinOSTK

Please consider making a Pull Request if you are capable of doing so.

Library Version:

4.3.0

Describe the Bug:

Keep getting random ANR during the test with error message of
INSTRUMENTATION_STATUS_CODE: 1
INSTRUMENTATION_RESULT: longMsg=Input dispatching timed out (5ba616c com.xxx.debug/com.xxx.android.nav.NavHostActivity (server) is not responding. Waited 5005ms for FocusEvent(hasFocus=false))
INSTRUMENTATION_RESULT: shortMsg=keyDispatchingTimedOut

Steps to reproduce the bug:
Apply baristaRule in the test and trigger automation test

Expected Behavior:

Test should be passed without ANR (No app freeze) like when only composeTestRule is applied.

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