Index: chrome/browser/ui/views/profiles/profile_chooser_view_browsertest.cc |
diff --git a/chrome/browser/ui/views/profiles/profile_chooser_view_browsertest.cc b/chrome/browser/ui/views/profiles/profile_chooser_view_browsertest.cc |
index ce4fec8e371513f86397654fc82ff472a3020eed..1cab6180c138e5b33d2eba944ce3518cf95b26cb 100644 |
--- a/chrome/browser/ui/views/profiles/profile_chooser_view_browsertest.cc |
+++ b/chrome/browser/ui/views/profiles/profile_chooser_view_browsertest.cc |
@@ -83,9 +83,8 @@ 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) { |
+ UMAHistogramHelper histograms; |
// If multiprofile mode is not enabled, you can't switch between profiles. |
if (!profiles::IsMultipleProfilesEnabled()) |
return; |
@@ -94,4 +93,8 @@ IN_PROC_BROWSER_TEST_F(ProfileChooserViewBrowserTest, DISABLED_ViewProfileUMA) { |
profile->GetPrefs()->SetInteger(prefs::kProfileAvatarTutorialShown, 0); |
ASSERT_NO_FATAL_FAILURE(OpenProfileChooserView()); |
+ |
+ histograms.Fetch(); |
+ histograms.ExpectUniqueSample("Profile.NewAvatarMenuFRE", |
+ ProfileMetrics::PROFILE_AVATAR_MENU_UPGRADE_VIEW, 1); |
} |