From 8b3caae8d1aaae683b7655fd762c9ae83be8c7c1 Mon Sep 17 00:00:00 2001 From: Alex Rudenko Date: Wed, 7 Sep 2022 11:42:06 +0200 Subject: [PATCH] chore: enable cookie restoration test (#8909) Closes #4111 --- test/src/launcher.spec.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/src/launcher.spec.ts b/test/src/launcher.spec.ts index eee140da..a814967a 100644 --- a/test/src/launcher.spec.ts +++ b/test/src/launcher.spec.ts @@ -376,9 +376,7 @@ describe('Launcher specs', function () { // This might throw. See https://github.com/puppeteer/puppeteer/issues/2778 await rmAsync(userDataDir).catch(() => {}); }); - // This mysteriously fails on Windows on AppVeyor. See - // https://github.com/puppeteer/puppeteer/issues/4111 - xit('userDataDir option should restore cookies', async () => { + it('userDataDir option should restore cookies', async () => { const {server, puppeteer, defaultBrowserOptions} = getTestState(); const userDataDir = await mkdtempAsync(TMP_FOLDER);