Disable work profile tests
Bug: 182844465 Test: presubmit Change-Id: Ifc7baf9dffc6b8b453acf23dfe74f4cc9cd5ba4e
This commit is contained in:
parent
dd1026b0c0
commit
7122bd1577
|
@ -42,7 +42,6 @@ import com.android.launcher3.views.WorkEduView;
|
|||
|
||||
import org.junit.After;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
import java.util.List;
|
||||
|
@ -90,7 +89,7 @@ public class WorkTabTest extends AbstractLauncherUiTest {
|
|||
});
|
||||
}
|
||||
|
||||
@Test
|
||||
// @Test
|
||||
public void workTabExists() {
|
||||
mDevice.pressHome();
|
||||
waitForLauncherCondition("Launcher didn't start", Objects::nonNull);
|
||||
|
@ -102,7 +101,7 @@ public class WorkTabTest extends AbstractLauncherUiTest {
|
|||
launcher -> launcher.getAppsView().isWorkTabVisible(), 60000);
|
||||
}
|
||||
|
||||
@Test
|
||||
// @Test
|
||||
public void toggleWorks() {
|
||||
mDevice.pressHome();
|
||||
waitForLauncherCondition("Launcher didn't start", Objects::nonNull);
|
||||
|
@ -133,7 +132,7 @@ public class WorkTabTest extends AbstractLauncherUiTest {
|
|||
l -> l.getSystemService(UserManager.class).isQuietModeEnabled(workProfile));
|
||||
}
|
||||
|
||||
@Test
|
||||
// @Test
|
||||
public void testWorkEduFlow() {
|
||||
mDevice.pressHome();
|
||||
waitForLauncherCondition("Launcher didn't start", Objects::nonNull);
|
||||
|
@ -176,7 +175,7 @@ public class WorkTabTest extends AbstractLauncherUiTest {
|
|||
});
|
||||
}
|
||||
|
||||
@Test
|
||||
// @Test
|
||||
public void testWorkEduIntermittent() {
|
||||
mDevice.pressHome();
|
||||
waitForLauncherCondition("Launcher didn't start", Objects::nonNull);
|
||||
|
|
Loading…
Reference in New Issue