From 77aed7422acb521d2516ced3c55346fa8a22858c Mon Sep 17 00:00:00 2001 From: Anushree Ganjam Date: Tue, 20 Aug 2024 17:07:30 -0700 Subject: [PATCH] Dismiss the setup wizard for both presubmit and post submit tests. In the past we have faced setup wizard not dismissed issue but eng prod team has not fixed this issue. See b/309008042 for more details. Bug: 359658695 Bug: 359658158 Bug: 356695093 Bug: 355718051 Flag: TEST_ONLY Test: Manual Change-Id: Ief020483fa167946193875f9d6c089d1cfd55124 --- tests/src/com/android/launcher3/ui/AbstractLauncherUiTest.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/src/com/android/launcher3/ui/AbstractLauncherUiTest.java b/tests/src/com/android/launcher3/ui/AbstractLauncherUiTest.java index 749a75aaa1..68004bb058 100644 --- a/tests/src/com/android/launcher3/ui/AbstractLauncherUiTest.java +++ b/tests/src/com/android/launcher3/ui/AbstractLauncherUiTest.java @@ -351,8 +351,6 @@ public abstract class AbstractLauncherUiTest { /** Waits for setup wizard to go away. */ private static void waitForSetupWizardDismissal() { - if (!TestStabilityRule.isPresubmit()) return; - if (sFirstTimeWaitingForWizard) { try { getUiDevice().executeShellCommand(