I'm trying to write Scenario() with composeTestRule in Kaspresso, but I get an error: My scenario for example: But I have added composeTestRule ...
I'm trying to write Scenario() with composeTestRule in Kaspresso, but I get an error: My scenario for example: But I have added composeTestRule ...
I have a simple button. It's color set is set based on condition and I want to test correct color is applied from MaterialTheme but test fails saying ...
I have the following test for Android: } I am launching the test from the androidTest folder (with right mouse click)in the project with the optio ...
I use WorkManager in my app to chain multiple CoroutineWorkers together. I am trying to test my app and have these workers run synchronously before co ...
I am writing an android test for an android application, and I need to access resource id's that are inside a dependent library project. But the id's ...
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 want to be able to create a separate test-shared module to be able to share between the androidTest and test packages. My issue is the fakes require ...
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 ...
How would you go about testing what input type TextField uses, for example if I wanted to test if user input has an alphanumeric keyboard type or nume ...
I am having problem trying to initialize my WorkerGetData class for instrumentation testing. I have done the following: removed the default work i ...
I am trying to run a test using Espresso in jetpack compose. Everytime I run it, it gives this error. androidx.test.espresso.NoMatchingViewException: ...
Is this possible during test to wait N amount of time, without freezing main thread. I am testing Compose app, and not sure how to do it. For now I us ...
We have defined the dependency androidTestImplementation("androidx.test.espresso:espresso-contrib:3.3.0"). Instrumentation tests are working fine. But ...
I have an app that has a composable MyCard(). I am testing the app in myTest() and would like to simulate a swipeRight gesture on the card. When I u ...
The problem I'm trying to perform precise scrolling in an Android native app using Appium & WebdriverIO. The end goal is to perform snapshot tes ...
I have view model which can be provided via such code: and I would like to test my viewmodel requests and so on. Due to the fact that I will need c ...
I'm working on a multi-module project. In a module called network I'm providing the instance of Retrofit through Hilt dependency injection and works f ...
Running Datastore instrumented test fails with kotlinx.coroutines.test.UncompletedCoroutinesError: After waiting for 60000 ms, the test coroutine is n ...
. Answers to this question are eligible for a +50 reputation bounty. Sa ...
I have a very strange issue that I have been stuck on all day. My CI/CD automatically uploads the latest version from the main branch to the internal ...