diff --git a/webdriver/tests/bidi/storage/get_cookies/filter.py b/webdriver/tests/bidi/storage/get_cookies/filter.py index ba6dc33d373d10c..d5252ff085339a7 100644 --- a/webdriver/tests/bidi/storage/get_cookies/filter.py +++ b/webdriver/tests/bidi/storage/get_cookies/filter.py @@ -43,7 +43,6 @@ async def test_filter(bidi_session, new_tab, test_page, origin, domain_value, fi recursive_compare( { "domain": domain_value(), - "expiry": None, "httpOnly": False, "name": cookie_name_1, "path": "/webdriver/tests/support", @@ -150,7 +149,6 @@ async def test_filter_same_site( recursive_compare( { "domain": domain_value(), - "expiry": None, "httpOnly": False, "name": cookie_name_1, "path": "/webdriver/tests/support", @@ -203,7 +201,6 @@ async def test_filter_secure( recursive_compare( { "domain": domain_value(), - "expiry": None, "httpOnly": False, "name": cookie_name_1, "path": "/webdriver/tests/support", @@ -249,7 +246,6 @@ async def test_filter_path(bidi_session, new_tab, test_page, origin, domain_valu recursive_compare( { "domain": domain_value(), - "expiry": None, "httpOnly": False, "name": cookie_name_1, "path": cookie_path_1, diff --git a/webdriver/tests/bidi/storage/get_cookies/invalid.py b/webdriver/tests/bidi/storage/get_cookies/invalid.py index 47b341f8d0d83a0..7271ae9c23fd93f 100644 --- a/webdriver/tests/bidi/storage/get_cookies/invalid.py +++ b/webdriver/tests/bidi/storage/get_cookies/invalid.py @@ -44,13 +44,6 @@ async def test_params_partition_source_origin_invalid_type(bidi_session, value): ) -async def test_params_partition_source_origin_invalid_value(bidi_session): - with pytest.raises(error.InvalidArgumentException): - await bidi_session.storage.get_cookies( - partition=StorageKeyPartitionDescriptor(source_origin="foo") - ) - - @pytest.mark.parametrize("value", [False, 42, {}, []]) async def test_params_partition_user_context_invalid_type(bidi_session, value): with pytest.raises(error.InvalidArgumentException):