diff options
author | ByteHamster <info@bytehamster.com> | 2021-03-05 13:09:48 +0100 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2021-03-05 13:23:53 +0100 |
commit | bbde3ff9ded6aecc94b3e67e144c1018b0ca89b0 (patch) | |
tree | c7cfcf34eaf1bd4d40e69671fa68f700b7fa19a0 /app/src/androidTest | |
parent | 20f4d9739d996921c9b1e6b840df6e7fe2136b59 (diff) | |
download | AntennaPod-bbde3ff9ded6aecc94b3e67e144c1018b0ca89b0.zip |
Fixed test
Diffstat (limited to 'app/src/androidTest')
-rw-r--r-- | app/src/androidTest/java/de/test/antennapod/ui/NavigationDrawerTest.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/src/androidTest/java/de/test/antennapod/ui/NavigationDrawerTest.java b/app/src/androidTest/java/de/test/antennapod/ui/NavigationDrawerTest.java index 53396372a..cd9810ba9 100644 --- a/app/src/androidTest/java/de/test/antennapod/ui/NavigationDrawerTest.java +++ b/app/src/androidTest/java/de/test/antennapod/ui/NavigationDrawerTest.java @@ -30,7 +30,6 @@ import java.util.List; import static androidx.test.espresso.Espresso.onView; import static androidx.test.espresso.action.ViewActions.click; import static androidx.test.espresso.action.ViewActions.longClick; -import static androidx.test.espresso.action.ViewActions.scrollTo; import static androidx.test.espresso.action.ViewActions.swipeUp; import static androidx.test.espresso.intent.Intents.intended; import static androidx.test.espresso.intent.matcher.IntentMatchers.hasComponent; @@ -123,7 +122,7 @@ public class NavigationDrawerTest { for (int i = 0; i < uiTestUtils.hostedFeeds.size(); i++) { Feed f = uiTestUtils.hostedFeeds.get(i); openNavDrawer(); - onDrawerItem(withText(f.getTitle())).perform(scrollTo(), click()); + onDrawerItem(withText(f.getTitle())).perform(click()); onView(isRoot()).perform(waitForView(allOf(isDescendantOfA(withId(R.id.appBar)), withText(f.getTitle()), isDisplayed()), 1000)); } |