Skip to content

Commit f2056a8

Browse files
JoelEinbinderaslushnikov
authored andcommitted
fix(test): enable redirect inside sync XHR test (#4805)
The underlying bug appears to have been fixed. Test works.
1 parent f4f2189 commit f2056a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/requestinterception.spec.js

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

0 commit comments

Comments
 (0)