Add ScreenRecord for a flaky test

Bug: 215672979
Test: none
Change-Id: I3bfd0275a4d551c0b6d614a7a76d696f14ce3ca3
This commit is contained in:
Alex Chau
2022-01-24 15:16:24 +00:00
parent 1234813d1c
commit 1a9ef83988

View File

@@ -33,6 +33,7 @@ import com.android.launcher3.tapl.Widgets;
import com.android.launcher3.testcomponent.WidgetConfigActivity;
import com.android.launcher3.ui.AbstractLauncherUiTest;
import com.android.launcher3.ui.TestViewHelpers;
import com.android.launcher3.util.rule.ScreenRecordRule.ScreenRecord;
import com.android.launcher3.util.rule.ShellCommandRule;
import com.android.launcher3.widget.LauncherAppWidgetProviderInfo;
@@ -72,6 +73,7 @@ public class AddConfigWidgetTest extends AbstractLauncherUiTest {
@Test
@PortraitLandscape
@ScreenRecord // b/215672979
public void testConfigCancelled() throws Throwable {
runTest(false);
}