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

Commit 8f2c11fe authored by Thales Lima's avatar Thales Lima Committed by Android (Google) Code Review
Browse files

Merge "Revert "Add ScreenRecord for a flaky test"" into main

parents 2ca32596 93143eab
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -48,7 +48,6 @@ import com.android.launcher3.ui.TaplTestsLauncher3;
import com.android.launcher3.util.LauncherBindableItemsContainer.ItemOperator;
import com.android.launcher3.util.Wait;
import com.android.launcher3.util.Wait.Condition;
import com.android.launcher3.util.rule.ScreenRecordRule.ScreenRecord;
import com.android.launcher3.util.rule.ShellCommandRule;

import org.junit.Before;
@@ -85,7 +84,6 @@ public class RequestPinItemTest extends AbstractLauncherUiTest {
    public void testEmpty() throws Throwable { /* needed while the broken tests are being fixed */ }

    @Test
    @ScreenRecord // b/215673732
    public void testPinWidgetNoConfig() throws Throwable {
        runTest("pinWidgetNoConfig", true, (info, view) -> info instanceof LauncherAppWidgetInfo &&
                ((LauncherAppWidgetInfo) info).appWidgetId == mAppWidgetId &&
@@ -94,7 +92,6 @@ public class RequestPinItemTest extends AbstractLauncherUiTest {
    }

    @Test
    @ScreenRecord // b/215673732
    public void testPinWidgetNoConfig_customPreview() throws Throwable {
        // Command to set custom preview
        Intent command = RequestPinItemActivity.getCommandIntent(
@@ -108,7 +105,6 @@ public class RequestPinItemTest extends AbstractLauncherUiTest {
    }

    @Test
    @ScreenRecord // b/215673732
    public void testPinWidgetWithConfig() throws Throwable {
        runTest("pinWidgetWithConfig", true,
                (info, view) -> info instanceof LauncherAppWidgetInfo &&