Merge "Add test to dismiss AllApps bottom sheet" into tm-qpr-dev
This commit is contained in:
commit
f52a13e424
5 files changed
+76
-17
No files matched your search
@@ -25,6 +25,7 @@ import static org.junit.Assert.assertFalse;
|
||||
import static org.junit.Assert.assertNotNull;
|
||||
import static org.junit.Assert.assertNull;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
import static org.junit.Assume.assumeTrue;
|
||||
|
||||
import android.content.Intent;
|
||||
import android.graphics.Point;
|
||||
@@ -191,6 +192,17 @@ public class TaplTestsLauncher3 extends AbstractLauncherUiTest {
|
||||
isInState(() -> LauncherState.ALL_APPS));
|
||||
}
|
||||
|
||||
@Test
|
||||
@PortraitLandscape
|
||||
public void testAllAppsDeadzoneForTablet() throws Exception {
|
||||
assumeTrue(mLauncher.isTablet());
|
||||
|
||||
mLauncher.getWorkspace().switchToAllApps().dismissByTappingOutsideForTablet(
|
||||
true /* tapRight */);
|
||||
mLauncher.getWorkspace().switchToAllApps().dismissByTappingOutsideForTablet(
|
||||
false /* tapRight */);
|
||||
}
|
||||
|
||||
@Test
|
||||
@ScreenRecord // b/202433017
|
||||
public void testWorkspace() throws Exception {
|
||||
|
||||
Reference in new issue
Block a user