Make sure we keep the screen record even if the test succeeds
Bug: 322823478 Test: testEdu Test: testDevicePressMenu Flag: NA Change-Id: Ia11d3cbc0a10e15d716b1845e3590bca2bd1ff76
This commit is contained in:
@@ -45,6 +45,7 @@ import com.android.launcher3.allapps.WorkPausedCard;
|
||||
import com.android.launcher3.allapps.WorkProfileManager;
|
||||
import com.android.launcher3.tapl.LauncherInstrumentation;
|
||||
import com.android.launcher3.util.TestUtil;
|
||||
import com.android.launcher3.util.rule.ScreenRecordRule.KeepRecordOnSuccess;
|
||||
import com.android.launcher3.util.rule.ScreenRecordRule.ScreenRecord;
|
||||
import com.android.launcher3.util.rule.TestStabilityRule.Stability;
|
||||
|
||||
@@ -196,6 +197,7 @@ public class TaplWorkProfileTest extends AbstractLauncherUiTest<Launcher> {
|
||||
|
||||
}
|
||||
|
||||
@KeepRecordOnSuccess
|
||||
@ScreenRecord // b/322823478
|
||||
@Test
|
||||
public void testEdu() {
|
||||
|
||||
Reference in New Issue
Block a user