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

Commit 9016e179 authored by Alex Chau's avatar Alex Chau
Browse files

Add ScreenRecord for testDragCustomShortcut

- For investigation of a failing test

Bug: 195263971
Test: manual
Change-Id: If68e678a847f70c5b891c9dbcece77333fedf846
parent b999186b
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -27,6 +27,7 @@ import com.android.launcher3.model.data.LauncherAppWidgetInfo;
import com.android.launcher3.tapl.Widget;
import com.android.launcher3.tapl.Widget;
import com.android.launcher3.ui.AbstractLauncherUiTest;
import com.android.launcher3.ui.AbstractLauncherUiTest;
import com.android.launcher3.ui.TestViewHelpers;
import com.android.launcher3.ui.TestViewHelpers;
import com.android.launcher3.util.rule.ScreenRecordRule.ScreenRecord;
import com.android.launcher3.util.rule.ShellCommandRule;
import com.android.launcher3.util.rule.ShellCommandRule;
import com.android.launcher3.widget.LauncherAppWidgetProviderInfo;
import com.android.launcher3.widget.LauncherAppWidgetProviderInfo;


@@ -80,6 +81,7 @@ public class AddWidgetTest extends AbstractLauncherUiTest {
     */
     */
    @Test
    @Test
    @PortraitLandscape
    @PortraitLandscape
    @ScreenRecord //b/195263971
    public void testDragCustomShortcut() throws Throwable {
    public void testDragCustomShortcut() throws Throwable {
        clearHomescreen();
        clearHomescreen();
        mDevice.pressHome();
        mDevice.pressHome();