All Questions
Tagged with instrumented-test gui-testing
4 questions
0
votes
0
answers
28
views
How to set up NavHost for android UI testing?
java.lang.IllegalArgumentException: Cannot navigate to NavDeepLinkRequest{ uri=android-app://androidx.navigation/movies/ }. Navigation graph has not been set for NavController androidx.navigation....
8
votes
3
answers
6k
views
How to iterate over an element (node) list on Android Jetpack Compose UI Tests?
I'm implementing some instrumented tests using the Jetpack Compose testing library. I'm not too familiar with Kotlin / Android development yet, but I have years of experience with Selenium and other ...
0
votes
1
answer
596
views
Composable does not remember input when changing configuration in test
I'm writing instrumented tests for a Jetpack Compose component. My composable uses rememberSaveable to remember between configuration changes (activity restarts):
@Composable
fun AddUserScreen() {
...
1
vote
1
answer
401
views
Which is a better way to access Context in instrumented unit tests?
Which of the following is more recommended to access Context in instrumented unit tests: using ApplicationProvider or InstrumentationRegistry?
val context: Context = ApplicationProvider....