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

Commit 4b87b9e5 authored by Hui Kang's avatar Hui Kang
Browse files

Fix AddWidgetTest flake

Test: ABTD

200 all PASS: https://android-build.googleplex.com/builds/tests/view?invocationId=I20300010100881398

Without this CL, 1/100 FAIL: https://android-build.googleplex.com/builds/abtd/run/L73700000956982533

Change-Id: Ia9d7746144e9838798332f4eea223a9529551713
parent f34811d3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -54,6 +54,8 @@ public class AddWidgetTest extends AbstractLauncherUiTest {
        clearHomescreen();
        mDevice.pressHome();

        waitForLauncherCondition("Workspace didn't finish loading", l -> !l.isWorkspaceLoading());

        final LauncherAppWidgetProviderInfo widgetInfo =
                TestViewHelpers.findWidgetProvider(this, false /* hasConfigureScreen */);