We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 553c744 commit 83eb660Copy full SHA for 83eb660
tests/test_browser_page.py
@@ -84,9 +84,12 @@ async def test_get_cookies(page):
84
async def test_set_cookies(page):
85
test_cookies = [{'name': 'test', 'value': 'value'}]
86
await page.set_cookies(test_cookies)
87
- page._connection_handler.execute_command.assert_called_once_with(
+ page._connection_handler.execute_command.assert_any_call(
88
NetworkCommands.set_cookies(test_cookies), timeout=60
89
)
90
91
+ StorageCommands.set_cookies(test_cookies), timeout=60
92
+ )
93
94
95
@pytest.mark.asyncio
0 commit comments