Skip to content

Commit

Permalink
Fixed failing sandbox ui tests
Browse files Browse the repository at this point in the history
  • Loading branch information
LachlanMcKee committed Sep 24, 2024
1 parent 8e879e0 commit 0a9dedb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions gradle/dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def versions = [
androidxPercentLayoutVersion : '1.0.0', // https://developer.android.com/jetpack/androidx/releases/percentlayout
androidxRecyclerViewVersion : '1.1.0', // https://developer.android.com/jetpack/androidx/releases/recyclerview
androidxSavedStateVersion : '1.2.0', // https://developer.android.com/jetpack/androidx/releases/savedstate
androidxTestVersion : '1.4.0', // https://developer.android.com/jetpack/androidx/releases/test
androidxTestVersion : '1.5.0', // https://developer.android.com/jetpack/androidx/releases/test
androidxTestUiAutoVersion : '2.2.0',
retrofitVersion : '2.9.0',
okhttp : '3.14.7',
Expand Down Expand Up @@ -101,8 +101,8 @@ def test = [
]

def androidTest = [
espresso : 'androidx.test.espresso:espresso-core:3.4.0',
espressoIntents: 'androidx.test.espresso:espresso-intents:3.4.0',
espresso : 'androidx.test.espresso:espresso-core:3.5.0',
espressoIntents: 'androidx.test.espresso:espresso-intents:3.5.0',
runner : "androidx.test:runner:${versions.androidxTestVersion}",
rules : "androidx.test:rules:${versions.androidxTestVersion}"
]
Expand Down
4 changes: 3 additions & 1 deletion sandbox/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,12 @@ dependencies {
testImplementation project(":libraries:rib-base-test")
testImplementation project(":libraries:rib-base-test-rx2")

junitAndroidTestImplementation(project)
androidTestImplementation platform(deps.compose.bom)
androidTestImplementation project(":libraries:rib-base-test")
androidTestImplementation deps.androidTest.runner
androidTestImplementation deps.androidTest.espresso
androidTestImplementation deps.androidTest.rules
androidTestImplementation deps.androidTest.runner
androidTestImplementation deps.test.mockitoKotlin
androidTestImplementation "androidx.compose.ui:ui-test"
androidTestImplementation "androidx.compose.ui:ui-test-junit4"
Expand Down

0 comments on commit 0a9dedb

Please sign in to comment.