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

Commit 86a6708a authored by Sergey Pinkevich's avatar Sergey Pinkevich
Browse files

[E2E test] Add an assertion that we exited DW mode after closing the last app

Bug: 364590923
Flag: EXEMPT no flag is needed for instrumented test
Test: atest PlatformScenarioTests:com.android.wm.shell.functional.CloseAllAppsWithAppHeaderExitTest

Change-Id: I4bd05e07ed414186a4c9fb0687ad4d28cd0297c8
parent f1e8a993
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -66,6 +66,10 @@ abstract class CloseAllAppsWithAppHeaderExit (
        nonResizeableApp.closeDesktopApp(wmHelper, device)
        mailApp.closeDesktopApp(wmHelper, device)
        testApp.closeDesktopApp(wmHelper, device)
        wmHelper.StateSyncBuilder()
            .withAppTransitionIdle()
            .withHomeActivityVisible()
            .waitForAndVerify()
    }

    @After