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

Commit df3abce3 authored by Tomasz Mikolajewski's avatar Tomasz Mikolajewski
Browse files

Remove temporary test fixes.

The tests should fail, as the features are broken.

Change-Id: Ib760ba5469164b8ca0d08c57f24273268ae2436f
(cherry picked from commit 94eca73f)
parent 7b68b868
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -70,7 +70,7 @@ public class SearchViewUiTest extends ActivityTest<FilesActivity> {
        bot.assertDocumentsCountOnList(true, 2);
        bot.assertHasDocuments(fileName1, fileName2);

        // bot.assertSearchTextField(false, query);  Quick fix for broken tests. b/27016351
        bot.assertSearchTextField(false, query);
    }

    public void testSearchResultsFound_ClearsOnBack() throws Exception {
@@ -84,7 +84,6 @@ public class SearchViewUiTest extends ActivityTest<FilesActivity> {

        device.pressEnter();
        device.pressBack();
        device.pressBack();  // Quick fix for broken tests! b/27016351

        assertDefaultContentOfTestDir0();
    }
@@ -106,7 +105,7 @@ public class SearchViewUiTest extends ActivityTest<FilesActivity> {
        String msg = String.valueOf(context.getString(R.string.no_results));
        bot.assertMessageTextView(String.format(msg, "TEST_ROOT_0"));

        // bot.assertSearchTextField(false, query);  Quick fix for broken tests. b/27016351
        bot.assertSearchTextField(false, query);
    }

    public void testSearchNoResults_ClearsOnBack() throws Exception {
@@ -120,7 +119,6 @@ public class SearchViewUiTest extends ActivityTest<FilesActivity> {

        device.pressEnter();
        device.pressBack();
        device.pressBack();  // Quick fix for broken tests! b/27016351

        device.waitForIdle();
        assertDefaultContentOfTestDir0();