Commit 74ffc488 authored by Maria Khomenko's avatar Maria Khomenko Committed by Commit Bot

Disabling flaky webapp actions notification test.

TBR=piotrs

Bug: 768557
Change-Id: I412491a8dd6b88ef47a4cac3be59551f75f16a4f
Reviewed-on: https://chromium-review.googlesource.com/683008
Commit-Queue: Maria Khomenko <mariakhomenko@chromium.org>
Reviewed-by: default avatarMaria Khomenko <mariakhomenko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#504197}
parent 0b18efa1
...@@ -21,6 +21,7 @@ import org.junit.runner.RunWith; ...@@ -21,6 +21,7 @@ import org.junit.runner.RunWith;
import org.chromium.base.ApplicationStatus; import org.chromium.base.ApplicationStatus;
import org.chromium.base.test.util.CommandLineFlags; 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.Feature;
import org.chromium.base.test.util.MinAndroidSdkLevel; import org.chromium.base.test.util.MinAndroidSdkLevel;
import org.chromium.base.test.util.RetryOnFailure; import org.chromium.base.test.util.RetryOnFailure;
...@@ -84,10 +85,13 @@ public class WebappActionsNotificationTest { ...@@ -84,10 +85,13 @@ public class WebappActionsNotificationTest {
} }
@Test @Test
@SmallTest /*
@Feature({"Webapps"}) @SmallTest
@MinAndroidSdkLevel(Build.VERSION_CODES.M) // NotificationManager.getActiveNotifications @Feature({"Webapps"})
@CommandLineFlags.Add({"disable-features=" + ChromeFeatureList.PWA_PERSISTENT_NOTIFICATION}) @MinAndroidSdkLevel(Build.VERSION_CODES.M) // NotificationManager.getActiveNotifications
@CommandLineFlags.Add({"disable-features=" + ChromeFeatureList.PWA_PERSISTENT_NOTIFICATION})
*/
@DisabledTest(message = "crbug.com/768557")
public void testNotificationNotEnabled() throws Exception { public void testNotificationNotEnabled() throws Exception {
// Note ChromeFeatureList.PWA_PERSISTENT_NOTIFICATION is not enabled. // Note ChromeFeatureList.PWA_PERSISTENT_NOTIFICATION is not enabled.
Assert.assertNull(getWebappNotification()); Assert.assertNull(getWebappNotification());
......
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