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

Commit afe67917 authored by fbaron's avatar fbaron
Browse files

Add screenrecord and demote TaplTestsTrackpad#switchToOverview

Flag: NONE
Test: TaplTestsTrackpad#switchToOverview
Bug: 336606166
Change-Id: Id0e55f20db2a3cfcdb3e16909f76f3b902b5eeaf
parent 0fd34b78
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -16,6 +16,8 @@

package com.android.quickstep;

import static com.android.launcher3.util.rule.TestStabilityRule.LOCAL;
import static com.android.launcher3.util.rule.TestStabilityRule.PLATFORM_POSTSUBMIT;
import static com.android.quickstep.NavigationModeSwitchRule.Mode.ZERO_BUTTON;

import static org.junit.Assert.assertNotNull;
@@ -30,6 +32,8 @@ import androidx.test.runner.AndroidJUnit4;
import com.android.launcher3.tapl.LauncherInstrumentation.TrackpadGestureType;
import com.android.launcher3.tapl.Workspace;
import com.android.launcher3.ui.PortraitLandscapeRunner.PortraitLandscape;
import com.android.launcher3.util.rule.ScreenRecordRule;
import com.android.launcher3.util.rule.TestStabilityRule;
import com.android.quickstep.NavigationModeSwitchRule.NavigationModeSwitch;

import org.junit.After;
@@ -84,6 +88,8 @@ public class TaplTestsTrackpad extends AbstractQuickStepTest {
    @Test
    @PortraitLandscape
    @NavigationModeSwitch
    @ScreenRecordRule.ScreenRecord // b/336606166
    @TestStabilityRule.Stability(flavors = LOCAL | PLATFORM_POSTSUBMIT) // b/336606166
    public void switchToOverview() throws Exception {
        assumeTrue(mLauncher.isTablet());