Skip to content

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

test: fix tests in driver mode (#36587)

Max Schmitt5e17b3073ae7
diff --git a/tests/library/browsercontext-reuse.spec.ts b/tests/library/browsercontext-reuse.spec.ts
index 39a40a4c8b..602f323522 100644
--- a/tests/library/browsercontext-reuse.spec.ts
+++ b/tests/library/browsercontext-reuse.spec.ts
@@ -88,6 +88,7 @@ const test = browserTest.extend<{ scenario: 'launch' | 'connect', reusedContext:
for (const scenario of ['launch', 'connect'] as const) {
test.describe('reuse ' + scenario, () => {
+ test.skip(({ mode }) => mode !== 'default' && scenario === 'connect');
test.use({ scenario });
test('should re-add binding after reset', async ({ reusedContext }) => {