Commit 6b1aa778 authored by qinmin's avatar qinmin Committed by Commit bot

Mark some tests flaky as they started to fail on GN bot

TBR=yfriedman@chromium.org
BUG=606939,606942

Review URL: https://codereview.chromium.org/1924483003

Cr-Commit-Position: refs/heads/master@{#389894}
parent ff3dd021
...@@ -15,6 +15,7 @@ import android.view.KeyEvent; ...@@ -15,6 +15,7 @@ import android.view.KeyEvent;
import org.chromium.base.test.util.CommandLineFlags; import org.chromium.base.test.util.CommandLineFlags;
import org.chromium.base.test.util.Feature; import org.chromium.base.test.util.Feature;
import org.chromium.base.test.util.FlakyTest;
import org.chromium.chrome.R; import org.chromium.chrome.R;
import org.chromium.chrome.browser.ChromeSwitches; import org.chromium.chrome.browser.ChromeSwitches;
import org.chromium.chrome.browser.compositor.layouts.LayoutManager; import org.chromium.chrome.browser.compositor.layouts.LayoutManager;
...@@ -116,9 +117,12 @@ public class ContextMenuTest extends DownloadTestBase { ...@@ -116,9 +117,12 @@ public class ContextMenuTest extends DownloadTestBase {
"testImage", "/chrome/test/data/android/contextmenu/test_image.png"); "testImage", "/chrome/test/data/android/contextmenu/test_image.png");
} }
@MediumTest /**
@Feature({"Browser"}) * @MediumTest
@CommandLineFlags.Add(ChromeSwitches.DISABLE_DOCUMENT_MODE) * @Feature({"Browser"})
* @CommandLineFlags.Add(ChromeSwitches.DISABLE_DOCUMENT_MODE)
*/
@FlakyTest(message = "http://crbug.com/606939")
public void testLongPressOnImageLink() throws InterruptedException, TimeoutException { public void testLongPressOnImageLink() throws InterruptedException, TimeoutException {
checkOpenImageInNewTab( checkOpenImageInNewTab(
"testImageLink", "/chrome/test/data/android/contextmenu/test_image.png"); "testImageLink", "/chrome/test/data/android/contextmenu/test_image.png");
......
...@@ -448,8 +448,11 @@ public class ContentViewCoreSelectionTest extends ContentShellTestBase { ...@@ -448,8 +448,11 @@ public class ContentViewCoreSelectionTest extends ContentShellTestBase {
}); });
} }
@SmallTest /**
@Feature({"TextSelection", "TextInput"}) * @SmallTest
* @Feature({"TextSelection", "TextInput"})
*/
@FlakyTest(message = "http://crbug.com/606942")
public void testCursorPositionAfterHidingActionMode() throws Exception { public void testCursorPositionAfterHidingActionMode() throws Exception {
DOMUtils.longPressNode(this, mContentViewCore, "textarea"); DOMUtils.longPressNode(this, mContentViewCore, "textarea");
waitForSelectActionBarVisible(true); waitForSelectActionBarVisible(true);
......
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