@@ -80,35 +80,28 @@ def test_add_cookie(cookie, driver):
80
80
assert cookie ["name" ] in returned
81
81
82
82
83
- @pytest .mark .xfail_firefox (reason = "sameSite cookie attribute not implemented" )
84
83
@pytest .mark .xfail_remote (reason = "sameSite cookie attribute not implemented" )
85
- @pytest .mark .xfail_safari
86
84
def test_add_cookie_same_site_strict (same_site_cookie_strict , driver ):
87
85
driver .add_cookie (same_site_cookie_strict )
88
86
returned = driver .get_cookie ("foo" )
89
87
assert "sameSite" in returned and returned ["sameSite" ] == "Strict"
90
88
91
89
92
- @pytest .mark .xfail_firefox (reason = "sameSite cookie attribute not implemented" )
93
90
@pytest .mark .xfail_remote (reason = "sameSite cookie attribute not implemented" )
94
- @pytest .mark .xfail_safari
95
91
def test_add_cookie_same_site_lax (same_site_cookie_lax , driver ):
96
92
driver .add_cookie (same_site_cookie_lax )
97
93
returned = driver .get_cookie ("foo" )
98
94
assert "sameSite" in returned and returned ["sameSite" ] == "Lax"
99
95
100
96
101
- @pytest .mark .xfail_firefox (reason = "sameSite cookie attribute not implemented" )
102
97
@pytest .mark .xfail_remote (reason = "sameSite cookie attribute not implemented" )
103
- @pytest .mark .xfail_safari
104
98
def test_add_cookie_same_site_none (same_site_cookie_none , driver ):
105
99
driver .add_cookie (same_site_cookie_none )
106
100
# Note that insecure sites (http:) can't set cookies with the Secure directive.
107
101
# driver.get_cookie would return None
108
102
109
103
110
104
@pytest .mark .xfail_ie
111
- @pytest .mark .xfail_safari
112
105
def test_adding_acookie_that_expired_in_the_past (cookie , driver ):
113
106
expired = cookie .copy ()
114
107
expired ["expiry" ] = calendar .timegm (time .gmtime ()) - 1
0 commit comments