mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
test(cookies): enable cookies restoration test (#1075)
This commit is contained in:
parent
eee168a745
commit
f67ae5711d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user