Top "Android-espresso" questions

Espresso is a library which is used to write Android UI tests.

Android Espresso wait for text to appear

I am trying to automate an Android app that is a chatbot using Espresso. I can say that I am …

android chatbot android-espresso
Espresso intent test failing

I'm learning android instrumentation testing with espresso. I have an app which has a drawer menu and there is a …

android android-intent android-testing android-espresso
How to use Espresso Idling Resource

The scenario is when the user click on the "Download" button, the data (a music/an image etc.) starts being …

android android-testing android-espresso
Espresso - click on the button of the dialog

I want to test the permissions of Android 6, but I didn't find the way to click on the "Allow" button …

android android-6.0-marshmallow android-espresso runtime-permissions
Android Espresso - Click checkbox if not checked

I have onView(withId(R.id.check_box)).perform(click()), but i only want to do this if the check …

android testing checkbox android-espresso
Espresso UI testing doesn't recognize onView()

I have spent all day setting up Junit4 instrumentation tests with Espresso, but just can't seem to get that final …

java android android-gradle-plugin junit4 android-espresso
Android Espresso ListView click item

I have ListView with pictures and text. When I try to click item, I get error android.support.test.espresso.…

android android-listview android-espresso ui-testing
Espresso - get text of element

If I have an "AppCompatTextView" element that I can access by: onView(withId(R.id.allergies_text)) From Layout Inspector: …

android android-espresso android-espresso-recorder
Getting Dagger to inject mock objects when doing Espresso functional testing for Android

I've recently gone whole-hog with Dagger because the concept of DI makes complete sense. One of the nicer "by-products" of …

android dependency-injection functional-testing dagger android-espresso
How to test a specific Activity with Espresso?

I have only just started with testing in Android and this seems very basic but after much googling I still …

android android-testing android-espresso