From a6e49854248c57c5c66a34835496245a3ba9309d Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Fri, 20 Sep 2024 09:35:42 +0200 Subject: [PATCH] Update browsercontext-storage-state.spec.ts Signed-off-by: Max Schmitt --- tests/library/browsercontext-storage-state.spec.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tests/library/browsercontext-storage-state.spec.ts b/tests/library/browsercontext-storage-state.spec.ts index df56ae9740..02db42506d 100644 --- a/tests/library/browsercontext-storage-state.spec.ts +++ b/tests/library/browsercontext-storage-state.spec.ts @@ -277,9 +277,7 @@ it('should work when service worker is intefering', async ({ page, context, serv expect(storageState.origins[0].localStorage[0]).toEqual({ name: 'foo', value: 'bar' }); }); -it('should set local storage in third-party context', async ({ contextFactory, server, browserName }) => { - it.fixme(browserName === 'webkit', 'look into setStorageBlockingPolicy'); - +it('should set local storage in third-party context', async ({ contextFactory, server }) => { const context = await contextFactory({ storageState: { cookies: [], @@ -303,9 +301,7 @@ it('should set local storage in third-party context', async ({ contextFactory, s await context.close(); }); -it('should roundtrip local storage in third-party context', async ({ page, contextFactory, server, browserName }) => { - it.fixme(browserName === 'webkit', 'look into setStorageBlockingPolicy'); - +it('should roundtrip local storage in third-party context', async ({ page, contextFactory, server }) => { await page.goto(server.EMPTY_PAGE); const frame = await attachFrame(page, 'frame1', server.CROSS_PROCESS_PREFIX + '/empty.html'); await frame.evaluate(() => window.localStorage.setItem('name1', 'value1'));