What steps will reproduce the problem?
1. Create a test that tries to enter text into a web view on an emulator (used
genymotion and offical emulator pre-4.4)
2. Run the test.
What is the expected output? What do you see instead?
I would expect that all tests would all pass successfully.
However, it seems the first test that tries an assertion always fails with a
timeout, but the following tests run fine. What I've done to run successfully
in this example is to create a test that runs first that just does onWebView(),
this seems to initialize something that allows following tests to run. To
replicate this, comment out the last line in SimpleEspressTest.firstTest()
What version of the product are you using? On what operating system?
espresso 2.2, Mac OSX, Genymotion S4 - 4.3, Nexus 4 emulator x86 4.2.2
Please provide any additional information below.
Please see attached zip for a sample project, If you comment the last line in
SimpleEspressoTest.firstTest, all tests will pass. Use ./gradlew
connectedAndroidTestDebug to run
Original issue reported on code.google.com by brian.pa...@gmail.com on 10 Jul 2015 at 1:35
Original issue reported on code.google.com by
brian.pa...@gmail.com
on 10 Jul 2015 at 1:35Attachments: