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(chromium): skip CDPSession kill test outside of default mode (#43236)
Pavel Feldman2fd57cbd300f
diff --git a/tests/library/chromium/connect-over-cdp.spec.ts b/tests/library/chromium/connect-over-cdp.spec.tsindex 3d16f45e52..a445ca60be 100644--- a/tests/library/chromium/connect-over-cdp.spec.ts+++ b/tests/library/chromium/connect-over-cdp.spec.ts@@ -181,7 +181,8 @@ test('should cleanup artifacts dir after connectOverCDP disconnects due to ws cltest('should reject pending CDPSession calls when the browser is killed', {annotation: { type: 'issue', description: 'https://github.com/microsoft/playwright/issues/43200' },-}, async ({ browserType }, testInfo) => {+}, async ({ browserType, mode }, testInfo) => {+ test.skip(mode !== 'default', 'launchServer is only available in-process');const port = 9339 + testInfo.workerIndex;const browserServer = await browserType.launchServer({args: ['--remote-debugging-port=' + port]