Skip to content

Commit 33c4a85

Browse files
author
rocketraccoon
committed
feat(mcp-tools): add run tests using testplane
1 parent d66a777 commit 33c4a85

File tree

3 files changed

+1
-31
lines changed

3 files changed

+1
-31
lines changed

src/tools/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import { openNewTab } from "./open-new-tab.js";
1111
import { closeTab } from "./close-tab.js";
1212
import { waitForElement } from "./wait-for-element.js";
1313
import { attachToBrowser } from "./attach-to-browser.js";
14-
import { runTests } from "./run-tests.js";
1514

1615
export const tools = [
1716
navigate,
@@ -26,5 +25,4 @@ export const tools = [
2625
closeTab,
2726
waitForElement,
2827
attachToBrowser,
29-
runTests,
3028
] as const satisfies ToolDefinition<any>[]; // eslint-disable-line @typescript-eslint/no-explicit-any

src/tools/run-tests.ts

Lines changed: 0 additions & 28 deletions
This file was deleted.

src/tools/utils/attach-to-browser-schema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ export const attachToBrowserSchema = {
44
session: z
55
.object({
66
sessionId: z.string().describe("Unique identifier for the session"),
7+
pid: z.number().describe("Pid of webdriver process, need for close browser correct"),
78
sessionCaps: z
89
.object({
910
acceptInsecureCerts: z
@@ -102,7 +103,6 @@ export const attachToBrowserSchema = {
102103
})
103104
.describe("Session options")
104105
.optional(),
105-
pid: z.number().describe("Pid of webdriver process").optional(),
106106
})
107107
.describe("Attach to browser json object from console after --keep-browser testplane run"),
108108
};

0 commit comments

Comments
 (0)