Skip to content

Commit a5c030f

Browse files
authored
Merge pull request #956 from KDW03/add_saved_test
Add Test for Saved Top Level Destination
2 parents 89d39a7 + bc56ba7 commit a5c030f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,10 @@ class NavigationTest {
166166
composeTestRule.apply {
167167
// GIVEN the user is on any of the top level destinations, THEN the Up arrow is not shown.
168168
onNodeWithContentDescription(navigateUp).assertDoesNotExist()
169-
// TODO: Add top level destinations here, see b/226357686.
169+
170+
onNodeWithText(saved).performClick()
171+
onNodeWithContentDescription(navigateUp).assertDoesNotExist()
172+
170173
onNodeWithText(interests).performClick()
171174
onNodeWithContentDescription(navigateUp).assertDoesNotExist()
172175
}

0 commit comments

Comments
 (0)