Merge "Clean up screen record for tests" into sc-v2-dev am: bf89b27f90
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15410564 Change-Id: Ic90766ea48cc757dd968e35a6e88938186fc5296
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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));
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user