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

Commit 7f61d7f0 authored by Ben Lin's avatar Ben Lin
Browse files

Change test case that's only meant for productivity devices.

When in selection, the hamburger button is not available; therefore, it
is not a valid test case for phone factor devices.

Test: This fixes a test.
Change-Id: Ic3d1ccc1346b9d64fc8eddb7fbb034b7f15df617
parent fb142abe
Loading
Loading
Loading
Loading
+9 −8
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,8 +86,8 @@ public class FilesActivityUiTest extends ActivityTest<FilesActivity> {
        bots.directory.waitForDocument(dirName1);
    }

    public void testNavigate_whileHasSelection() throws Exception {

    public void testNavigate_inFixedLayout_whileHasSelection() throws Exception {
        if (bots.main.inFixedLayout()) {
            bots.roots.openRoot(rootDir0.title);
            device.waitForIdle();
            bots.directory.selectDocument("file0.log", 1);
@@ -95,6 +95,7 @@ public class FilesActivityUiTest extends ActivityTest<FilesActivity> {
            // ensure no exception is thrown while navigating to a different root
            bots.roots.openRoot(rootDir1.title);
        }
    }

    public void testRootChange_UpdatesSortHeader() throws Exception {