Commit e25c6e76 authored by Xi Han's avatar Xi Han Committed by Commit Bot

Disable 4 tests in ShareImageFileUtilsTest and ContextMenuTesT.

Disable the following 4 tests:
org.chromium.chrome.browser.contextmenu.ContextMenuTest#testSearchWithGoogleLensFiresIntent
org.chromium.chrome.browser.contextmenu.ContextMenuTest#testSearchWithGoogleLensWithSearchByImageTextFiresIntent
org.chromium.chrome.browser.share.ShareImageFileUtilsTest#clearEverythingIfNoClipboardImageTest
org.chromium.chrome.browser.share.ShareImageFileUtilsTest#clipboardUriDoNotClearTest

TBR=gayane@chromium.org,dtrainor@chromium.org,kristipark@chromium.org

Bug: 1056176
Change-Id: I9389f83058c463ba24d8748c8ac2e7fe8cbc1c0e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2074803Reviewed-by: default avatarXi Han <hanxi@chromium.org>
Commit-Queue: Xi Han <hanxi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#744677}
parent 62f39c2b
......@@ -147,6 +147,7 @@ public class ContextMenuTest implements CustomMainActivityStart {
@Test
@MediumTest
@DisabledTest(message = "https://crbug.com/1056176")
@Feature({"Browser"})
@EnableFeatures({ChromeFeatureList.CONTEXT_MENU_SEARCH_WITH_GOOGLE_LENS})
public void testSearchWithGoogleLensFiresIntent() throws Throwable {
......@@ -164,6 +165,7 @@ public class ContextMenuTest implements CustomMainActivityStart {
@Test
@MediumTest
@DisabledTest(message = "https://crbug.com/1056176")
@Feature({"Browser"})
@CommandLineFlags.Add({"enable-features="
+ ChromeFeatureList.CONTEXT_MENU_SEARCH_WITH_GOOGLE_LENS + "<FakeStudyName",
......
......@@ -26,6 +26,7 @@ import org.chromium.base.ContextUtils;
import org.chromium.base.task.AsyncTask;
import org.chromium.base.test.util.CallbackHelper;
import org.chromium.base.test.util.CommandLineFlags;
import org.chromium.base.test.util.DisabledTest;
import org.chromium.chrome.browser.ChromeActivity;
import org.chromium.chrome.browser.ChromeSwitches;
import org.chromium.chrome.test.ChromeActivityTestRule;
......@@ -172,6 +173,7 @@ public class ShareImageFileUtilsTest {
@Test
@SmallTest
@DisabledTest(message = "https://crbug.com/1056176")
public void clipboardUriDoNotClearTest() throws TimeoutException, IOException {
generateAnImageToClipboard();
generateAnImageToClipboard();
......@@ -185,6 +187,7 @@ public class ShareImageFileUtilsTest {
@Test
@SmallTest
@DisabledTest(message = "https://crbug.com/1056176")
public void clearEverythingIfNoClipboardImageTest() throws TimeoutException, IOException {
generateAnImageToClipboard();
generateAnImageToClipboard();
......
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