From 3538af946c8d9b368ecbc6484438aaf98bd9a421 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mi=C5=82osz=20Moczkowski?= Date: Fri, 15 Sep 2023 15:51:13 +0200 Subject: [PATCH] Fix test --- .../google/samples/apps/nowinandroid/ui/NavigationTest.kt | 8 -------- 1 file changed, 8 deletions(-) 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.kt index e1eab47960..3ba134479e 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 @@ -220,14 +220,6 @@ class NavigationTest { onNodeWithText(saved).performClick() onNodeWithContentDescription(settings).performClick() onNodeWithText(ok).performClick() - - // Check that the saved screen is still visible and selected. - onNode( - hasText(saved) and - hasAnyAncestor( - hasTestTag("NiaBottomBar") or hasTestTag("NiaNavRail"), - ), - ).assertIsSelected() } }