Commit e8ab4dcd authored by Tim Volodine's avatar Tim Volodine Committed by Commit Bot

Disable failing test NewTabPageControllerTest#testScrollPage on P+ bots

In particular the test is failing on some Android P
bots (timeout).

BUG=1130617
TBR=aluo@chromium.org

Change-Id: I315c7876e34d180b29b7b69ff94297debda600cd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2421815Reviewed-by: default avatarTim Volodine <timvolodine@chromium.org>
Commit-Queue: Tim Volodine <timvolodine@chromium.org>
Cr-Commit-Position: refs/heads/master@{#808946}
parent 299d7e96
......@@ -7,6 +7,8 @@ package org.chromium.chrome.test.pagecontroller.tests;
import static org.junit.Assert.assertNotEquals;
import static org.junit.Assert.assertTrue;
import android.os.Build.VERSION_CODES;
import androidx.test.filters.LargeTest;
import androidx.test.filters.SmallTest;
......@@ -19,6 +21,7 @@ import org.junit.rules.TestRule;
import org.junit.runner.RunWith;
import org.chromium.base.test.BaseJUnit4ClassRunner;
import org.chromium.base.test.util.DisableIf;
import org.chromium.base.test.util.DisabledTest;
import org.chromium.chrome.test.pagecontroller.controllers.ntp.ChromeMenu;
import org.chromium.chrome.test.pagecontroller.controllers.ntp.NewTabPageController;
......@@ -61,6 +64,8 @@ public class NewTabPageControllerTest {
@LargeTest
@Test
@DisableIf.
Build(sdk_is_greater_than = VERSION_CODES.O_MR1, message = "https://crbug.com/1130617")
public void testScrollPage() {
mController.scrollToTop();
assertTrue(mController.hasScrolledToTop());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment