Barista icon indicating copy to clipboard operation
Barista copied to clipboard

baristaRule is causing keyDispatchingTimedOut during the automation test

Open klinOSTK opened this issue 2 years ago • 1 comments

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.

klinOSTK avatar Jan 30 '23 21:01 klinOSTK

Hello @klinOSTK do you have a code example to reproduce the issue ? Or a github project ? Because on my side, I do not face this issue.

moutyque avatar Mar 05 '23 14:03 moutyque