test: make async stacks pass on WebKit (#277)

This commit is contained in:
Yury Semikhatsky 2019-12-17 12:04:04 -07:00 committed by Andrey Lushnikov
parent 3cea9a1717
commit 629c56b0ab

View File

@ -98,10 +98,10 @@ module.exports.addTests = function({testRunner, expect, headless, playwright, FF
});
describe('Async stacks', () => {
it.skip(WEBKIT)('should work', async({page, server}) => {
it('should work', async({page, server}) => {
server.setRoute('/empty.html', (req, res) => {
res.statusCode = 204;
res.end();
req.socket.write('deadbeef');
req.socket.end();
});
let error = null;
await page.goto(server.EMPTY_PAGE).catch(e => error = e);