Merge "Adding screen record for a flake" into sc-v2-dev am: a8a51394f5

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16167587

Change-Id: I89bf395a82611b19861c75cc80b13f3992aa233d
This commit is contained in:
Alex Chau
2021-11-02 11:49:57 +00:00
committed by Automerger Merge Worker
@@ -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);