Extend tests to check Transient Taskbar Autohide

Bug: 260589084
Test: ab/I67000010134246487 on local device

Change-Id: Iad141fcbac54770810009e41082ab583cc3d260e
This commit is contained in:
Alibek Manabayev
2023-02-15 16:37:21 +00:00
parent 01c1dff441
commit 3b61863ba8

View File

@@ -92,6 +92,7 @@ public class TaplTestsTaskbar extends AbstractQuickStepTest {
@TaskbarModeSwitch(mode = TRANSIENT)
public void testTransientLaunchApp() throws Exception {
getTaskbar().getAppIcon(TEST_APP_NAME).launch(TEST_APP_PACKAGE);
mLauncher.getLaunchedAppState().assertTaskbarHidden();
}
@Test
@@ -140,6 +141,7 @@ public class TaplTestsTaskbar extends AbstractQuickStepTest {
public void testTransientLaunchAppInSplitscreen() throws Exception {
getTaskbar().getAppIcon(TEST_APP_NAME).dragToSplitscreen(
TEST_APP_PACKAGE, CALCULATOR_APP_PACKAGE);
mLauncher.getLaunchedAppState().assertTaskbarHidden();
}
@Test