Disable work profile tests

Bug: 182844465
Test: presubmit
Change-Id: Ifc7baf9dffc6b8b453acf23dfe74f4cc9cd5ba4e
This commit is contained in:
Samuel Fufa 2021-03-25 18:07:03 -05:00
parent dd1026b0c0
commit 7122bd1577
1 changed files with 4 additions and 5 deletions

View File

@ -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);