From d8654f1eed657bb25da5d7167ed0abedf007d7a1 Mon Sep 17 00:00:00 2001 From: Alexandra Borovova Date: Mon, 3 Jun 2024 17:58:25 +0200 Subject: [PATCH] test: remove non-cross browser assertion in the cookie test (#12527) --- test/TestExpectations.json | 7 ------- test/src/cookies.spec.ts | 1 - 2 files changed, 8 deletions(-) diff --git a/test/TestExpectations.json b/test/TestExpectations.json index e2c047942f7..895c6ff8621 100644 --- a/test/TestExpectations.json +++ b/test/TestExpectations.json @@ -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"], diff --git a/test/src/cookies.spec.ts b/test/src/cookies.spec.ts index 59e11eb1613..f0d61d78377 100644 --- a/test/src/cookies.spec.ts +++ b/test/src/cookies.spec.ts @@ -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(), [ {