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

Fixes #19939
This commit is contained in:
Yury Semikhatsky 2023-01-26 10:13:44 -08:00 committed by GitHub
parent e8a1c91c52
commit 840052a309
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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');