test: disable 'userDataDir option should restore cookies' (#1538)

References #1537
This commit is contained in:
JoelEinbinder 2017-12-04 16:45:56 -05:00 committed by Andrey Lushnikov
parent c55f4e3268
commit 9fc39a4c97

View File

@ -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);