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

Commit 27ee6447 authored by Alex Chau's avatar Alex Chau
Browse files

Clean up screen record for tests

- Add new record and remove obsolete ones

Bug: 193440212
Bug: 193125090
Bug: 192005114
Test: manual
Change-Id: I860c42961e710e1542d9d911338dd359896b6970
parent e6935d89
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -16,7 +16,6 @@ import androidx.test.filters.LargeTest;
import androidx.test.runner.AndroidJUnit4;

import com.android.launcher3.Launcher;
import com.android.launcher3.util.rule.ScreenRecordRule.ScreenRecord;
import com.android.quickstep.views.DigitalWellBeingToast;
import com.android.quickstep.views.RecentsView;
import com.android.quickstep.views.TaskView;
@@ -33,7 +32,6 @@ public class DigitalWellBeingToastTest extends AbstractQuickStepTest {
            resolveSystemApp(Intent.CATEGORY_APP_CALCULATOR);

    @Test
    @ScreenRecord //b/193440212
    public void testToast() throws Exception {
        startAppFast(CALCULATOR_PACKAGE);

+1 −1
Original line number Diff line number Diff line
@@ -214,7 +214,7 @@ public class FallbackRecentsTest {
    // b/143488140
    //@NavigationModeSwitch
    @Test
    @ScreenRecord // b/194484556
    @ScreenRecord // b/187080582
    public void testOverview() {
        startAppFast(getAppPackageName());
        startAppFast(resolveSystemApp(Intent.CATEGORY_APP_CALCULATOR));
+1 −1
Original line number Diff line number Diff line
@@ -93,7 +93,6 @@ public class TaplTestsQuickstep extends AbstractQuickStepTest {

    @Test
    @PortraitLandscape
    @ScreenRecord //b/193440212
    public void testOverview() throws Exception {
        startTestAppsWithCheck();
        // mLauncher.pressHome() also tests an important case of pressing home while in background.
@@ -159,6 +158,7 @@ public class TaplTestsQuickstep extends AbstractQuickStepTest {
    @Test
    @NavigationModeSwitch
    @PortraitLandscape
    @ScreenRecord //b/193125090
    public void testOverviewActions() throws Exception {
        // Experimenting for b/165029151:
        final Overview overview = mLauncher.pressHome().switchToOverview();
+0 −1
Original line number Diff line number Diff line
@@ -87,7 +87,6 @@ public class RequestPinItemTest extends AbstractLauncherUiTest {
    }

    @Test
    @ScreenRecord  //b/192005114
    public void testPinWidgetNoConfig_customPreview() throws Throwable {
        // Command to set custom preview
        Intent command = RequestPinItemActivity.getCommandIntent(