test: remove non-cross browser assertion in the cookie test (#12527)

This commit is contained in:
Alexandra Borovova 2024-06-03 17:58:25 +02:00 committed by GitHub
parent 26d800cae8
commit d8654f1eed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 8 deletions

View File

@ -1184,13 +1184,6 @@
"expectations": ["FAIL"],
"comment": "TODO: add a comment explaining why this expectation is required (include links to issues)"
},
{
"testIdPattern": "[cookies.spec] Cookie specs Page.setCookie should set cookies from a frame",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["firefox", "webDriverBiDi"],
"expectations": ["FAIL"],
"comment": "TODO: add a comment explaining why this expectation is required (include links to issues)"
},
{
"testIdPattern": "[cookies.spec] Cookie specs Page.setCookie should set multiple cookies",
"platforms": ["darwin", "linux", "win32"],

View File

@ -463,7 +463,6 @@ describe('Cookie specs', () => {
expect(await page.evaluate('document.cookie')).toBe(
'localhost-cookie=best'
);
expect(await page.frames()[1]!.evaluate('document.cookie')).toBe('');
await expectCookieEquals(await page.cookies(), [
{