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
This commit is contained in:
Himanshu Gupta committed 2024-04-03 18:51:33 +01:00
1 parent 520d91f93b
commit 2cf24c84bf
1 file changed
-4
@@ -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));