Simplifying switching to home for some tests

Change-Id: I696d0267a2c36a18080396657bed07f7b1654a7d
This commit is contained in:
vadimt
2019-07-12 12:26:08 -07:00
parent 59b5b3f2a2
commit d91cec72fe
8 changed files with 16 additions and 32 deletions

View File

@@ -53,7 +53,7 @@ public class WorkTabTest extends AbstractLauncherUiTest {
@Test
public void workTabExists() {
mActivityMonitor.startLauncher();
mDevice.pressHome();
executeOnLauncher(launcher -> launcher.getStateManager().goToState(ALL_APPS));