diff --git a/quickstep/tests/src/com/android/quickstep/TaplTestsQuickstep.java b/quickstep/tests/src/com/android/quickstep/TaplTestsQuickstep.java index 211a13c964..3a2899104e 100644 --- a/quickstep/tests/src/com/android/quickstep/TaplTestsQuickstep.java +++ b/quickstep/tests/src/com/android/quickstep/TaplTestsQuickstep.java @@ -196,6 +196,7 @@ public class TaplTestsQuickstep extends AbstractQuickStepTest { } + @PlatinumTest(focusArea = "launcher") @Test public void testOverviewActionsMenu() throws Exception { startTestAppsWithCheck(); diff --git a/tests/src/com/android/launcher3/allapps/OopTaplOpenCloseAllApps.java b/tests/src/com/android/launcher3/allapps/OopTaplOpenCloseAllApps.java index 7d6b7f9fac..f9dadaa351 100644 --- a/tests/src/com/android/launcher3/allapps/OopTaplOpenCloseAllApps.java +++ b/tests/src/com/android/launcher3/allapps/OopTaplOpenCloseAllApps.java @@ -17,11 +17,14 @@ package com.android.launcher3.allapps; import static com.android.launcher3.ui.TaplTestsLauncher3.expectFail; import static com.android.launcher3.ui.TaplTestsLauncher3.initialize; + import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import static org.junit.Assume.assumeTrue; +import android.platform.test.annotations.PlatinumTest; + import com.android.launcher3.LauncherState; import com.android.launcher3.tapl.AllApps; import com.android.launcher3.ui.AbstractLauncherUiTest; @@ -88,6 +91,7 @@ public class OopTaplOpenCloseAllApps extends AbstractLauncherUiTest { /** * Make sure the swipe up gesture can take us back to the workspace from AllApps */ + @PlatinumTest(focusArea = "launcher") @Test @PortraitLandscape public void testAllAppsSwipeUpToWorkspace() { diff --git a/tests/src/com/android/launcher3/appiconmenu/TaplAppIconMenuTest.java b/tests/src/com/android/launcher3/appiconmenu/TaplAppIconMenuTest.java index 66c67f5ca8..85cf52eb15 100644 --- a/tests/src/com/android/launcher3/appiconmenu/TaplAppIconMenuTest.java +++ b/tests/src/com/android/launcher3/appiconmenu/TaplAppIconMenuTest.java @@ -82,6 +82,7 @@ public class TaplAppIconMenuTest extends AbstractLauncherUiTest { * Drag icon from AllApps to the workspace and then open the AppIconMenu and launch a shortcut * from it. */ + @PlatinumTest(focusArea = "launcher") @Test public void testLaunchHomeScreenMenuItem() { // Drag the test app icon to home screen and open short cut menu from the icon diff --git a/tests/src/com/android/launcher3/ui/widget/AddWidgetTest.java b/tests/src/com/android/launcher3/ui/widget/AddWidgetTest.java index 64ab206830..fd4b7f1f6c 100644 --- a/tests/src/com/android/launcher3/ui/widget/AddWidgetTest.java +++ b/tests/src/com/android/launcher3/ui/widget/AddWidgetTest.java @@ -15,7 +15,6 @@ */ package com.android.launcher3.ui.widget; -import static com.android.launcher3.ui.TaplTestsLauncher3.getAppPackageName; import static org.junit.Assert.assertNotNull; import android.platform.test.annotations.PlatinumTest; @@ -99,6 +98,7 @@ public class AddWidgetTest extends AbstractLauncherUiTest { /** * Test dragging a widget to the workspace and resize it. */ + @PlatinumTest(focusArea = "launcher") @Test public void testResizeWidget() throws Throwable { new FavoriteItemsTransaction(mTargetContext).commitAndLoadHome(mLauncher);