Skip to content

Commit e91067e

Browse files
committed
Add UI Automator to ease UI testing
- system back navigation - screenshot
1 parent edff059 commit e91067e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

gradle/libs.versions.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ about-libraries-core = { module = "com.mikepenz:aboutlibraries-core", version.re
8888
androidx-test-core = { module = "androidx.test:core", version = "1.6.1" }
8989
androidx-ui-test-manifest = { module = "androidx.compose.ui:ui-test-manifest", version.ref = "compose" }
9090
androidx-ui-test-junit4 = { module = "androidx.compose.ui:ui-test-junit4", version.ref = "compose" }
91+
androidx-uiautomator = { module = "androidx.test.uiautomator:uiautomator", version = "2.3.0" }
9192

9293
mockito-core = { module = "org.mockito:mockito-core", version.ref = "mockito" }
9394
androidx-ui-tooling-preview-android = { module = "androidx.compose.ui:ui-tooling-preview-android", version.ref = "compose-ui-preview" }

tasks-app-android/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ dependencies {
184184
}
185185
androidTestImplementation(libs.androidx.ui.test.junit4)
186186
debugImplementation(libs.androidx.ui.test.manifest)
187+
androidTestImplementation(libs.androidx.uiautomator)
187188
}
188189

189190
aboutLibraries {

0 commit comments

Comments
 (0)