From 0c12987627af3afb5802fd445b89020507235474 Mon Sep 17 00:00:00 2001 From: fbaron Date: Mon, 12 Feb 2024 16:35:49 -0800 Subject: [PATCH] Add screenrecord for testAllAppsFromHome() Bug: 322228038 Test: TaplOpenCloseAllAppsTest Flag: NONE Change-Id: I3bcb13c1256df8d0029dfe32d21e95d6b4183037 --- .../com/android/launcher3/allapps/TaplOpenCloseAllAppsTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/src/com/android/launcher3/allapps/TaplOpenCloseAllAppsTest.java b/tests/src/com/android/launcher3/allapps/TaplOpenCloseAllAppsTest.java index da0beb19e5..68fa5710aa 100644 --- a/tests/src/com/android/launcher3/allapps/TaplOpenCloseAllAppsTest.java +++ b/tests/src/com/android/launcher3/allapps/TaplOpenCloseAllAppsTest.java @@ -26,6 +26,7 @@ import static org.junit.Assume.assumeTrue; import android.content.Intent; import android.platform.test.annotations.PlatinumTest; +import android.platform.test.rule.ScreenRecordRule; import androidx.test.filters.FlakyTest; import androidx.test.platform.app.InstrumentationRegistry; @@ -131,6 +132,7 @@ public class TaplOpenCloseAllAppsTest extends AbstractLauncherUiTest { @Test @PortraitLandscape @PlatinumTest(focusArea = "launcher") + @ScreenRecordRule.ScreenRecord // b/322228038 public void testAllAppsFromHome() { // Test opening all apps assertNotNull("switchToAllApps() returned null",