mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 13:45:36 +03:00
test: make async stacks pass on WebKit (#277)
This commit is contained in:
parent
3cea9a1717
commit
629c56b0ab
@ -98,10 +98,10 @@ module.exports.addTests = function({testRunner, expect, headless, playwright, FF
|
|||||||
});
|
});
|
||||||
|
|
||||||
describe('Async stacks', () => {
|
describe('Async stacks', () => {
|
||||||
it.skip(WEBKIT)('should work', async({page, server}) => {
|
it('should work', async({page, server}) => {
|
||||||
server.setRoute('/empty.html', (req, res) => {
|
server.setRoute('/empty.html', (req, res) => {
|
||||||
res.statusCode = 204;
|
req.socket.write('deadbeef');
|
||||||
res.end();
|
req.socket.end();
|
||||||
});
|
});
|
||||||
let error = null;
|
let error = null;
|
||||||
await page.goto(server.EMPTY_PAGE).catch(e => error = e);
|
await page.goto(server.EMPTY_PAGE).catch(e => error = e);
|
||||||
|
Loading…
Reference in New Issue
Block a user