Commit 93623153 authored by Xing Liu's avatar Xing Liu Committed by Commit Bot

Inline update: Disable some tests for InlineUpdateFlow feature.

When the feature is enabled, some tests will fail, this CL provides a
temporary remedy for UpdateMenuItemHelperTest.

Bug: 965106
Change-Id: Ie246ca1fdfdb91e317b17d5e3f0e95d9d60808bd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1625968
Commit-Queue: Xing Liu <xingliu@chromium.org>
Reviewed-by: default avatarTommy Nyquist <nyquist@chromium.org>
Cr-Commit-Position: refs/heads/master@{#662812}
parent 8b25075e
......@@ -25,6 +25,7 @@ import org.chromium.chrome.browser.appmenu.AppMenuTestSupport;
import org.chromium.chrome.test.ChromeJUnit4ClassRunner;
import org.chromium.chrome.test.ChromeTabbedActivityTestRule;
import org.chromium.chrome.test.util.OverviewModeBehaviorWatcher;
import org.chromium.chrome.test.util.browser.Features.DisableFeatures;
import org.chromium.content_public.browser.UiThreadTaskTraits;
import org.chromium.content_public.browser.test.util.Criteria;
import org.chromium.content_public.browser.test.util.CriteriaHelper;
......@@ -165,6 +166,8 @@ public class UpdateMenuItemHelperTest {
@MediumTest
@Feature({"Omaha"})
@RetryOnFailure
// TODO(https://crbug.com/965106): Fix tests when InlineUpdateFlow is enabled.
@DisableFeatures("InlineUpdateFlow")
public void testCurrentVersionIsOlder() throws Exception {
checkUpdateMenuItemIsShowing("0.0.0.0", "1.2.3.4");
}
......@@ -197,6 +200,8 @@ public class UpdateMenuItemHelperTest {
@Feature({"Omaha"})
@Restriction(UiRestriction.RESTRICTION_TYPE_PHONE)
@RetryOnFailure
// TODO(https://crbug.com/965106): Fix tests when InlineUpdateFlow is enabled.
@DisableFeatures("InlineUpdateFlow")
public void testMenuItemNotShownInOverview() throws Exception {
checkUpdateMenuItemIsShowing("0.0.0.0", "1.2.3.4");
......
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