mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
test(downloads): enable test for downloads in a persistent context (#9379)
This commit is contained in:
parent
89e98d85fc
commit
1bf8c80bda
@ -172,8 +172,6 @@ it('should support offline option', async ({ server, launchPersistent }) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('should support acceptDownloads option', async ({ server, launchPersistent }) => {
|
it('should support acceptDownloads option', async ({ server, launchPersistent }) => {
|
||||||
it.skip(true, 'Unskip once we support downloads in persistent context.');
|
|
||||||
|
|
||||||
const { page } = await launchPersistent({ acceptDownloads: true });
|
const { page } = await launchPersistent({ acceptDownloads: true });
|
||||||
server.setRoute('/download', (req, res) => {
|
server.setRoute('/download', (req, res) => {
|
||||||
res.setHeader('Content-Type', 'application/octet-stream');
|
res.setHeader('Content-Type', 'application/octet-stream');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user