fix(test): enable redirect inside sync XHR test (#4805)

The underlying bug appears to have been fixed. Test works.
This commit is contained in:
Joel Einbinder 2019-08-05 15:19:34 -07:00 committed by Andrey Lushnikov
parent f4f21896d2
commit f2056a8e25

View File

@ -115,7 +115,7 @@ module.exports.addTests = function({testRunner, expect, CHROME}) {
expect(response.ok()).toBe(true);
});
// @see https://github.com/GoogleChrome/puppeteer/issues/4337
xit('should work with redirect inside sync XHR', async({page, server}) => {
it('should work with redirect inside sync XHR', async({page, server}) => {
await page.goto(server.EMPTY_PAGE);
server.setRedirect('/logo.png', '/pptr.png');
await page.setRequestInterception(true);