Commit 4b99960e authored by Vincent Boisselle's avatar Vincent Boisselle Committed by Commit Bot

Field trial test config for the notice-card-at-2nd-pos experiment

Bug: 1145201
Change-Id: Ief0a12ac8350a85b6235fe5f27df4e09d96e6b49
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2517046
Commit-Queue: Vincent Boisselle <vincb@google.com>
Reviewed-by: default avatarTheresa  <twellington@chromium.org>
Reviewed-by: default avatarWeilun Shi <sweilun@chromium.org>
Reviewed-by: default avatarIlya Sherman <isherman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#827914}
parent a89bd2c6
......@@ -27,6 +27,7 @@ import org.junit.runner.RunWith;
import org.chromium.base.test.util.CommandLineFlags;
import org.chromium.chrome.R;
import org.chromium.chrome.browser.ChromeTabbedActivity;
import org.chromium.chrome.browser.flags.ChromeFeatureList;
import org.chromium.chrome.browser.flags.ChromeSwitches;
import org.chromium.chrome.browser.profiles.Profile;
import org.chromium.chrome.browser.signin.SigninPromoController;
......@@ -35,6 +36,7 @@ import org.chromium.chrome.test.ChromeJUnit4ClassRunner;
import org.chromium.chrome.test.util.BookmarkTestRule;
import org.chromium.chrome.test.util.BookmarkTestUtil;
import org.chromium.chrome.test.util.ChromeTabUtils;
import org.chromium.chrome.test.util.browser.Features;
import org.chromium.content_public.browser.test.util.TestThreadUtils;
/**
......@@ -42,6 +44,8 @@ import org.chromium.content_public.browser.test.util.TestThreadUtils;
*/
@RunWith(ChromeJUnit4ClassRunner.class)
@CommandLineFlags.Add({ChromeSwitches.DISABLE_FIRST_RUN_EXPERIENCE})
@Features.DisableFeatures({ChromeFeatureList.INTEREST_FEEDV1_CLICKS_AND_VIEWS_CONDITIONAL_UPLOAD,
ChromeFeatureList.INTEREST_FEED_V2})
public class BookmarkPersonalizedSigninPromoDismissTest {
private final SyncTestRule mSyncTestRule = new SyncTestRule();
......
......@@ -81,8 +81,10 @@ public class NewTabPageColorTest {
@Feature({"NewTabPage", "FeedNewTabPage"})
@Features.EnableFeatures({ChromeFeatureList.INTEREST_FEED_CONTENT_SUGGESTIONS,
ChromeFeatureList.OMNIBOX_SEARCH_ENGINE_LOGO})
@Features.DisableFeatures({ChromeFeatureList.ENHANCED_PROTECTION_PROMO_CARD,
ChromeFeatureList.INTEREST_FEED_V2})
@Features.DisableFeatures({
ChromeFeatureList.ENHANCED_PROTECTION_PROMO_CARD,
ChromeFeatureList.INTEREST_FEED_V2,
ChromeFeatureList.INTEREST_FEEDV1_CLICKS_AND_VIEWS_CONDITIONAL_UPLOAD})
@DataFilePath(TEST_FEED_DATA_BASE_PATH + "feed_world.gcl.bin")
public void testTextBoxBackgroundColor() throws Exception {
// clang-format on
......
......@@ -2867,6 +2867,22 @@
]
}
],
"FeedPrivacyNoticeCardAtSecondPosition": [
{
"platforms": [
"android"
],
"experiments": [
{
"name": "Enabled",
"enable_features": [
"InterestFeedV1ClickAndViewActionsConditionalUpload",
"InterestFeedV2ClickAndViewActionsConditionalUpload"
]
}
]
}
],
"FindInPageBestEffortPriority": [
{
"platforms": [
......
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