Merge "Increase timeout for flaky work test" into ub-launcher3-master

This commit is contained in:
TreeHugger Robot
2020-02-20 01:49:30 +00:00
committed by Android (Google) Code Review

View File

@@ -73,11 +73,10 @@ public class WorkTabTest extends AbstractLauncherUiTest {
mDevice.pressHome();
waitForLauncherCondition("Launcher didn't start", Objects::nonNull);
executeOnLauncher(launcher -> launcher.getStateManager().goToState(ALL_APPS));
waitForLauncherCondition("Personal tab is missing",
launcher -> launcher.getAppsView().isPersonalTabVisible());
launcher -> launcher.getAppsView().isPersonalTabVisible(), 60000);
waitForLauncherCondition("Work tab is missing",
launcher -> launcher.getAppsView().isWorkTabVisible());
launcher -> launcher.getAppsView().isWorkTabVisible(), 60000);
}
@Test