diff --git a/tests/security_and_privacy/test_third_party_content_blocked_private_browsing.py b/tests/security_and_privacy/test_third_party_content_blocked_private_browsing.py index dfc4bfb93..aa55dd4ac 100644 --- a/tests/security_and_privacy/test_third_party_content_blocked_private_browsing.py +++ b/tests/security_and_privacy/test_third_party_content_blocked_private_browsing.py @@ -1,5 +1,3 @@ -from platform import system - import pytest from selenium.webdriver import Firefox @@ -12,6 +10,11 @@ def test_case(): return "446323" +@pytest.fixture() +def add_to_prefs_list(): + return [("privacy.trackingprotection.pbmode.enabled", True)] + + ALLOWED_TRACKING_URLS = { "https://content-track-digest256.dummytracker.org", "https://ads-track-digest256.dummytracker.org", @@ -103,10 +106,6 @@ def test_third_party_content_blocked_private_browsing_allowed_tracking(driver: F assert item.get_attribute("value") in ALLOWED_TRACKING_URLS -@pytest.mark.skipif( - system().lower().startswith("darwin") or system().lower().startswith("linux"), - reason="bug 1994060", -) def test_third_party_content_private_browsing_tracking_statuses(driver: Firefox): """ C446323.3: Ensure that the statuses of some third party content are loaded properly