diff --git a/test/test.js b/test/test.js index c626c548..7fbca221 100644 --- a/test/test.js +++ b/test/test.js @@ -149,9 +149,7 @@ describe('Puppeteer', function() { await browser2.close(); rm(userDataDir); })); - // Headless has issues storing cookies - // @see https://crbug.com/775261 - (headless ? xit : it)('userDataDir option should restore cookies', SX(async function() { + it('userDataDir option should restore cookies', SX(async function() { const userDataDir = fs.mkdtempSync(path.join(__dirname, 'test-user-data-dir')); const options = Object.assign({userDataDir}, defaultBrowserOptions); const browser = await puppeteer.launch(options);