Merge "Adding logs to test uninstallWorkspaceIcon to find flake reason" into main

This commit is contained in:
Sebastián Franco authored and Android (Google) Code Review committed 2023-09-07 17:21:08 +00:00
commit cedec50beb
2 files changed
+5 -4

No files matched your search

@@ -542,10 +542,6 @@ 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);