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

Commit 98dfe6cf authored by Sebastián Franco's avatar Sebastián Franco Committed by Automerger Merge Worker
Browse files

Merge "Adding wait to test if the flake is a race condition" into udc-qpr-dev am: b8ca7ae1

parents 53ce6a66 b8ca7ae1
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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);