Merge "Moving TaplTestsLauncher3 to it's own class" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
8a21ec65e4
@@ -270,24 +270,6 @@ public class TaplTestsQuickstep extends AbstractQuickStepTest {
|
||||
this::isInLaunchedApp, 3000 /* timeout */);
|
||||
}
|
||||
|
||||
@Test
|
||||
@PortraitLandscape
|
||||
public void testAllAppsFromHome() throws Exception {
|
||||
// Test opening all apps
|
||||
assertNotNull("switchToAllApps() returned null",
|
||||
mLauncher.getWorkspace().switchToAllApps());
|
||||
|
||||
TaplTestsLauncher3.runAllAppsTest(this, mLauncher.getAllApps());
|
||||
|
||||
// Testing pressHome.
|
||||
assertTrue("Launcher internal state is not All Apps",
|
||||
isInState(() -> LauncherState.ALL_APPS));
|
||||
assertNotNull("pressHome returned null", mLauncher.goHome());
|
||||
assertTrue("Launcher internal state is not Home",
|
||||
isInState(() -> LauncherState.NORMAL));
|
||||
assertNotNull("getHome returned null", mLauncher.getWorkspace());
|
||||
}
|
||||
|
||||
@Test
|
||||
@NavigationModeSwitch
|
||||
@PortraitLandscape
|
||||
|
||||
Reference in New Issue
Block a user