Barista
Barista copied to clipboard
baristaRule is causing keyDispatchingTimedOut during the automation test
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.
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.