Skip to content

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

test: tree gardening (#37107)

Max Schmitt27ae7dc63959
diff --git a/tests/library/browsertype-connect.spec.ts b/tests/library/browsertype-connect.spec.ts
index a94a95a57f..826bc07df9 100644
--- a/tests/library/browsertype-connect.spec.ts
+++ b/tests/library/browsertype-connect.spec.ts
@@ -1047,7 +1047,8 @@ test.describe('launchServer only', () => {
await expect(browser._parent.launch({ timeout: 0 })).rejects.toThrowError('Launching more browsers is not allowed.');
});
- test('should work with existing browser', async ({ connect, browserType }) => {
+ test('should work with existing browser', async ({ connect, browserType, mode }) => {
+ test.skip(mode === 'driver', 'Driver mode does not support browserType.launchServer');
// can't use browser fixture because it's shared across the worker, launching a server on that would infect other tests
const browser = await browserType.launch();
const page = await browser.newPage();
diff --git a/tests/page/page-keyboard.spec.ts b/tests/page/page-keyboard.spec.ts
index 0abbfd2c1d..7b0b88b0d9 100644
--- a/tests/page/page-keyboard.spec.ts
+++ b/tests/page/page-keyboard.spec.ts
@@ -17,6 +17,7 @@
import { test as it, expect } from './pageTest';
import { attachFrame } from '../config/utils';
+import { hostPlatform } from '../../packages/playwright-core/src/server/utils/hostPlatform';
it.skip(({ isAndroid }) => isAndroid);
@@ -715,7 +716,10 @@ Keyup: Escape Escape STANDARD []
`.trim());
});
-it('should close dialog on Escape key press in contenteditable', { annotation: { type: 'issue', description: 'https://github.com/microsoft/playwright/issues/36727' } }, async ({ page }) => {
+it('should close dialog on Escape key press in contenteditable', {
+ annotation: { type: 'issue', description: 'https://github.com/microsoft/playwright/issues/36727' }
+}, async ({ page, browserName }) => {
+ it.skip(browserName === 'webkit' && hostPlatform.startsWith('debian11'), 'Debian 11 is frozen');
await page.setContent(`
<dialog>
<div contenteditable>Edit Me</div>