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 { ...@@ -147,6 +147,7 @@ public class ContextMenuTest implements CustomMainActivityStart {
@Test @Test
@MediumTest @MediumTest
@DisabledTest(message = "https://crbug.com/1056176")
@Feature({"Browser"}) @Feature({"Browser"})
@EnableFeatures({ChromeFeatureList.CONTEXT_MENU_SEARCH_WITH_GOOGLE_LENS}) @EnableFeatures({ChromeFeatureList.CONTEXT_MENU_SEARCH_WITH_GOOGLE_LENS})
public void testSearchWithGoogleLensFiresIntent() throws Throwable { public void testSearchWithGoogleLensFiresIntent() throws Throwable {
...@@ -164,6 +165,7 @@ public class ContextMenuTest implements CustomMainActivityStart { ...@@ -164,6 +165,7 @@ public class ContextMenuTest implements CustomMainActivityStart {
@Test @Test
@MediumTest @MediumTest
@DisabledTest(message = "https://crbug.com/1056176")
@Feature({"Browser"}) @Feature({"Browser"})
@CommandLineFlags.Add({"enable-features=" @CommandLineFlags.Add({"enable-features="
+ ChromeFeatureList.CONTEXT_MENU_SEARCH_WITH_GOOGLE_LENS + "<FakeStudyName", + ChromeFeatureList.CONTEXT_MENU_SEARCH_WITH_GOOGLE_LENS + "<FakeStudyName",
......
...@@ -26,6 +26,7 @@ import org.chromium.base.ContextUtils; ...@@ -26,6 +26,7 @@ import org.chromium.base.ContextUtils;
import org.chromium.base.task.AsyncTask; import org.chromium.base.task.AsyncTask;
import org.chromium.base.test.util.CallbackHelper; import org.chromium.base.test.util.CallbackHelper;
import org.chromium.base.test.util.CommandLineFlags; 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.ChromeActivity;
import org.chromium.chrome.browser.ChromeSwitches; import org.chromium.chrome.browser.ChromeSwitches;
import org.chromium.chrome.test.ChromeActivityTestRule; import org.chromium.chrome.test.ChromeActivityTestRule;
...@@ -172,6 +173,7 @@ public class ShareImageFileUtilsTest { ...@@ -172,6 +173,7 @@ public class ShareImageFileUtilsTest {
@Test @Test
@SmallTest @SmallTest
@DisabledTest(message = "https://crbug.com/1056176")
public void clipboardUriDoNotClearTest() throws TimeoutException, IOException { public void clipboardUriDoNotClearTest() throws TimeoutException, IOException {
generateAnImageToClipboard(); generateAnImageToClipboard();
generateAnImageToClipboard(); generateAnImageToClipboard();
...@@ -185,6 +187,7 @@ public class ShareImageFileUtilsTest { ...@@ -185,6 +187,7 @@ public class ShareImageFileUtilsTest {
@Test @Test
@SmallTest @SmallTest
@DisabledTest(message = "https://crbug.com/1056176")
public void clearEverythingIfNoClipboardImageTest() throws TimeoutException, IOException { public void clearEverythingIfNoClipboardImageTest() throws TimeoutException, IOException {
generateAnImageToClipboard(); generateAnImageToClipboard();
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