testing-samples icon indicating copy to clipboard operation
testing-samples copied to clipboard

A collection of samples demonstrating different frameworks and techniques for automated testing

Results 104 testing-samples issues
Sort by recently updated
recently updated
newest added

Getting below Exception for every consecutive execution ``` java.lang.IllegalStateException: UiAutomation not connected! at android.app.UiAutomation.throwIfNotConnectedLocked(UiAutomation.java:971) at android.app.UiAutomation.waitForIdle(UiAutomation.java:577) at android.support.test.uiautomator.UiAutomatorBridge.waitForIdle(UiAutomatorBridge.java:112) at android.support.test.uiautomator.UiDevice.waitForIdle(UiDevice.java:639) at android.support.test.uiautomator.UiDevice.waitForIdle(UiDevice.java:629) at android.support.test.uiautomator.UiDevice.getWindowRoots(UiDevice.java:1074) at android.support.test.uiautomator.UiDevice.findObject(UiDevice.java:164) ``` observed throwing above...

bug

Hi all! I get this error `Test instrumentation process crashed. Check my.long.package.activity#checkQuitDialog.txt for details` But there is no /files folder in /data/data/androidx.test.orchestrator, only /cache and /cache_code. I run test on...

Add Kotlin RecyclerView Espresso testing. It's the same idea of [BasicSample](https://github.com/android/testing-samples/tree/main/ui/espresso/BasicSample/app/src/androidTest/java/com/example/android/testing/espresso/BasicSample), that is, same tests and comments in Java and Kotlin.

I keep getting these errors for few of my automation tests. Most of the times, on re-running the tests, it works fine again ``` java.lang.RuntimeException: Error while connecting UiAutomation at...

Update to latest dependencies

1.build.gradle fix // 181024w; Move google() to top so hope to get Could not find aapt2-proto.jar fixed; 2.wrapper prefs fix version // 181024w; Also changed ./gradle/wrapper/gradle-wrapper.properties to 4.10.2 3.used info...

cla: no

1.Add alibaba maven 2.Change kotlin-stdlib-jre7 to kotlin-stdlib-jdk7

cla: no