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

Commit 05af3346 authored by Tony Huang's avatar Tony Huang
Browse files

Fix test case

Test case testCopyDocuments_documentsDisabled might failed in tearDown
beacuse it remian on PickActivity. Add click cancel in test end to back
filesActity.

Bug: 150257481
Test: atest DocumentsUIGoogleTests
Change-Id: I0252d1b7c024d9dc465f5fe644c4f642d3e1e4dc
parent d43fb2b9
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -439,6 +439,9 @@ public class FileCopyUiTest extends ActivityTest<FilesActivity> {
        device.waitForIdle();

        assertFalse(bots.directory.findDocument(fileName1).isEnabled());

        // Back to FilesActivity to do tear down action if necessary
        bots.main.clickDialogCancelButton();
    }

    @HugeLongTest