Commit feb01f27 authored by Bettina Dea's avatar Bettina Dea Committed by Commit Bot

Fix flakiness and re-enable a couple of NewTabPage tests.

Disable the ENHANCED_PROTECTION_PROMO_CARD feature for them.

Bug: 1143974,1143781
Change-Id: I7f1a41cbf6d78e8a93bddbd0ad113a679d90faf1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2515205
Commit-Queue: Bettina Dea <bdea@chromium.org>
Reviewed-by: default avatarCarlos Knippschild <carlosk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#824278}
parent 503fc5e5
......@@ -94,8 +94,8 @@ import java.util.List;
@CommandLineFlags.
Add({ChromeSwitches.DISABLE_FIRST_RUN_EXPERIENCE, "disable-features=IPH_FeedHeaderMenu"})
@Features.EnableFeatures(ChromeFeatureList.INTEREST_FEED_CONTENT_SUGGESTIONS)
@Features.
DisableFeatures({ChromeFeatureList.REPORT_FEED_USER_ACTIONS, ChromeFeatureList.QUERY_TILES})
@Features.DisableFeatures({ChromeFeatureList.REPORT_FEED_USER_ACTIONS,
ChromeFeatureList.QUERY_TILES, ChromeFeatureList.ENHANCED_PROTECTION_PROMO_CARD})
public class FeedNewTabPageTest {
private static final int ARTICLE_SECTION_HEADER_POSITION = 1;
private static final int SIGNIN_PROMO_POSITION = 2;
......@@ -307,7 +307,6 @@ public class FeedNewTabPageTest {
@Features.DisableFeatures(ChromeFeatureList.INTEREST_FEED_V2)
@Feature({"NewTabPage", "FeedNewTabPage"})
@ParameterAnnotations.UseMethodParameter(SigninPromoParams.class)
@DisabledTest(message = "https://crbug.com/1143974")
public void testArticleSectionHeaderWithMenu(boolean disableSigninPromoCard) throws Exception {
openNewTabPage();
// Scroll to the article section header in case it is not visible.
......
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