From 479b247372066b7ac6c7e225262f892158a1aa75 Mon Sep 17 00:00:00 2001 From: Jon Miranda Date: Tue, 16 May 2023 16:13:09 -0700 Subject: [PATCH] Re-enable testOverviewForTablet for persistent taskbar. Will enable for transient taskbar separately. Bug: 281812199 Test: verified passes locally Change-Id: I25ddc8bd80b8e06e983d0add0d1b354083d1870a --- .../tests/src/com/android/quickstep/TaplTestsQuickstep.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/quickstep/tests/src/com/android/quickstep/TaplTestsQuickstep.java b/quickstep/tests/src/com/android/quickstep/TaplTestsQuickstep.java index c39d095068..77c76d9c77 100644 --- a/quickstep/tests/src/com/android/quickstep/TaplTestsQuickstep.java +++ b/quickstep/tests/src/com/android/quickstep/TaplTestsQuickstep.java @@ -17,6 +17,7 @@ package com.android.quickstep; import static com.android.launcher3.ui.TaplTestsLauncher3.getAppPackageName; +import static com.android.quickstep.TaskbarModeSwitchRule.Mode.PERSISTENT; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; @@ -44,6 +45,7 @@ import com.android.launcher3.ui.TaplTestsLauncher3; import com.android.launcher3.util.Wait; import com.android.launcher3.util.rule.ScreenRecordRule.ScreenRecord; import com.android.quickstep.NavigationModeSwitchRule.NavigationModeSwitch; +import com.android.quickstep.TaskbarModeSwitchRule.TaskbarModeSwitch; import com.android.quickstep.views.RecentsView; import org.junit.After; @@ -359,9 +361,9 @@ public class TaplTestsQuickstep extends AbstractQuickStepTest { waitForState("Launcher internal state didn't switch to Home", () -> LauncherState.NORMAL); } - @Ignore @Test @PortraitLandscape + @TaskbarModeSwitch(mode = PERSISTENT) public void testOverviewForTablet() throws Exception { assumeTrue(mLauncher.isTablet());