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
chore(mcp): remove stray console.error in cli-json test (#40744)
Pavel Feldman1cffc10cc2e6
diff --git a/tests/mcp/cli-json.spec.ts b/tests/mcp/cli-json.spec.tsindex b607db3d8f..d702d5ecbf 100644--- a/tests/mcp/cli-json.spec.ts+++ b/tests/mcp/cli-json.spec.ts@@ -204,8 +204,6 @@ test('request and per-part commands return JSON result', async ({ cli, server })const { output: list } = await cli('requests');const num = list.match(/^(\d+)\. \[POST\] [^ ]+\/api =>/m)![1];- console.error(list);-expect(JSON.parse((await cli('--json', 'request-headers', num)).output).result).toContain('x-custom-header: test-value');expect(JSON.parse((await cli('--json', 'request-body', num)).output)).toEqual({ result: '{"key":"value"}' });expect(JSON.parse((await cli('--json', 'response-headers', num)).output).result).toContain('x-custom-response: response-value');