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

Commit 94bf69c2 authored by Tony Huang's avatar Tony Huang Committed by android-build-merger
Browse files

Fix some tests am: 65bc46b3

am: 9c8afeb1

Change-Id: I9ff78b8ea877ad473fde098793c06eac94570bfe
parents f1860eca 9c8afeb1
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -57,7 +57,14 @@ public class FilesActivityUiTest extends ActivityTest<FilesActivity> {
    // to be able to click on it.
    public void testClickRecent() throws Exception {
        bots.roots.openRoot("Recent");

        boolean showSearchBar =
                context.getResources().getBoolean(R.bool.show_search_bar);
        if (showSearchBar) {
            bots.main.assertSearchBarShow();
        } else {
            bots.main.assertWindowTitle("Recent");
        }
    }

    public void testRootClick_SetsWindowTitle() throws Exception {