Improvements in getting workspace app icon

Bug: 138743792

Change-Id: I11981774397b82bdad0352343a52341c2e3a5099
This commit is contained in:
vadimt
2019-07-31 14:47:11 -07:00
committed by Vadim Tryshev
parent bfff1c80df
commit 6b466783b7

View File

@@ -190,7 +190,7 @@ public class TaplTestsLauncher3 extends AbstractLauncherUiTest {
launcher -> assertTrue("ensureScrollable didn't make workspace scrollable",
isWorkspaceScrollable(launcher)));
assertNotNull("ensureScrollable didn't add Chrome app",
workspace.tryGetWorkspaceAppIcon("Chrome"));
workspace.getWorkspaceAppIcon("Chrome"));
// Test flinging workspace.
workspace.flingBackward();
@@ -206,7 +206,7 @@ public class TaplTestsLauncher3 extends AbstractLauncherUiTest {
assertTrue("Launcher internal state is not Home", isInState(LauncherState.NORMAL));
// Test starting a workspace app.
final AppIcon app = workspace.tryGetWorkspaceAppIcon("Chrome");
final AppIcon app = workspace.getWorkspaceAppIcon("Chrome");
assertNotNull("No Chrome app in workspace", app);
}