Merge "Waiting until context menu goes away after attempting to close it." into ub-launcher3-qt-qpr1-dev
This commit is contained in:
commit
7c09214298
|
@ -550,8 +550,10 @@ public final class LauncherInstrumentation {
|
||||||
displaySize.x / 2, displaySize.y - 1,
|
displaySize.x / 2, displaySize.y - 1,
|
||||||
displaySize.x / 2, 0,
|
displaySize.x / 2, 0,
|
||||||
ZERO_BUTTON_STEPS_FROM_BACKGROUND_TO_HOME);
|
ZERO_BUTTON_STEPS_FROM_BACKGROUND_TO_HOME);
|
||||||
assertTrue("Context menu is still visible after swiping up to home",
|
try (LauncherInstrumentation.Closable c = addContextLayer(
|
||||||
!hasLauncherObject("deep_shortcuts_container"));
|
"Swiped up from context menu to home")) {
|
||||||
|
waitUntilGone("deep_shortcuts_container");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (hasLauncherObject(WORKSPACE_RES_ID)) {
|
if (hasLauncherObject(WORKSPACE_RES_ID)) {
|
||||||
log(action = "already at home");
|
log(action = "already at home");
|
||||||
|
|
Loading…
Reference in New Issue