android-test icon indicating copy to clipboard operation
android-test copied to clipboard

An extensive framework for testing Android apps

Results 273 android-test issues
Sort by recently updated
recently updated
newest added

### Description [`ScrollToAction`](https://github.com/android/android-test/blob/master/espresso/core/java/androidx/test/espresso/action/ScrollToAction.java) currently throws an exception when used on a `View` which is a descendent of a `NestedScrollView` (the currently recommended scrollable view for vertical scrolling). ### Steps to...

### Description Included `androidx.recyclerview.widget.ListAdapter` performs asynchronous operations in the background. However, Espresso does not appear to be aware of it and thus tests can fail if async list diff is...

### Description After migrate from [deprecated ActivityTestRule](https://developer.android.com/reference/androidx/test/rule/ActivityTestRule) to [ActivityScenarioRule](https://developer.android.com/reference/androidx/test/ext/junit/rules/ActivityScenarioRule) ui-tests with release build type failed: > java.lang.AssertionError: Activity never becomes requested state "[STARTED, CREATED, DESTROYED, RESUMED]" (last lifecycle transition =...

### Description Instrumentation test randomly failing. When running espresso tests on our CI machine (which runs tests on Firebase Test Lab) we occasionally get the following crash and then the...

@parekhkishan611 …provider/FlightsContentProviderByRuleTest.java to စမ်းသပ်အက်ပ်များ/ui_testapp/javatests များ/androidx/စမ်းသပ်/ui/အက်ပ်/ပံ့ပိုးပေးသူ/FlightsContentProviderByRuleTest.java Kingmaster chanel ### Overview ### Proposed Changes

### Description Got Error messages as below: java.lang.AssertionError: Activity never becomes requested state "[CREATED, DESTROYED, RESUMED, STARTED]" (last lifecycle transition = "PRE_ON_CREATE") at androidx.test.core.app.ActivityScenario.waitForActivityToBecomeAnyOf(ActivityScenario.java:338) some message shows in log E/TestRunner(...

### Description **Issue:** If the getter methods are executed concurrently with the corresponding update methods, the `HashSet` constructor in the getter methods may fail due to concurrent modification of the...

### Description When using `ActivityScenario` to test activities, the activity under test is not considered as the task root. I guess this is by design since `FLAG_ACTIVITY_NEW_TASK` is masked when...

10 months ago, daf2db024fc249cc0b14b0553f0673416a877792 added a flag to force Python 2 (PY2), but it's now (3 months ago) officially [sunset](https://www.python.org/doc/sunset-python-2/). With bazel 2.2.0, I can no longer build or run...