From da02250c2957048c5b0ea0f802a5c61330ef46f1 Mon Sep 17 00:00:00 2001 From: Jon Miranda Date: Mon, 1 Nov 2021 14:24:43 -0700 Subject: [PATCH] Adding screen record for a flake Test: presubmit Bug: 202735477 Change-Id: I4e1d2bc3650e2f52767f57e9b00c9c2bf7974489 --- tests/src/com/android/launcher3/ui/WorkProfileTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/src/com/android/launcher3/ui/WorkProfileTest.java b/tests/src/com/android/launcher3/ui/WorkProfileTest.java index 41cdf0feef..27a23757d6 100644 --- a/tests/src/com/android/launcher3/ui/WorkProfileTest.java +++ b/tests/src/com/android/launcher3/ui/WorkProfileTest.java @@ -32,6 +32,7 @@ import com.android.launcher3.allapps.WorkAdapterProvider; import com.android.launcher3.allapps.WorkEduCard; import com.android.launcher3.allapps.WorkProfileManager; import com.android.launcher3.tapl.LauncherInstrumentation; +import com.android.launcher3.util.rule.ScreenRecordRule.ScreenRecord; import org.junit.After; import org.junit.Before; @@ -86,6 +87,7 @@ public class WorkProfileTest extends AbstractLauncherUiTest { } @Test + @ScreenRecord // b/202735477 public void workTabExists() { mDevice.pressHome(); waitForLauncherCondition("Launcher didn't start", Objects::nonNull);