Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
test(downloads): enable test for downloads in a persistent context (#9379)
Joel Einbinder1bf8c80bdae0
diff --git a/tests/defaultbrowsercontext-1.spec.ts b/tests/defaultbrowsercontext-1.spec.tsindex e5402efb04..c3fc231d5c 100644--- a/tests/defaultbrowsercontext-1.spec.ts+++ b/tests/defaultbrowsercontext-1.spec.ts@@ -172,8 +172,6 @@ it('should support offline 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 });server.setRoute('/download', (req, res) => {res.setHeader('Content-Type', 'application/octet-stream');