Merge "Experiment with closing all apps before overview actions test" into ub-launcher3-master

This commit is contained in:
TreeHugger Robot
2020-09-19 02:50:16 +00:00
committed by Android (Google) Code Review
@@ -201,6 +201,12 @@ public class TaplTestsQuickstep extends AbstractQuickStepTest {
@PortraitLandscape
public void testOverviewActions() throws Exception {
if (mLauncher.getNavigationModel() != NavigationModel.TWO_BUTTON) {
// Experimenting for b/165029151:
final Overview overview = mLauncher.pressHome().switchToOverview();
if (overview.hasTasks()) overview.dismissAllTasks();
mLauncher.pressHome();
//
startTestAppsWithCheck();
OverviewActions actionsView =
mLauncher.pressHome().switchToOverview().getOverviewActions();