Add ScreenRecord for flaky tests

Bug: 242163245
Bug: 242163855
Bug: 242163822
Bug: 206481237
Test: presubmit
Change-Id: Id1e58c70802107f5b964c1f67bff4ef3a7e5de70
This commit is contained in:
Alex Chau
2022-08-22 13:46:11 -04:00
parent c97195c1fc
commit 20a9f45281
3 changed files with 6 additions and 0 deletions
@@ -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/206481237
public void testConfigCancelled() throws Throwable {
runTest(false);
}