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
This commit is contained in:
1 parent
f34811d3a3
commit
4b87b9e521
1 file changed
+2
@@ -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 */);
|
||||
|
||||
|
||||
Reference in new issue
Block a user