From 272abb9d1948918434ea218daff03883d47edb07 Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Sun, 29 Sep 2019 17:06:55 +0200 Subject: [PATCH] Fixed preferences tests --- .../androidTest/java/de/test/antennapod/EspressoTestUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/androidTest/java/de/test/antennapod/EspressoTestUtils.java b/app/src/androidTest/java/de/test/antennapod/EspressoTestUtils.java index d3eec623e..f895b4d5e 100644 --- a/app/src/androidTest/java/de/test/antennapod/EspressoTestUtils.java +++ b/app/src/androidTest/java/de/test/antennapod/EspressoTestUtils.java @@ -113,7 +113,7 @@ public class EspressoTestUtils { } public static void clickPreference(@StringRes int title) { - onView(withId(R.id.list)).perform( + onView(withId(R.id.recycler_view)).perform( RecyclerViewActions.actionOnItem(hasDescendant(withText(title)), click())); }