From 2cf24c84bff48cd962de43100c956ac379ced3ec Mon Sep 17 00:00:00 2001 From: Himanshu Gupta Date: Wed, 3 Apr 2024 18:49:08 +0100 Subject: [PATCH] Fix failing test. Moving to All Apps view is not required as we are already on the same view during `moveToSearchView` invocation. Bug: 329152799 Test: LauncherIntentTest#testAllAppsIntent Flag: NA Change-Id: Ia618eaa1999a9db663dd09bb7c150b5a51dedc36 --- tests/src/com/android/launcher3/LauncherIntentTest.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/src/com/android/launcher3/LauncherIntentTest.java b/tests/src/com/android/launcher3/LauncherIntentTest.java index e8822c3712..a3013c72c6 100644 --- a/tests/src/com/android/launcher3/LauncherIntentTest.java +++ b/tests/src/com/android/launcher3/LauncherIntentTest.java @@ -29,7 +29,6 @@ import com.android.launcher3.allapps.ActivityAllAppsContainerView; import com.android.launcher3.allapps.SearchRecyclerView; import com.android.launcher3.ui.AbstractLauncherUiTest; -import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; @@ -40,7 +39,6 @@ public class LauncherIntentTest extends AbstractLauncherUiTest { public final Intent allAppsIntent = new Intent(Intent.ACTION_ALL_APPS); @Test - @Ignore("b/329152799") public void testAllAppsIntent() { // setup by moving to home mLauncher.goHome(); @@ -66,8 +64,6 @@ public class LauncherIntentTest extends AbstractLauncherUiTest { // Highlights the search bar, then fills text to display the SearchView. private void moveToSearchView() { - mLauncher.goHome().switchToAllApps(); - // All Apps view should be loaded assertTrue("Launcher internal state is not All Apps", isInState(() -> LauncherState.ALL_APPS));