Commit 7375cb7d authored by Vincent Boisselle's avatar Vincent Boisselle Committed by Commit Bot

Disable the feed V2 feature for NewTabPageTest browser UI tests

We also re-baseline the goldens by incrementing the version number
since the testRender_FocusFakeBox test
had its baseline golden with the new feed header UI enabled which
we don't want anymore since the features flags related to that UI
change are now disabled.

Bug: 1146197
Change-Id: I0bb2525102dea745a3e419d2b8252abf1525811b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2525741Reviewed-by: default avatarTheresa  <twellington@chromium.org>
Commit-Queue: Vincent Boisselle <vincb@google.com>
Cr-Commit-Position: refs/heads/master@{#825548}
parent 5e03844d
......@@ -94,21 +94,24 @@ import java.util.concurrent.TimeUnit;
@RunWith(ChromeJUnit4ClassRunner.class)
@CommandLineFlags.
Add({ChromeSwitches.DISABLE_FIRST_RUN_EXPERIENCE, "disable-features=IPH_FeedHeaderMenu"})
@Features.
DisableFeatures({ChromeFeatureList.EXPLORE_SITES, ChromeFeatureList.REPORT_FEED_USER_ACTIONS,
ChromeFeatureList.QUERY_TILES, ChromeFeatureList.VIDEO_TUTORIALS})
@Features.DisableFeatures({ChromeFeatureList.EXPLORE_SITES,
ChromeFeatureList.REPORT_FEED_USER_ACTIONS, ChromeFeatureList.QUERY_TILES,
ChromeFeatureList.VIDEO_TUTORIALS, ChromeFeatureList.INTEREST_FEED_V2})
public class NewTabPageTest {
private static final int ARTICLE_SECTION_HEADER_POSITION = 1;
private static final int SIGNIN_PROMO_POSITION = 2;
private static final int RENDER_TEST_REVISION = 2;
@Rule
public ChromeTabbedActivityTestRule mActivityTestRule = new ChromeTabbedActivityTestRule();
@Rule
public SuggestionsDependenciesRule mSuggestionsDeps = new SuggestionsDependenciesRule();
@Rule
public ChromeRenderTestRule mRenderTestRule =
ChromeRenderTestRule.Builder.withPublicCorpus().build();
public ChromeRenderTestRule mRenderTestRule = ChromeRenderTestRule.Builder.withPublicCorpus()
.setRevision(RENDER_TEST_REVISION)
.build();
private static final String TEST_PAGE = "/chrome/test/data/android/navigate/simple.html";
private static final String TEST_FEED =
......
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