Add taskbar TAPL tests

- Added TAPL objects to support TAPL tests for taskbar features
- Added tests for major taskbar features: hiding/showing the taskbar, opening all apps, lauching apps and app deep shortcuts from the taskbar/all apps page, launching apps and app deep shortcuts in splitscreen
- These tests should only run for large devices

Design: go/taskbar-tapl-tests
Test: ran tests locally with invalid configurations and remotely
Bug: 215218813
Change-Id: I3c28c339707467414aa47fa633f87fa0c1fdee57
This commit is contained in:
Schneider Victor-tulias
2022-02-10 11:10:21 -08:00
parent 968c32563f
commit fb252e7ce1
34 changed files with 1129 additions and 87 deletions

View File

@@ -567,6 +567,7 @@ public abstract class AbstractLauncherUiTest {
ordinal == TestProtocol.OVERVIEW_STATE_ORDINAL);
break;
}
case TASKBAR_ALL_APPS:
case LAUNCHED_APP: {
assertTrue("Launcher is resumed in state: " + expectedContainerType,
!isResumed);
@@ -580,9 +581,10 @@ public abstract class AbstractLauncherUiTest {
}
} else {
assertTrue(
"Container type is not LAUNCHED_APP or FALLBACK_OVERVIEW: "
+ expectedContainerType,
"Container type is not LAUNCHED_APP, TASKBAR_ALL_APPS "
+ "or FALLBACK_OVERVIEW: " + expectedContainerType,
expectedContainerType == ContainerType.LAUNCHED_APP
|| expectedContainerType == ContainerType.TASKBAR_ALL_APPS
|| expectedContainerType == ContainerType.FALLBACK_OVERVIEW);
}
}