Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c0f35cce authored by Priyanka Advani's avatar Priyanka Advani Committed by Android (Google) Code Review
Browse files

Merge "Revert "Remove TaplTestsQuickstep tests from PlatinumTest Part2"" into main

parents 18c1038d 07c9ca69
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -103,6 +103,7 @@ public class TaplTestsQuickstep extends AbstractQuickStepTest {
    @Test
    @NavigationModeSwitch
    @PortraitLandscape
    @PlatinumTest(focusArea = "launcher")
    public void testWorkspaceSwitchToAllApps() {
        assertNotNull("switchToAllApps() returned null",
                mLauncher.getWorkspace().switchToAllApps());
@@ -179,6 +180,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());
@@ -215,6 +217,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",
@@ -240,6 +243,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();
@@ -266,6 +270,7 @@ public class TaplTestsQuickstep extends AbstractQuickStepTest {
    @Test
    @NavigationModeSwitch
    @PortraitLandscape
    @PlatinumTest(focusArea = "launcher")
    public void testQuickSwitchFromApp() throws Exception {
        startTestActivity(2);
        startTestActivity(3);
@@ -295,6 +300,7 @@ public class TaplTestsQuickstep extends AbstractQuickStepTest {

    @Test
    @ScreenRecord // b/242163205
    @PlatinumTest(focusArea = "launcher")
    @TaskbarModeSwitch(mode = PERSISTENT)
    public void testQuickSwitchToPreviousAppForTablet() throws Exception {
        assumeTrue(mLauncher.isTablet());
@@ -321,6 +327,7 @@ public class TaplTestsQuickstep extends AbstractQuickStepTest {
    @Test
    @NavigationModeSwitch
    @PortraitLandscape
    @PlatinumTest(focusArea = "launcher")
    public void testQuickSwitchFromHome() throws Exception {
        startTestActivity(2);
        mLauncher.goHome().quickSwitchToPreviousApp();