Merge "Testing to see if waiting for resume will fix flaky tests." into sc-v2-dev am: 1c79327f6e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16214207 Change-Id: I62876c198b063445041fa67bb75b3a9b90056762
This commit is contained in:
@@ -93,6 +93,7 @@ public class WorkProfileTest extends AbstractLauncherUiTest {
|
||||
waitForLauncherCondition("Launcher didn't start", Objects::nonNull);
|
||||
waitForStateTransitionToEnd("Launcher internal state didn't switch to Normal",
|
||||
() -> NORMAL);
|
||||
waitForResumed("Launcher internal state is still Background");
|
||||
executeOnLauncher(launcher -> launcher.getStateManager().goToState(ALL_APPS));
|
||||
waitForStateTransitionToEnd("Launcher internal state didn't switch to All Apps",
|
||||
() -> ALL_APPS);
|
||||
|
||||
Reference in New Issue
Block a user