Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e6583cbb authored by Hyunyoung Song's avatar Hyunyoung Song Committed by Android (Google) Code Review
Browse files

Merge "Disable work profile tests" into sc-dev

parents 6df27bfd 7122bd15
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -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);