I am trying to launch a fragment with object as a parameter in my Espresso test case and I am unable to do so. val homeFragment= launchFragmentInCont ...
I am trying to launch a fragment with object as a parameter in my Espresso test case and I am unable to do so. val homeFragment= launchFragmentInCont ...
I am trying to use idling resources in my test following this tutorial. The problem is that the code to be tested already runs in the onCreate() meth ...
I have an app requesting for the access to a folder. then in OnActivityResult: When I run the app manually, the persistable permission is grante ...
I have some flows where a fragment opens another fragment to do staff in a dedicated screen. Every time I open the new fragment Roboletric is not able ...
I started learning Espresso I need to start the activity and set the permission for the camera. But after running the test, returns an error My ...
I am getting the below error on running my espresso test: ` I have added the below dependencies in build.gradle I tried following the solution ...
The app I am working on has an application overlay window implemented as floating button. It's defined with type as: The problem is that I am unabl ...
I want to check my editTextView and the field of a property(crime.title). How could I get this field from the test class? That's my Test Class: And ...
When running some test with this line: onView(withId(R.id.topTextView)).check(matches(isDisplayed())); I get this error: Cannot resolve method 'matc ...
I am using espresso for ui testing of an android app. It has feature of logging in. While logging in, if user enters wrong username or password, a toa ...
I have an app with two flavour versions (pro and light) and I want to run instrumented tests. So I add two extra directories androidTestLight and andr ...
I have encountered a problem that when I tried to run Android Instrument test, android studio will start building, everything is good until it stuck t ...
I am writing UI Test for my App using Espresso. The screen shows a Recyclerview with list of shops that have status OPEN or CLOSED. Depending upon the ...
I am trying to run a test using Espresso in jetpack compose. Everytime I run it, it gives this error. androidx.test.espresso.NoMatchingViewException: ...
I'm working on app testing automation with combining both Espresso and UiAutomator. Some of the feature are hidden behind the feature flag that is up ...
I have a scenario, wherein if the user stays idle on the screen for 45 minutes, I will have to transfer the user to home screen. In my Espresso test, ...
We have defined the dependency androidTestImplementation("androidx.test.espresso:espresso-contrib:3.3.0"). Instrumentation tests are working fine. But ...
I'm trying to write my own viewMatcher testing the background color of my Button so I'm trying to implement: Testing background color espresso Androi ...
We have a app that has some data stored in singleton classes. so, the data changes only after the app is killed. so,We have a usecase that require app ...
For basic testing, if I create a test class like below, it works fine. But what if i want to abstract some of these into separate classes for an en ...