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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridgeTest.java

Issue 2789353002: Disable flaky PushMessagingTest#testPushPermissionDenied and NotificationPlatformBridgeTest#testPer… (Closed)
Patch Set: Created 3 years, 9 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 | chrome/android/javatests/src/org/chromium/chrome/browser/push_messaging/PushMessagingTest.java » ('j') | 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/notifications/NotificationPlatformBridgeTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridgeTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridgeTest.java
index e12d0f583b2d34646bd90d41c144018f6ed11a0a..92bbab437fe3a3d69dc30a71c158859d8f32ae73 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridgeTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridgeTest.java
@@ -23,6 +23,7 @@ import android.support.test.filters.MediumTest;
import org.chromium.base.ThreadUtils;
import org.chromium.base.annotations.SuppressFBWarnings;
import org.chromium.base.test.util.CommandLineFlags;
+import org.chromium.base.test.util.DisabledTest;
import org.chromium.base.test.util.Feature;
import org.chromium.base.test.util.MinAndroidSdkLevel;
import org.chromium.base.test.util.RetryOnFailure;
@@ -174,8 +175,9 @@ public class NotificationPlatformBridgeTest extends NotificationTestBase {
/**
* Verifies granting permission via the infobar.
*/
- @MediumTest
- @Feature({"Browser", "Notifications"})
+ //@MediumTest
+ // Feature({"Browser", "Notifications"})
+ @DisabledTest
public void testPermissionGranted() throws Exception {
// Notifications permission should initially be prompt, and showing should fail.
assertEquals("\"default\"", runJavaScriptCodeInCurrentTab("Notification.permission"));
« no previous file with comments | « no previous file | chrome/android/javatests/src/org/chromium/chrome/browser/push_messaging/PushMessagingTest.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698