mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
test: remove non-cross browser assertion in the cookie test (#12527)
This commit is contained in:
parent
26d800cae8
commit
d8654f1eed
@ -1184,13 +1184,6 @@
|
|||||||
"expectations": ["FAIL"],
|
"expectations": ["FAIL"],
|
||||||
"comment": "TODO: add a comment explaining why this expectation is required (include links to issues)"
|
"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",
|
"testIdPattern": "[cookies.spec] Cookie specs Page.setCookie should set multiple cookies",
|
||||||
"platforms": ["darwin", "linux", "win32"],
|
"platforms": ["darwin", "linux", "win32"],
|
||||||
|
@ -463,7 +463,6 @@ describe('Cookie specs', () => {
|
|||||||
expect(await page.evaluate('document.cookie')).toBe(
|
expect(await page.evaluate('document.cookie')).toBe(
|
||||||
'localhost-cookie=best'
|
'localhost-cookie=best'
|
||||||
);
|
);
|
||||||
expect(await page.frames()[1]!.evaluate('document.cookie')).toBe('');
|
|
||||||
|
|
||||||
await expectCookieEquals(await page.cookies(), [
|
await expectCookieEquals(await page.cookies(), [
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user