Commit b62717e4 authored by mlerman's avatar mlerman Committed by Commit bot

Re-enable the browser test for the ProfileChooserView.

BUG=357693

Review URL: https://codereview.chromium.org/477103003

Cr-Commit-Position: refs/heads/master@{#291747}
parent 514cda3e
......@@ -83,9 +83,9 @@ void ProfileChooserViewBrowserTest::OpenProfileChooserView() {
#define MAYBE_ViewProfileUMA ViewProfileUMA
#endif
// TODO(mlerman): Re-enable the test to MAYBE_ViewProfileUMA once there is a
// launch plan for EnableAccountConsistency.
IN_PROC_BROWSER_TEST_F(ProfileChooserViewBrowserTest, DISABLED_ViewProfileUMA) {
IN_PROC_BROWSER_TEST_F(ProfileChooserViewBrowserTest, MAYBE_ViewProfileUMA) {
base::HistogramTester histograms;
// If multiprofile mode is not enabled, you can't switch between profiles.
if (!profiles::IsMultipleProfilesEnabled())
return;
......@@ -93,4 +93,7 @@ IN_PROC_BROWSER_TEST_F(ProfileChooserViewBrowserTest, DISABLED_ViewProfileUMA) {
profile->GetPrefs()->SetInteger(prefs::kProfileAvatarTutorialShown, 0);
ASSERT_NO_FATAL_FAILURE(OpenProfileChooserView());
histograms.ExpectUniqueSample("Profile.NewAvatarMenu.Upgrade",
ProfileMetrics::PROFILE_AVATAR_MENU_UPGRADE_VIEW, 1);
}
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