Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java

Issue 2454503006: Reland of Restrict flaky CustomTabActivityTest#testContextMenuEntriesForLink/Image (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java
index d505a107a7b3e875cda64dc1b4192906cd4ddf0d..41e5351ffdbd234684214424faace3e14ef2f3fd 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java
@@ -46,7 +46,6 @@ import org.chromium.base.library_loader.LibraryLoader;
import org.chromium.base.library_loader.LibraryProcessType;
import org.chromium.base.test.util.CallbackHelper;
import org.chromium.base.test.util.CommandLineFlags;
-import org.chromium.base.test.util.DisabledTest;
import org.chromium.base.test.util.Restriction;
import org.chromium.base.test.util.RetryOnFailure;
import org.chromium.chrome.R;
@@ -242,13 +241,11 @@ public class CustomTabActivityTest extends CustomTabActivityTestBase {
/**
* Test the entries in the context menu shown when long clicking an image.
+ * Restricted to phone due to BUG=crbug.com/655970
*/
- /*
- * @SmallTest
- * @RetryOnFailure
- * BUG=crbug.com/655970
- */
- @DisabledTest
+ @SmallTest
+ @RetryOnFailure
+ @Restriction(ChromeRestriction.RESTRICTION_TYPE_PHONE)
public void testContextMenuEntriesForImage() throws InterruptedException, TimeoutException {
startCustomTabActivityWithIntent(createMinimalCustomTabIntent());
@@ -279,9 +276,11 @@ public class CustomTabActivityTest extends CustomTabActivityTestBase {
/**
* Test the entries in the context menu shown when long clicking an link.
+ * Restricted to phone due to BUG=crbug.com/655970
*/
@SmallTest
@RetryOnFailure
+ @Restriction(ChromeRestriction.RESTRICTION_TYPE_PHONE)
public void testContextMenuEntriesForLink() throws InterruptedException, TimeoutException {
startCustomTabActivityWithIntent(createMinimalCustomTabIntent());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698