diff --git a/tests/src/com/android/launcher3/compat/PromiseIconUiTest.java b/tests/src/com/android/launcher3/compat/PromiseIconUiTest.java index 032a7b4418..f34a29e9f8 100644 --- a/tests/src/com/android/launcher3/compat/PromiseIconUiTest.java +++ b/tests/src/com/android/launcher3/compat/PromiseIconUiTest.java @@ -27,6 +27,7 @@ import com.android.launcher3.Launcher; import com.android.launcher3.LauncherState; import com.android.launcher3.ui.AbstractLauncherUiTest; import com.android.launcher3.util.LauncherBindableItemsContainer.ItemOperator; +import com.android.launcher3.util.rule.ScreenRecordRule.ScreenRecord; import org.junit.After; import org.junit.Test; @@ -73,6 +74,7 @@ public class PromiseIconUiTest extends AbstractLauncherUiTest { } @Test + @ScreenRecord // b/202985412 public void testPromiseIcon_addedFromEligibleSession() throws Throwable { final String appLabel = "Test Promise App " + UUID.randomUUID().toString(); final ItemOperator findPromiseApp = (info, view) -> @@ -95,6 +97,7 @@ public class PromiseIconUiTest extends AbstractLauncherUiTest { } @Test + @ScreenRecord // b/202985412 public void testPromiseIcon_notAddedFromIneligibleSession() throws Throwable { final String appLabel = "Test Promise App " + UUID.randomUUID().toString(); final ItemOperator findPromiseApp = (info, view) ->