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

Commit 825a8183 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "DO NOT MERGE Change test case that's only meant for productivity devices." into arc-apps

parents b8965716 751425ae
Loading
Loading
Loading
Loading
+12 −1
Original line number Diff line number Diff line
@@ -73,7 +73,7 @@ public class FilesActivityUiTest extends ActivityTest<FilesActivity> {
                "file0.log", "file1.png", "file2.csv", "Ham & Cheese.sandwich");
    }

    public void testNavigateByBreadcrumb() throws Exception {
    public void testNavigate_inFixedLayout_byBreadcrumb() throws Exception {
        bots.directory.openDocument(dirName1);
        bots.directory.waitForDocument(childDir1);  // wait for known content
        bots.directory.assertDocumentsPresent(childDir1);
@@ -86,6 +86,17 @@ public class FilesActivityUiTest extends ActivityTest<FilesActivity> {
        bots.directory.waitForDocument(dirName1);
    }

    public void testNavigate_inFixedLayout_whileHasSelection() throws Exception {
        if (bots.main.inFixedLayout()) {
            bots.roots.openRoot(rootDir0.title);
            device.waitForIdle();
            bots.directory.selectDocument("file0.log", 1);

            // ensure no exception is thrown while navigating to a different root
            bots.roots.openRoot(rootDir1.title);
        }
    }

    public void testRootChange_UpdatesSortHeader() throws Exception {

        // switch to separate display modes for two separate roots. Each