Skip to content

Commit daee4b5

Browse files
mikehardydavid-allison
authored andcommitted
test: do not back out of pref search before checking results
1 parent 7f7cd37 commit daee4b5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

AnkiDroid/src/androidTest/java/com/ichi2/anki/preferences/PreferencesNavigationTest.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ class PreferencesNavigationTest {
6868
onView(withId(R.id.nav_settings)).perform(click())
6969
onView(withId(com.bytehamster.lib.preferencesearch.R.id.search)).perform(click())
7070
onView(allOf(withId(com.bytehamster.lib.preferencesearch.R.id.search), hasFocus())).perform(typeText("Controls"))
71-
pressBack()
7271
// Checking the list of Settings Categories are displayed on the basis of our search "Controls"
7372
onView(allOf(withResourceName("list"), isAssignableFrom(RecyclerView::class.java))).check(
7473
matches(

0 commit comments

Comments
 (0)