When there is an enrollment token or a dm token on the device, MachineLevelUserCloudPolicyManager will be put into the policy provider list in BrowserPolicyConnector. Hence, if a browser tests try to refresh the policies, CloudPolicyManager will hit the real DM Server and TIMEOUT the test.
Affected tests:
AppControllerMainMenuBrowserTest.HistoryMenuResetAfterProfileDeletion
AppControllerNewProfileManagementBrowserTest.AboutChromeForcesUserManager
AppControllerNewProfileManagementBrowserTest.GuestProfileReopenWithNoWindows
AppControllerNewProfileManagementBrowserTest.LockedProfileReopenWithNoWindows
AppControllerNewProfileManagementBrowserTest.OpenGuestProfileOnlyIfGuestModeIsEnabled
CloudPolicyTest.FetchPolicy
CloudPolicyTest.InvalidatePolicy
ComponentCloudPolicyTest.InstallNewExtension
ComponentCloudPolicyTest.UpdateExtensionPolicy
Default/ChromeCleanerResetTaggedProfilesTest.Run/0
KeyRotationComponentCloudPolicyTest.Basic
ProfileChooserViewExtensionsTest.InvokeUi_Guest
ProfileChooserViewExtensionsTest.LockProfile
ProfileChooserViewExtensionsTest.LockProfileBlockExtensions
ProfileChooserViewExtensionsTest.LockProfileNoBlockOtherProfileExtensions
ProfileHelperTest.DeleteActiveProfile
ProfileHelperTest.DeleteInactiveProfile
ProfileHelperTest.DeleteSoleProfile
ProfileHelperTest.OpenNewWindowForProfile
ProfileListDesktopBrowserTest.SignOut
ProfileListDesktopBrowserTest.SwitchToProfile
ProfileManagerBrowserTest.DeleteAllProfiles
ProfileManagerBrowserTest.DeleteCurrentProfile
ProfileManagerBrowserTest.DeleteInactiveProfile
ProfileManagerBrowserTest.DeletePasswords
ProfileManagerBrowserTest.DeleteSingletonProfile
ProfileManagerBrowserTest.EphemeralProfile
ProfileManagerBrowserTest.SwitchToProfile
ProfileWindowBrowserTest.GuestAppMenuLacksBookmarks
ProfileWindowBrowserTest.GuestCannotSignin
ProfileWindowBrowserTest.GuestClearsCookies
ProfileWindowBrowserTest.GuestIgnoresHistory
ProfileWindowBrowserTest.GuestIsIncognito
ProfileWindowBrowserTest.OpenGuestBrowser
ProfileWindowWebUIBrowserTest.UserManagerFocusSingleProfile
SafeBrowsingServiceShutdownTest.DontStartAfterShutdown
SecurityStateTabHelperTest.SecurityLevelNotDowngradedForHTTPInGuestMode
UkmBrowserTest.MultiDisableExtensionsSyncCheck
UkmBrowserTest.MultiDisableHistorySyncCheck
UkmBrowserTest.MultiSyncSignoutCheck
UkmBrowserTest.OpenNonSyncCheck
UkmBrowserTest.RegularPlusGuestCheck