Skip to content

Commit d5d270b

Browse files
committed
Update Espresso and a few other libs to fix NoClassDefFoundError when running UI test
1 parent ecfb515 commit d5d270b

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

app/src/androidTest/kotlin/com/google/samples/apps/nowinandroid/ui/NavigationTest.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,7 @@ class NavigationTest {
281281

282282
// Tap the first topic chip
283283
onNodeWithTag("topicChip:${topic.id}", useUnmergedTree = true)
284+
.assertExists()
284285
.performClick()
285286

286287
// TEST FAILING HERE

gradle/libs.versions.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,23 @@ accompanist = "0.34.0"
33
androidDesugarJdkLibs = "2.0.4"
44
# AGP and tools should be updated together
55
androidGradlePlugin = "8.6.1"
6-
androidTools = "31.6.1"
7-
androidxActivity = "1.9.2"
6+
androidTools = "31.7.2"
7+
androidxActivity = "1.9.3"
88
androidxAppCompat = "1.7.0"
99
androidxBrowser = "1.8.0"
1010
androidxComposeBom = "2024.09.00"
1111
androidxComposeRuntimeTracing = "1.0.0-beta01"
1212
androidxCore = "1.13.1"
1313
androidxCoreSplashscreen = "1.0.1"
1414
androidxDataStore = "1.1.1"
15-
androidxEspresso = "3.5.1"
15+
androidxEspresso = "3.6.1"
1616
androidxHiltNavigationCompose = "1.2.0"
1717
androidxLifecycle = "2.8.6"
1818
androidxMacroBenchmark = "1.3.0"
1919
androidxMetrics = "1.0.0-beta01"
2020
androidxNavigation = "2.8.0"
2121
androidxProfileinstaller = "1.3.1"
22-
androidxTestCore = "1.5.0"
22+
androidxTestCore = "1.6.1"
2323
androidxTestExt = "1.2.1"
2424
androidxTestRules = "1.6.1"
2525
androidxTestRunner = "1.6.2"

0 commit comments

Comments
 (0)