Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

test: enable download not attachment on webkit (#20403)

Yury Semikhatsky840052a3094d
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');