Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

test(wk): unskip passing navigation test (#294)

Yury Semikhatskyac2ea265fe0f
diff --git a/test/network.spec.js b/test/network.spec.js
index f672be268b..4155b01442 100644
--- a/test/network.spec.js
+++ b/test/network.spec.js
@@ -55,8 +55,7 @@ module.exports.addTests = function({testRunner, expect, FFOX, CHROME, WEBKIT}) {
expect(requests.length).toBe(1);
expect(requests[0].frame()).toBe(page.mainFrame());
});
- // FIXME: needs frameAttached event, otherwise it introduces too many hacks in the lib.
- it.skip(WEBKIT)('should work for subframe navigation request', async({page, server}) => {
+ it('should work for subframe navigation request', async({page, server}) => {
await page.goto(server.EMPTY_PAGE);
const requests = [];
page.on('request', request => !utils.isFavicon(request) && requests.push(request));