Adding diags for TAPL flakes that don't reproduce locally

Also temporarily disabling more flaky BindWidgetTests

Change-Id: Ib0d3c54c560ddb49b7964e85bf9cd6ebc567b6d7
This commit is contained in:
vadimt 2019-03-26 17:51:15 -07:00
parent 77dbcb50dd
commit 522cc2ff0c
2 changed files with 5 additions and 1 deletions

View File

@ -145,7 +145,7 @@ public class BindWidgetTest extends AbstractLauncherUiTest {
assertFalse(mDevice.findObject(new UiSelector().description(info.label)).exists());
}
@Test
@Test @Ignore
public void testPendingWidget_autoRestored() {
// A non-restored widget with no config screen gets restored automatically.
LauncherAppWidgetProviderInfo info = TestViewHelpers.findWidgetProvider(this, false);

View File

@ -36,6 +36,7 @@ public final class Widgets extends LauncherInstrumentation.VisibleContainer {
public void flingForward() {
try (LauncherInstrumentation.Closable c = mLauncher.addContextLayer(
"want to fling forward in widgets")) {
LauncherInstrumentation.log("Widgets.flingForward enter");
final UiObject2 widgetsContainer = verifyActiveContainer();
widgetsContainer.setGestureMargin(100);
widgetsContainer.fling(Direction.DOWN,
@ -43,6 +44,7 @@ public final class Widgets extends LauncherInstrumentation.VisibleContainer {
try (LauncherInstrumentation.Closable c1 = mLauncher.addContextLayer("flung forward")) {
verifyActiveContainer();
}
LauncherInstrumentation.log("Widgets.flingForward exit");
}
}
@ -52,6 +54,7 @@ public final class Widgets extends LauncherInstrumentation.VisibleContainer {
public void flingBackward() {
try (LauncherInstrumentation.Closable c = mLauncher.addContextLayer(
"want to fling backwards in widgets")) {
LauncherInstrumentation.log("Widgets.flingBackward enter");
final UiObject2 widgetsContainer = verifyActiveContainer();
widgetsContainer.setGestureMargin(100);
widgetsContainer.fling(Direction.UP,
@ -60,6 +63,7 @@ public final class Widgets extends LauncherInstrumentation.VisibleContainer {
try (LauncherInstrumentation.Closable c1 = mLauncher.addContextLayer("flung back")) {
verifyActiveContainer();
}
LauncherInstrumentation.log("Widgets.flingBackward exit");
}
}