17
17
SECOND_TRACKER_WEBSITE = "https://www.itisatrap.org/firefox/its-a-tracker.html"
18
18
19
19
20
- def test_third_party_content_blocked_private_browsing_cross_site (driver : Firefox , screenshot ):
20
+ def test_third_party_content_blocked_private_browsing_cross_site (
21
+ driver : Firefox , screenshot
22
+ ):
21
23
"""
22
24
C446323.1: Ensure that third party content is blocked correctly
23
25
"""
@@ -58,7 +60,9 @@ def test_third_party_content_blocked_private_browsing_cross_site(driver: Firefox
58
60
assert found_tracker
59
61
60
62
61
- def test_third_party_content_blocked_private_browsing_allowed_tracking (driver : Firefox , screenshot ):
63
+ def test_third_party_content_blocked_private_browsing_allowed_tracking (
64
+ driver : Firefox , screenshot
65
+ ):
62
66
"""
63
67
C446323.2: Ensure that some third party content is allowed
64
68
"""
@@ -74,6 +78,7 @@ def test_third_party_content_blocked_private_browsing_allowed_tracking(driver: F
74
78
75
79
# open the website, ensure the blocking is taking place by continuously refreshing website until indicated
76
80
tracker_website .open ()
81
+ tracker_website .wait_for_page_to_load ()
77
82
tracker_panel .wait_for_blocked_tracking_icon (nav , tracker_website , screenshot )
78
83
79
84
# verify the indicator
@@ -96,7 +101,9 @@ def test_third_party_content_blocked_private_browsing_allowed_tracking(driver: F
96
101
assert item .get_attribute ("value" ) in ALLOWED_TRACKING_URLS
97
102
98
103
99
- def test_third_party_content_private_browsing_tracking_statuses (driver : Firefox , screenshot ):
104
+ def test_third_party_content_private_browsing_tracking_statuses (
105
+ driver : Firefox , screenshot
106
+ ):
100
107
"""
101
108
C446323.3: Ensure that the statuses of some third party content are loaded properly
102
109
"""
0 commit comments