From 840052a3094d090c36e9ed9884c9a1d178c565c0 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Thu, 26 Jan 2023 10:13:44 -0800 Subject: [PATCH] test: enable download not attachment on webkit (#20403) Fixes #19939 --- tests/library/download.spec.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/library/download.spec.ts b/tests/library/download.spec.ts index 723e4ae5b0..276f949b75 100644 --- a/tests/library/download.spec.ts +++ b/tests/library/download.spec.ts @@ -678,8 +678,7 @@ it('should save to user-specified path', async ({ browser, server, mode }, testI await page.close(); }); -it('should download even if there is no "attachment" value', async ({ browser, server, mode, browserName }, testInfo) => { - it.fixme(browserName === 'webkit'); +it('should download even if there is no "attachment" value', async ({ browser, server }) => { it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/19939' }); server.setRoute('/download', (req, res) => { res.setHeader('Content-Type', 'application/octet-stream'); @@ -697,8 +696,7 @@ it('should download even if there is no "attachment" value', async ({ browser, s await page.close(); }); -it('should convert navigation to a resource with unsupported mime type into download', async ({ browser, server, mode, browserName }, testInfo) => { - it.fixme(browserName === 'webkit'); +it('should convert navigation to a resource with unsupported mime type into download', async ({ browser, server }) => { it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/19939' }); server.setRoute('/download', (req, res) => { res.setHeader('Content-Type', 'application/octet-stream');