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

Commit 5ab4a495 authored by Sebastian Franco's avatar Sebastian Franco
Browse files

Investigating test

Flag: NA
Bug: 322823478
Test: waiting for falkes to see results
Change-Id: Ifc24d4681f71d3e89943b312044012443e787d29
parent ef4b102a
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -28,7 +28,6 @@ import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.Assume.assumeTrue;

import android.platform.test.rule.ScreenRecordRule;
import android.util.Log;
import android.view.View;

@@ -45,7 +44,8 @@ import com.android.launcher3.allapps.WorkPausedCard;
import com.android.launcher3.allapps.WorkProfileManager;
import com.android.launcher3.tapl.LauncherInstrumentation;
import com.android.launcher3.util.TestUtil;
import com.android.launcher3.util.rule.TestStabilityRule;
import com.android.launcher3.util.rule.ScreenRecordRule.ScreenRecord;
import com.android.launcher3.util.rule.TestStabilityRule.Stability;

import org.junit.After;
import org.junit.Before;
@@ -145,8 +145,8 @@ public class TaplWorkProfileTest extends AbstractLauncherUiTest {
    }

    // Staging; will be promoted to presubmit if stable
    @TestStabilityRule.Stability(flavors = LOCAL | PLATFORM_POSTSUBMIT)
    @ScreenRecordRule.ScreenRecord
    @Stability(flavors = LOCAL | PLATFORM_POSTSUBMIT)
    @ScreenRecord
    @Test
    public void toggleWorks() {
        assumeTrue(mWorkProfileSetupSuccessful);