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:
@@ -32,6 +32,7 @@ import com.android.launcher3.allapps.WorkAdapterProvider;
|
|||||||
import com.android.launcher3.allapps.WorkEduCard;
|
import com.android.launcher3.allapps.WorkEduCard;
|
||||||
import com.android.launcher3.allapps.WorkProfileManager;
|
import com.android.launcher3.allapps.WorkProfileManager;
|
||||||
import com.android.launcher3.tapl.LauncherInstrumentation;
|
import com.android.launcher3.tapl.LauncherInstrumentation;
|
||||||
|
import com.android.launcher3.util.rule.ScreenRecordRule.ScreenRecord;
|
||||||
|
|
||||||
import org.junit.After;
|
import org.junit.After;
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
@@ -86,6 +87,7 @@ public class WorkProfileTest extends AbstractLauncherUiTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@ScreenRecord // b/202735477
|
||||||
public void workTabExists() {
|
public void workTabExists() {
|
||||||
mDevice.pressHome();
|
mDevice.pressHome();
|
||||||
waitForLauncherCondition("Launcher didn't start", Objects::nonNull);
|
waitForLauncherCondition("Launcher didn't start", Objects::nonNull);
|
||||||
|
|||||||
Reference in New Issue
Block a user