What steps will reproduce the problem?
git clone https://github.com/andnexus/android-testing
1. Run emulator without gpu on and turn off animation
2. Replace line 41 in
master/app/src/androidTest/java/com/andnexus/android/tests/MainActivityTest.java
:
- onView(withId(R.id.action_refresh)).perform(click());
+ onView(withId(R.id.refresh)).perform(swipeDown());
What is the expected output? What do you see instead?
Test should pass like it does with current committed code but it does not.
What version of the product are you using? On what operating system?
Variant build from master with BuildType debug.
# Create and start emulator
android create avd --force --name test --target android-19 --abi armeabi-v7a
emulator -avd test -no-skin -no-audio -no-window
# Disable lock screen if device is reade
adb shell input keyevent 82
Original issue reported on code.google.com by Benjamin...@gmail.com on 9 Feb 2015 at 4:14
Original issue reported on code.google.com by
Benjamin...@gmail.com
on 9 Feb 2015 at 4:14