mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-05 10:26:52 +00:00
Merge "Adding wait to test if the flake is a race condition" into udc-qpr-dev am: b8ca7ae13c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24576276 Change-Id: I23d35ce9667e4317df44daa9936d3594fce573a0 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -643,6 +643,10 @@ public class TaplTestsLauncher3 extends AbstractLauncherUiTest {
|
||||
mLauncher.getWorkspace().verifyWorkspaceAppIconIsGone(
|
||||
DUMMY_APP_NAME + " was expected to disappear after uninstall.", DUMMY_APP_NAME);
|
||||
|
||||
// Debug for b/288944469 I want to test if we are not waiting enough after removing
|
||||
// the icon to request the list of icons again, since the items are not removed
|
||||
// immediately. This should reduce the flake rate
|
||||
SystemClock.sleep(500);
|
||||
Map<String, Point> finalPositions =
|
||||
mLauncher.getWorkspace().getWorkspaceIconsPositions();
|
||||
assertThat(finalPositions).doesNotContainKey(DUMMY_APP_NAME);
|
||||
|
||||
Reference in New Issue
Block a user