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

Commit 1b78b82d authored by Tony Huang's avatar Tony Huang Committed by android-build-merger
Browse files

Fix some tests am: 65bc46b3 am: 9c8afeb1

am: 94bf69c2

Change-Id: I7857d6a455894250777136ddb37b1ca052079cbf
parents 0d8d33c4 94bf69c2
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 {