Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
test: skip a few (#40859)
Dmitry Gozman7583f47a725d
diff --git a/tests/library/chromium/connect-over-cdp.spec.ts b/tests/library/chromium/connect-over-cdp.spec.tsindex 1705e7118d..c395082b25 100644--- a/tests/library/chromium/connect-over-cdp.spec.ts+++ b/tests/library/chromium/connect-over-cdp.spec.ts@@ -61,7 +61,9 @@ test('should cleanup artifacts dir after connectOverCDP disconnects due to ws clexpect(exists2).toBe(false);});-test('should write traces to provided artifactsDir on connectOverCDP', async ({ browserType, toImpl }, testInfo) => {+test('should write traces to provided artifactsDir on connectOverCDP', async ({ browserType, toImpl, trace }, testInfo) => {+ test.skip(trace === 'on');+const port = 9339 + testInfo.workerIndex;const browserServer = await browserType.launch({args: ['--remote-debugging-port=' + port]diff --git a/tests/page/page-goto.spec.ts b/tests/page/page-goto.spec.tsindex bf8e9ecf4c..d6bbad9856 100644--- a/tests/page/page-goto.spec.ts+++ b/tests/page/page-goto.spec.ts@@ -380,8 +380,8 @@ it('should fail when exceeding maximum navigation timeout', async ({ page, serveexpect(error).toBeInstanceOf(playwright.errors.TimeoutError);});-it('should fail when exceeding default maximum navigation timeout', async ({ page, server, playwright, isAndroid }) => {- it.skip(isAndroid, 'No context per test');+it('should fail when exceeding default maximum navigation timeout', async ({ page, server, playwright, isAndroid, isElectron }) => {+ it.skip(isAndroid || isElectron, 'No context per test');// Hang for request to the empty.htmlserver.setRoute('/empty.html', (req, res) => { });@@ -394,8 +394,8 @@ it('should fail when exceeding default maximum navigation timeout', async ({ pagexpect(error).toBeInstanceOf(playwright.errors.TimeoutError);});-it('should fail when exceeding browser context navigation timeout', async ({ page, server, playwright, isAndroid }) => {- it.skip(isAndroid, 'No context per test');+it('should fail when exceeding browser context navigation timeout', async ({ page, server, playwright, isAndroid, isElectron }) => {+ it.skip(isAndroid || isElectron, 'No context per test');// Hang for request to the empty.htmlserver.setRoute('/empty.html', (req, res) => { });