test: disable 'userDataDir option should restore cookies' (#1538)
References #1537
This commit is contained in:
parent
c55f4e3268
commit
9fc39a4c97
@ -169,7 +169,8 @@ describe('Puppeteer', function() {
|
|||||||
await browser2.close();
|
await browser2.close();
|
||||||
rm(userDataDir);
|
rm(userDataDir);
|
||||||
}));
|
}));
|
||||||
it('userDataDir option should restore cookies', SX(async function() {
|
// @see https://github.com/GoogleChrome/puppeteer/issues/1537
|
||||||
|
xit('userDataDir option should restore cookies', SX(async function() {
|
||||||
const userDataDir = fs.mkdtempSync(path.join(__dirname, 'test-user-data-dir'));
|
const userDataDir = fs.mkdtempSync(path.join(__dirname, 'test-user-data-dir'));
|
||||||
const options = Object.assign({userDataDir}, defaultBrowserOptions);
|
const options = Object.assign({userDataDir}, defaultBrowserOptions);
|
||||||
const browser = await puppeteer.launch(options);
|
const browser = await puppeteer.launch(options);
|
||||||
|
Loading…
Reference in New Issue
Block a user