wychi/android-test-kit

getting "Espresso ViewAssertion Failed Looped for 3528 iterations over 60 SECONDS. The following Idle Conditions failed ." error

Opened this issue · 1 comments

What steps will reproduce the problem?
1. Using espresso, I am finding whether a dialog( which have indeterminate 
progress ui in it) is displayed or not.
2.  When dialog is displayed, I am calling  
onView(withId(id)).check(matches(isDisplayed()));
3

Note:  hardware acceleration is enabled for progress UI inside dialog(not sure 
whether supported in espresso?)

What is the expected output?
Is should find the view displayed.

 What do you see instead?
getting "Espresso ViewAssertion Failed Looped for 3528 iterations over 60 
SECONDS. The following Idle Conditions failed ." error

What version of the product are you using? On what operating system?
KitKat : 4.4.4

Please provide any additional information below.


Original issue reported on code.google.com by pardeep....@gmail.com on 14 Apr 2015 at 10:29

Do you have an animation running that may keep the Ui Thread busy?

Original comment by nkors...@google.com on 5 May 2015 at 5:36