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

Commit 26a44423 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Manually close activity when SearchViewUiTest am: 5fb3a45a am: f87e004f...

Manually close activity when SearchViewUiTest am: 5fb3a45a am: f87e004f am: c8a06927 am: 790195c6

Change-Id: I7900211e1905835f4b5a7f1cbb82cbfd6448dcaa
parents 3c6b00e0 790195c6
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -44,6 +44,16 @@ public class SearchViewUiTest extends ActivityTest<FilesActivity> {
      bots.directory.waitForDocument(fileName1);
    }

    @Override
    public void tearDown() throws Exception {
        // manually close activity to avoid SearchFragment show when Activity close. ref b/142840883
        device.waitForIdle();
        device.pressBack();
        device.pressBack();
        device.pressBack();
        super.tearDown();
    }

    public void testSearchIconVisible() throws Exception {
        // The default root (root 0) supports search
        bots.search.assertInputExists(false);