Adding diags for TAPL flakes that don't reproduce locally
Also temporarily disabling more flaky BindWidgetTests Change-Id: Ib0d3c54c560ddb49b7964e85bf9cd6ebc567b6d7
This commit is contained in:
parent
77dbcb50dd
commit
522cc2ff0c
|
@ -145,7 +145,7 @@ public class BindWidgetTest extends AbstractLauncherUiTest {
|
||||||
assertFalse(mDevice.findObject(new UiSelector().description(info.label)).exists());
|
assertFalse(mDevice.findObject(new UiSelector().description(info.label)).exists());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test @Ignore
|
||||||
public void testPendingWidget_autoRestored() {
|
public void testPendingWidget_autoRestored() {
|
||||||
// A non-restored widget with no config screen gets restored automatically.
|
// A non-restored widget with no config screen gets restored automatically.
|
||||||
LauncherAppWidgetProviderInfo info = TestViewHelpers.findWidgetProvider(this, false);
|
LauncherAppWidgetProviderInfo info = TestViewHelpers.findWidgetProvider(this, false);
|
||||||
|
|
|
@ -36,6 +36,7 @@ public final class Widgets extends LauncherInstrumentation.VisibleContainer {
|
||||||
public void flingForward() {
|
public void flingForward() {
|
||||||
try (LauncherInstrumentation.Closable c = mLauncher.addContextLayer(
|
try (LauncherInstrumentation.Closable c = mLauncher.addContextLayer(
|
||||||
"want to fling forward in widgets")) {
|
"want to fling forward in widgets")) {
|
||||||
|
LauncherInstrumentation.log("Widgets.flingForward enter");
|
||||||
final UiObject2 widgetsContainer = verifyActiveContainer();
|
final UiObject2 widgetsContainer = verifyActiveContainer();
|
||||||
widgetsContainer.setGestureMargin(100);
|
widgetsContainer.setGestureMargin(100);
|
||||||
widgetsContainer.fling(Direction.DOWN,
|
widgetsContainer.fling(Direction.DOWN,
|
||||||
|
@ -43,6 +44,7 @@ public final class Widgets extends LauncherInstrumentation.VisibleContainer {
|
||||||
try (LauncherInstrumentation.Closable c1 = mLauncher.addContextLayer("flung forward")) {
|
try (LauncherInstrumentation.Closable c1 = mLauncher.addContextLayer("flung forward")) {
|
||||||
verifyActiveContainer();
|
verifyActiveContainer();
|
||||||
}
|
}
|
||||||
|
LauncherInstrumentation.log("Widgets.flingForward exit");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -52,6 +54,7 @@ public final class Widgets extends LauncherInstrumentation.VisibleContainer {
|
||||||
public void flingBackward() {
|
public void flingBackward() {
|
||||||
try (LauncherInstrumentation.Closable c = mLauncher.addContextLayer(
|
try (LauncherInstrumentation.Closable c = mLauncher.addContextLayer(
|
||||||
"want to fling backwards in widgets")) {
|
"want to fling backwards in widgets")) {
|
||||||
|
LauncherInstrumentation.log("Widgets.flingBackward enter");
|
||||||
final UiObject2 widgetsContainer = verifyActiveContainer();
|
final UiObject2 widgetsContainer = verifyActiveContainer();
|
||||||
widgetsContainer.setGestureMargin(100);
|
widgetsContainer.setGestureMargin(100);
|
||||||
widgetsContainer.fling(Direction.UP,
|
widgetsContainer.fling(Direction.UP,
|
||||||
|
@ -60,6 +63,7 @@ public final class Widgets extends LauncherInstrumentation.VisibleContainer {
|
||||||
try (LauncherInstrumentation.Closable c1 = mLauncher.addContextLayer("flung back")) {
|
try (LauncherInstrumentation.Closable c1 = mLauncher.addContextLayer("flung back")) {
|
||||||
verifyActiveContainer();
|
verifyActiveContainer();
|
||||||
}
|
}
|
||||||
|
LauncherInstrumentation.log("Widgets.flingBackward exit");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue