mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 08:56:55 +00:00
Disable work profile tests
Bug: 182844465 Test: presubmit Change-Id: Ifc7baf9dffc6b8b453acf23dfe74f4cc9cd5ba4e
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user