Commit 497723d5 authored by Michael van Ouwerkerk's avatar Michael van Ouwerkerk Committed by Commit Bot

Set personalized signin promo to dismissed in UiCapture tests.

This is the default signin promo variant since this commit:
https://chromium-review.googlesource.com/c/chromium/src/+/716776

Bug: 761813
Change-Id: I64bc93503bb2576e2b23d9cd0f27a5de11136b60
Reviewed-on: https://chromium-review.googlesource.com/746704Reviewed-by: default avatarBernhard Bauer <bauerb@chromium.org>
Commit-Queue: Michael van Ouwerkerk <mvanouwerkerk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#512831}
parent 5872bbeb
......@@ -60,7 +60,7 @@ public class HomeSheetCardsUiCaptureTest {
@Before
public void setup() throws InterruptedException {
ChromePreferenceManager.getInstance().setNewTabPageGenericSigninPromoDismissed(true);
ChromePreferenceManager.getInstance().setNewTabPagePersonalizedSigninPromoDismissed(true);
mActivityRule.startMainActivityOnBottomSheet(BottomSheet.SHEET_STATE_PEEK);
}
......
......@@ -52,7 +52,7 @@ public class HomeSheetTilesUiCaptureTest {
@Before
public void setup() throws InterruptedException {
ChromePreferenceManager.getInstance().setNewTabPageGenericSigninPromoDismissed(true);
ChromePreferenceManager.getInstance().setNewTabPagePersonalizedSigninPromoDismissed(true);
mActivityRule.startMainActivityOnBlankPage();
}
......
......@@ -47,7 +47,7 @@ public class SuggestionsBottomSheetUiCaptureTest {
@Before
public void setup() throws InterruptedException {
ChromePreferenceManager.getInstance().setNewTabPageGenericSigninPromoDismissed(true);
ChromePreferenceManager.getInstance().setNewTabPagePersonalizedSigninPromoDismissed(true);
mActivityRule.startMainActivityOnBlankPage();
}
......
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