Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": "0.2",
"name": "@testingbot/mcp-server",
"version": "1.1.4",
"version": "1.1.5",
"description": "TestingBot's official MCP Server for AI-powered testing automation. Manage browsers, tests, builds, screenshots, storage, team members, and tunnels through conversational interfaces.",
"icon": "icon.png",
"homepage": "https://github.com/testingbot/mcp-server",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@testingbot/mcp-server",
"version": "1.1.4",
"version": "1.1.5",
"main": "dist/index.js",
"type": "module",
"mcpName": "com.testingbot/mcp-server",
Expand Down
4 changes: 2 additions & 2 deletions server.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-09-16/server.schema.json",
"name": "com.testingbot/mcp-server",
"description": "TestingBot's Official MCP Server for AI-powered testing automation",
"version": "1.1.4",
"version": "1.1.5",
"packages": [
{
"registryType": "npm",
"identifier": "@testingbot/mcp-server",
"version": "1.1.4",
"version": "1.1.5",
"transport": {
"type": "stdio"
},
Expand Down
2 changes: 1 addition & 1 deletion src/tools/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ function configSnippet(framework: Framework, language: Language): string {
" secret: process.env.TESTINGBOT_SECRET!,",
" browserName: 'chrome',",
" browserVersion: 'latest',",
" os: 'WIN11',",
" platform: 'WIN11',",
"}).toString();",
"",
"export default defineConfig({",
Expand Down
12 changes: 12 additions & 0 deletions tests/tools/project.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,18 @@ describe("Project Tools", () => {
expect(result.content[0].text).toContain("TESTINGBOT_SECRET");
});

it("names the OS capability `platform`, the only key the hub reads", async () => {
writeFile("package.json", JSON.stringify({ devDependencies: { "@playwright/test": "^1" } }));

const tools = addProjectTools(serverMock, testingBotApiMock, configMock);
const result = await tools.setupTestingBot.handler({ projectRoot: tmpDir });

// The hub only maps `platform`/`platformName` onto the session platform; an
// `os` key is silently dropped and the session lands on the default OS.
expect(result.content[0].text).toContain("platform: 'WIN11'");
expect(result.content[0].text).not.toContain("os: 'WIN11'");
});

it("returns a WebdriverIO config + install command", async () => {
writeFile(
"package.json",
Expand Down
Loading