Skip to content

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

test: retry cdp tests for windows flake (#38066)

Pavel Feldman007f57790588
diff --git a/tests/mcp/cdp.spec.ts b/tests/mcp/cdp.spec.ts
index 2bfdafb9c3..45eab8f543 100644
--- a/tests/mcp/cdp.spec.ts
+++ b/tests/mcp/cdp.spec.ts
@@ -17,6 +17,10 @@
import { spawnSync } from 'child_process';
import { test, expect, mcpServerPath } from './fixtures';
+test.describe.configure({
+ retries: 1,
+});
+
test('cdp server', async ({ cdpServer, startClient, server }) => {
await cdpServer.start();
const { client } = await startClient({ args: [`--cdp-endpoint=${cdpServer.endpoint}`] });