eduyubero / android-test-kit

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

Intermittent NoActivityResumedException #80

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Using Espresso 1.1 (  double-espresso actually ), 99+% of the time the tests 
run just fine. Occasionally, some test will fail with 
NoActivityResumedException when performing a view action ( click, etc ), even 
though a previous click just succeeded on the same activity... 

This happening on real devices from our CI server, so it is possible that 
something popped up mid-test... ( phone call, System update dialog, etc ). 

At a minimum, it would be nice to have a wiki page with advice on this topic. 

Original issue reported on code.google.com by YogurtE...@gmail.com on 11 Jun 2014 at 3:49

GoogleCodeExporter commented 9 years ago
Likely caused by system popus (you could confirm with a screenshot/video). We 
talked about a workaround here: 
https://www.youtube.com/watch?v=aHcmsK9jfGU#t=427

But this needs to be part of a test environment and is outside the scope of 
Espresso.

Having a common issues page is a good idea. I started one here: 
https://code.google.com/p/android-test-kit/wiki/EspressoCommonProblems?ts=141643
3801&updated=EspressoCommonProblems

Original comment by vale...@google.com on 19 Nov 2014 at 9:50