Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Android UI tests are flaky #870

Closed
jonnyandrew opened this issue Nov 16, 2023 · 0 comments · Fixed by #872
Closed

Android UI tests are flaky #870

jonnyandrew opened this issue Nov 16, 2023 · 0 comments · Fixed by #872

Comments

@jonnyandrew
Copy link
Contributor

The Android UI tests fail randomly due to the following error:

androidx.test.espresso.base.RootViewPicker$RootViewWithoutFocusException: Waited for the root of the view hierarchy to have window focus and not request layout for 10 seconds. If you specified a non default root matcher, it may be picking a root that never takes focus

A screenshot taken from one such test run reveals the cause as an ANR dialog from the Quickstep app:

20231116_152527

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

Successfully merging a pull request may close this issue.

1 participant