@@ -52,7 +52,7 @@ def test_blocking(self):
5252 self .assert_block ()
5353
5454 # TODO sporadic "Cookie fixture should have set a cookie" failures
55- @pytest .mark .flaky (reruns = 3 )
55+ @pytest .mark .flaky (reruns = 5 )
5656 def test_cookieblocking_stops_saving (self ):
5757 self .load_url (f"https://{ self .COOKIE_DOMAIN } /" )
5858 assert not self .driver .get_cookies (), (
@@ -72,7 +72,7 @@ def test_cookieblocking_stops_saving(self):
7272 "Cookie fixture should have been blocked from setting a cookie" )
7373
7474 # TODO sporadic "We should have sent a cookie at this point" failures
75- @pytest .mark .flaky (reruns = 3 )
75+ @pytest .mark .flaky (reruns = 5 )
7676 def test_cookieblocking_stops_sending (self ):
7777 self .load_url (self .COOKIE_FIXTURE_URL )
7878 self .wait_for_and_switch_to_frame ("iframe[src]" , timeout = 1 )
@@ -109,7 +109,8 @@ def test_cookieblocking_base_overwrites_subdomain_block(self):
109109 self .load_url (self .FIXTURE_URL + '?alt3p' )
110110 self .assert_load ()
111111
112- @pytest .mark .flaky (reruns = 3 , condition = pbtest .shim .browser_type == "edge" )
112+ # @pytest.mark.flaky(reruns=3, condition=pbtest.shim.browser_type == "edge")
113+ @pytest .mark .flaky (reruns = 5 )
113114 def test_blocking_fp_script_served_from_cookieblocked_cdn (self ):
114115 """Since we have a surrogate script for FingerprintJS served from
115116 cdn.jsdelivr.net, we need to test surrogation rather than blocking."""
@@ -361,7 +362,8 @@ def test_reenabling_dnt_policy_checking(self):
361362
362363 self .load_url (self .FIXTURE_URL )
363364 self .assert_load ()
364-
365+
366+ @pytest .mark .flaky (reruns = 5 )
365367 def test_removing_dnt (self ):
366368 self .block_domain (self .THIRD_PARTY_DOMAIN )
367369 self .set_dnt (self .THIRD_PARTY_DOMAIN )
0 commit comments