A fully functional Android app built entirely with Kotlin and Jetpack Compose
Add Test for Saved Top Level Destination
kimdowoobc56ba79bc22
diff --git a/app/src/androidTest/kotlin/com/google/samples/apps/nowinandroid/ui/NavigationTest.kt b/app/src/androidTest/kotlin/com/google/samples/apps/nowinandroid/ui/NavigationTest.ktindex e1eab4796..4b8baf06b 100644--- a/app/src/androidTest/kotlin/com/google/samples/apps/nowinandroid/ui/NavigationTest.kt+++ b/app/src/androidTest/kotlin/com/google/samples/apps/nowinandroid/ui/NavigationTest.kt@@ -166,7 +166,10 @@ class NavigationTest {composeTestRule.apply {// GIVEN the user is on any of the top level destinations, THEN the Up arrow is not shown.onNodeWithContentDescription(navigateUp).assertDoesNotExist()- // TODO: Add top level destinations here, see b/226357686.++ onNodeWithText(saved).performClick()+ onNodeWithContentDescription(navigateUp).assertDoesNotExist()+onNodeWithText(interests).performClick()onNodeWithContentDescription(navigateUp).assertDoesNotExist()}