Skip to content

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

tests: skip failing waitForNavigation test in Chromium (#1248)

Dmitry Gozmancd8714d5734b
diff --git a/test/navigation.spec.js b/test/navigation.spec.js
index e0317d52d7..efed78ba1f 100644
--- a/test/navigation.spec.js
+++ b/test/navigation.spec.js
@@ -1067,7 +1067,7 @@ module.exports.describe = function({testRunner, expect, playwright, MAC, WIN, FF
expect(response.frame()).toBe(frame);
expect(page.url()).toContain('/frames/one-frame.html');
});
- it('should fail when frame detaches', async({page, server}) => {
+ it.fail(true)('should fail when frame detaches', async({page, server}) => {
await page.goto(server.PREFIX + '/frames/one-frame.html');
const frame = page.frames()[1];
diff --git a/test/page.spec.js b/test/page.spec.js
index 3b2db2e4b1..dbb27543ab 100644
--- a/test/page.spec.js
+++ b/test/page.spec.js
@@ -511,7 +511,7 @@ module.exports.describe = function({testRunner, expect, headless, playwright, FF
const result = await page.content();
expect(result).toBe(expectedOutput);
});
- it('should not confuse with previous navigation', async({page, server}) => {
+ it.fail(true)('should not confuse with previous navigation', async({page, server}) => {
const imgPath = '/img.png';
let imgResponse = null;
server.setRoute(imgPath, (req, res) => imgResponse = res);