From 07c9ca69c3db524ebe4e8104e79961c3fe01eff8 Mon Sep 17 00:00:00 2001 From: Priyanka Advani Date: Mon, 13 Nov 2023 20:47:32 +0000 Subject: [PATCH] Revert "Remove TaplTestsQuickstep tests from PlatinumTest Part2" Revert submission 25316575-CUJ-TaplTestQuickstep-part2 Reason for revert: b/310687289 Reverted changes: /q/submissionid:25316575-CUJ-TaplTestQuickstep-part2 Change-Id: I3a253e42f2ea00921658317edae2423fe909ebb2 --- .../src/com/android/quickstep/TaplTestsQuickstep.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/quickstep/tests/src/com/android/quickstep/TaplTestsQuickstep.java b/quickstep/tests/src/com/android/quickstep/TaplTestsQuickstep.java index 0ee0b67123..4075c55371 100644 --- a/quickstep/tests/src/com/android/quickstep/TaplTestsQuickstep.java +++ b/quickstep/tests/src/com/android/quickstep/TaplTestsQuickstep.java @@ -100,6 +100,7 @@ public class TaplTestsQuickstep extends AbstractQuickStepTest { @Test @NavigationModeSwitch @PortraitLandscape + @PlatinumTest(focusArea = "launcher") public void testWorkspaceSwitchToAllApps() { assertNotNull("switchToAllApps() returned null", mLauncher.getWorkspace().switchToAllApps()); @@ -176,6 +177,7 @@ public class TaplTestsQuickstep extends AbstractQuickStepTest { @Test @NavigationModeSwitch @PortraitLandscape + @PlatinumTest(focusArea = "launcher") public void testOverviewActions() throws Exception { assumeFalse("Skipping Overview Actions tests for grid only overview", mLauncher.isTablet() && mLauncher.isGridOnlyOverviewEnabled()); @@ -212,6 +214,7 @@ public class TaplTestsQuickstep extends AbstractQuickStepTest { @NavigationModeSwitch @PortraitLandscape @ScreenRecord // b/238461765 + @PlatinumTest(focusArea = "launcher") public void testSwitchToOverview() throws Exception { startTestAppsWithCheck(); assertNotNull("Workspace.switchToOverview() returned null", @@ -237,6 +240,7 @@ public class TaplTestsQuickstep extends AbstractQuickStepTest { @Test @NavigationModeSwitch @PortraitLandscape + @PlatinumTest(focusArea = "launcher") public void testBackground() throws Exception { startAppFast(CALCULATOR_APP_PACKAGE); final LaunchedAppState launchedAppState = getAndAssertLaunchedApp(); @@ -263,6 +267,7 @@ public class TaplTestsQuickstep extends AbstractQuickStepTest { @Test @NavigationModeSwitch @PortraitLandscape + @PlatinumTest(focusArea = "launcher") public void testQuickSwitchFromApp() throws Exception { startTestActivity(2); startTestActivity(3); @@ -292,6 +297,7 @@ public class TaplTestsQuickstep extends AbstractQuickStepTest { @Test @ScreenRecord // b/242163205 + @PlatinumTest(focusArea = "launcher") @TaskbarModeSwitch(mode = PERSISTENT) public void testQuickSwitchToPreviousAppForTablet() throws Exception { assumeTrue(mLauncher.isTablet()); @@ -318,6 +324,7 @@ public class TaplTestsQuickstep extends AbstractQuickStepTest { @Test @NavigationModeSwitch @PortraitLandscape + @PlatinumTest(focusArea = "launcher") public void testQuickSwitchFromHome() throws Exception { startTestActivity(2); mLauncher.goHome().quickSwitchToPreviousApp();