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

Commit 59b3ed05 authored by Vadim Tryshev's avatar Vadim Tryshev Committed by Android (Google) Code Review
Browse files

Merge "TAPL: using assert that prints context" into ub-launcher3-master

parents cb15a24c cea84574
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -20,8 +20,6 @@ import static com.android.launcher3.TestProtocol.BACKGROUND_APP_STATE_ORDINAL;
import static com.android.launcher3.tapl.LauncherInstrumentation.WAIT_TIME_MS;
import static com.android.launcher3.tapl.TestHelpers.getOverviewPackageName;

import static org.junit.Assert.assertTrue;

import android.graphics.Point;
import android.os.SystemClock;
import android.view.MotionEvent;
@@ -61,7 +59,7 @@ public class Background extends LauncherInstrumentation.VisibleContainer {
                "want to switch from background to overview")) {
            verifyActiveContainer();
            goToOverviewUnchecked(BACKGROUND_APP_STATE_ORDINAL);
            assertTrue("Overview not visible", mLauncher.getDevice().wait(
            mLauncher.assertTrue("Overview not visible", mLauncher.getDevice().wait(
                    Until.hasObject(By.pkg(getOverviewPackageName())), WAIT_TIME_MS));
            return new BaseOverview(mLauncher);
        }