From 8f92197efc8f82c237a2c3a7b79d22619bbb5f58 Mon Sep 17 00:00:00 2001 From: "Tommy D. Rossi" Date: Tue, 27 Jan 2026 22:19:11 +0100 Subject: [PATCH] test(playwriter): clarify test names Rename MCP-prefixed test files and top-level describe labels to reflect relay, extension, and snapshot scopes. --- .../{mcp-connection.test.ts => extension-connection.test.ts} | 2 +- playwriter/src/{mcp-core.test.ts => relay-core.test.ts} | 2 +- .../src/{mcp-navigation.test.ts => relay-navigation.test.ts} | 2 +- playwriter/src/{mcp-session.test.ts => relay-session.test.ts} | 0 playwriter/src/{mcp-snapshot.test.ts => snapshot-tools.test.ts} | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename playwriter/src/{mcp-connection.test.ts => extension-connection.test.ts} (99%) rename playwriter/src/{mcp-core.test.ts => relay-core.test.ts} (99%) rename playwriter/src/{mcp-navigation.test.ts => relay-navigation.test.ts} (99%) rename playwriter/src/{mcp-session.test.ts => relay-session.test.ts} (100%) rename playwriter/src/{mcp-snapshot.test.ts => snapshot-tools.test.ts} (99%) diff --git a/playwriter/src/mcp-connection.test.ts b/playwriter/src/extension-connection.test.ts similarity index 99% rename from playwriter/src/mcp-connection.test.ts rename to playwriter/src/extension-connection.test.ts index 516e098..125fd5b 100644 --- a/playwriter/src/mcp-connection.test.ts +++ b/playwriter/src/extension-connection.test.ts @@ -7,7 +7,7 @@ import './test-declarations.js' const TEST_PORT = 19990 -describe('MCP Connection Tests', () => { +describe('Extension Connection Tests', () => { let client: Awaited>['client'] let cleanup: (() => Promise) | null = null let testCtx: TestContext | null = null diff --git a/playwriter/src/mcp-core.test.ts b/playwriter/src/relay-core.test.ts similarity index 99% rename from playwriter/src/mcp-core.test.ts rename to playwriter/src/relay-core.test.ts index 4604269..724612a 100644 --- a/playwriter/src/mcp-core.test.ts +++ b/playwriter/src/relay-core.test.ts @@ -7,7 +7,7 @@ import './test-declarations.js' const TEST_PORT = 19987 -describe('MCP Core Tests', () => { +describe('Relay Core Tests', () => { let client: Awaited>['client'] let cleanup: (() => Promise) | null = null let testCtx: TestContext | null = null diff --git a/playwriter/src/mcp-navigation.test.ts b/playwriter/src/relay-navigation.test.ts similarity index 99% rename from playwriter/src/mcp-navigation.test.ts rename to playwriter/src/relay-navigation.test.ts index d77fb72..22b54eb 100644 --- a/playwriter/src/mcp-navigation.test.ts +++ b/playwriter/src/relay-navigation.test.ts @@ -6,7 +6,7 @@ import './test-declarations.js' const TEST_PORT = 19992 -describe('MCP Navigation Tests', () => { +describe('Relay Navigation Tests', () => { let testCtx: TestContext | null = null beforeAll(async () => { diff --git a/playwriter/src/mcp-session.test.ts b/playwriter/src/relay-session.test.ts similarity index 100% rename from playwriter/src/mcp-session.test.ts rename to playwriter/src/relay-session.test.ts diff --git a/playwriter/src/mcp-snapshot.test.ts b/playwriter/src/snapshot-tools.test.ts similarity index 99% rename from playwriter/src/mcp-snapshot.test.ts rename to playwriter/src/snapshot-tools.test.ts index 2832103..7144884 100644 --- a/playwriter/src/mcp-snapshot.test.ts +++ b/playwriter/src/snapshot-tools.test.ts @@ -14,7 +14,7 @@ import './test-declarations.js' const TEST_PORT = 19991 -describe('MCP Snapshot & Screenshot Tests', () => { +describe('Snapshot & Screenshot Tests', () => { let client: Awaited>['client'] let cleanup: (() => Promise) | null = null let testCtx: TestContext | null = null