Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 522cc2ff authored by vadimt's avatar vadimt
Browse files

Adding diags for TAPL flakes that don't reproduce locally

Also temporarily disabling more flaky BindWidgetTests

Change-Id: Ib0d3c54c560ddb49b7964e85bf9cd6ebc567b6d7
parent 77dbcb50
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
+4 −0
Original line number Diff line number Diff line
@@ -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");
        }
    }