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

Commit a84e5041 authored by Alex Chau's avatar Alex Chau Committed by Android (Google) Code Review
Browse files

Merge "Mark existing Launcher CUJs as Platinum tests." into main

parents 00a33996 ff74bb5d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -196,6 +196,7 @@ public class TaplTestsQuickstep extends AbstractQuickStepTest {
    }


    @PlatinumTest(focusArea = "launcher")
    @Test
    public void testOverviewActionsMenu() throws Exception {
        startTestAppsWithCheck();
+4 −0
Original line number Diff line number Diff line
@@ -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() {
+1 −0
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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);