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

Commit a2918038 authored by vadimt's avatar vadimt
Browse files

Demoting WorkProfileTest#workTabExists from presubmit due to high flakiness

Test: presubmit
Bug: 243688989
Change-Id: I2edbd94a79d8f66e006ce0087bf4ab617e6ba041
parent 6468ce77
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -19,6 +19,8 @@ import static com.android.launcher3.LauncherState.ALL_APPS;
import static com.android.launcher3.LauncherState.NORMAL;
import static com.android.launcher3.LauncherState.NORMAL;
import static com.android.launcher3.allapps.AllAppsStore.DEFER_UPDATES_TEST;
import static com.android.launcher3.allapps.AllAppsStore.DEFER_UPDATES_TEST;
import static com.android.launcher3.testing.shared.TestProtocol.WORK_TAB_MISSING;
import static com.android.launcher3.testing.shared.TestProtocol.WORK_TAB_MISSING;
import static com.android.launcher3.util.rule.TestStabilityRule.LOCAL;
import static com.android.launcher3.util.rule.TestStabilityRule.PLATFORM_POSTSUBMIT;


import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.assertTrue;
@@ -37,6 +39,7 @@ import com.android.launcher3.allapps.WorkPausedCard;
import com.android.launcher3.allapps.WorkProfileManager;
import com.android.launcher3.allapps.WorkProfileManager;
import com.android.launcher3.tapl.LauncherInstrumentation;
import com.android.launcher3.tapl.LauncherInstrumentation;
import com.android.launcher3.testing.shared.TestProtocol;
import com.android.launcher3.testing.shared.TestProtocol;
import com.android.launcher3.util.rule.TestStabilityRule.Stability;


import org.junit.After;
import org.junit.After;
import org.junit.Before;
import org.junit.Before;
@@ -113,6 +116,7 @@ public class WorkProfileTest extends AbstractLauncherUiTest {
    }
    }


    @Test
    @Test
    @Stability(flavors = LOCAL | PLATFORM_POSTSUBMIT) // b/243688989
    public void workTabExists() {
    public void workTabExists() {
        assumeTrue(mWorkProfileSetupSuccessful);
        assumeTrue(mWorkProfileSetupSuccessful);
        waitForWorkTabSetup();
        waitForWorkTabSetup();