dragthor / android-test-kit

Automatically exported from code.google.com/p/android-test-kit
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
I got “Window animation scale”, “Transition animation scale”, 
“Animator duration scale” turned off but still getting this.

Original comment by Nil.nick...@gmail.com on 13 Jul 2015 at 8:56

GoogleCodeExporter commented 9 years ago
Same problem here when trying to do a "perform(click())", goes into another 
activity after click happens but hangs thinking the condition was never met. 

Original comment by wzsddtc on 2 Sep 2015 at 7:19

GoogleCodeExporter commented 9 years ago
I think it's the indeterminate progress bar animation that's causing the hang 

Original comment by miranda....@gmail.com on 2 Sep 2015 at 11:43