Investigate why enterprise policies are active when More From Mozilla tests run on Windows 10
Categories
(Firefox :: Messaging System, task, P2)
Tracking
()
People
(Reporter: mviar, Unassigned)
Details
When the tests in browser/components/preferences/tests/browser_moreFromMozilla.js run on Windows 10, enterprise policies are unexpectedly active (specifically, Services.policies.status === Services.policies.ACTIVE). Because we hide VPN promos when there's an active enterprise policy (see 1747149), this causes tests looking for the VPN promo to fail.
There are some tests in the code base that set a policy for testing, but don't appear to clear it when the test is over. It's possible when it runs on Windows one or more of these tests completes and leaves a policy active before our More From Mozilla tests run. In 1747149, we're explicitly clearing any policies before affected tests run. We should investigate the root cause of the inconsistency and try to address is directly.
Updated•4 years ago
|
Description
•