Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

baristaRule is causing keyDispatchingTimedOut during the automation test #480

Open
klinOSTK opened this issue Jan 30, 2023 · 1 comment
Open

Comments

@klinOSTK
Copy link

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.

@moutyque
Copy link
Contributor

moutyque commented Mar 5, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants