Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fe60dd29 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "[DocsUI] Update clearSelection() method to use "clear selection" text" into main

parents 3b94d234 73b01098
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -244,7 +244,7 @@ public class DirectoryListBot extends Bots.BaseBot {
     */
    public void clearSelection() {
        int parentId = isUseMaterial3FlagEnabled() ? R.id.selection_bar : R.id.toolbar;
        onView(allOf(withContentDescription("Cancel"),
        onView(allOf(withContentDescription(R.string.clear_selection),
                isDescendantOfA(withId(parentId)))).perform(click());
    }