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

Commit 8ecf1b3d authored by vadimt's avatar vadimt
Browse files

Waiting until context menu goes away after attempting to close it.

Bug: 141770616
Change-Id: I528072e830627d825906ce7c1e3dbb914e2c814e
parent 872a380b
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -550,8 +550,10 @@ public final class LauncherInstrumentation {
                        displaySize.x / 2, displaySize.y - 1,
                        displaySize.x / 2, 0,
                        ZERO_BUTTON_STEPS_FROM_BACKGROUND_TO_HOME);
                assertTrue("Context menu is still visible after swiping up to home",
                        !hasLauncherObject("deep_shortcuts_container"));
                try (LauncherInstrumentation.Closable c = addContextLayer(
                        "Swiped up from context menu to home")) {
                    waitUntilGone("deep_shortcuts_container");
                }
            }
            if (hasLauncherObject(WORKSPACE_RES_ID)) {
                log(action = "already at home");