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
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": "@browserstack/mcp-server",
"version": "1.1.8",
"version": "1.1.9",
"description": "BrowserStack's Official MCP Server",
"main": "dist/index.js",
"repository": {
Expand Down
28 changes: 14 additions & 14 deletions src/tools/appautomate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,25 +268,25 @@ export default function addAppAutomationTools(server: McpServer) {
.string()
.describe(
"Path to your application file:\n" +
"If in development IDE directory:\n" +
"• For Android: 'gradle assembleDebug'\n" +
"• For iOS:\n" +
" xcodebuild clean -scheme YOUR_SCHEME && \\\n" +
" xcodebuild archive -scheme YOUR_SCHEME -configuration Release -archivePath build/app.xcarchive && \\\n" +
" xcodebuild -exportArchive -archivePath build/app.xcarchive -exportPath build/ipa -exportOptionsPlist exportOptions.plist\n\n" +
"If in other directory, provide existing app path"
"If in development IDE directory:\n" +
"• For Android: 'gradle assembleDebug'\n" +
"• For iOS:\n" +
" xcodebuild clean -scheme YOUR_SCHEME && \\\n" +
" xcodebuild archive -scheme YOUR_SCHEME -configuration Release -archivePath build/app.xcarchive && \\\n" +
" xcodebuild -exportArchive -archivePath build/app.xcarchive -exportPath build/ipa -exportOptionsPlist exportOptions.plist\n\n" +
"If in other directory, provide existing app path",
),
testSuitePath: z
.string()
.describe(
"Path to your test suite file:\n" +
"If in development IDE directory:\n" +
"• For Android: 'gradle assembleAndroidTest'\n" +
"• For iOS:\n" +
" xcodebuild test-without-building -scheme YOUR_SCHEME -destination 'generic/platform=iOS' && \\\n" +
" cd ~/Library/Developer/Xcode/DerivedData/*/Build/Products/Debug-iphonesimulator/ && \\\n" +
" zip -r Tests.zip *.xctestrun *-Runner.app\n\n" +
"If in other directory, provide existing test file path"
"If in development IDE directory:\n" +
"• For Android: 'gradle assembleAndroidTest'\n" +
"• For iOS:\n" +
" xcodebuild test-without-building -scheme YOUR_SCHEME -destination 'generic/platform=iOS' && \\\n" +
" cd ~/Library/Developer/Xcode/DerivedData/*/Build/Products/Debug-iphonesimulator/ && \\\n" +
" zip -r Tests.zip *.xctestrun *-Runner.app\n\n" +
"If in other directory, provide existing test file path",
),
devices: z
.array(z.string())
Expand Down
1 change: 0 additions & 1 deletion src/tools/bstack-sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import {
getPercyInstructions,
} from "./sdk-utils/percy/instructions.js";


/**
* BrowserStack SDK hooks into your test framework to seamlessly run tests on BrowserStack.
* This tool gives instructions to setup a browserstack.yml file in the project root and installs the necessary dependencies.
Expand Down
1 change: 1 addition & 0 deletions src/tools/sdk-utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,7 @@ export const SUPPORTED_CONFIGURATIONS: ConfigMapping = {
nunit: { instructions: csharpCommonInstructions },
mstest: { instructions: csharpCommonInstructions },
specflow: { instructions: csharpCommonInstructions },
reqnroll: { instructions: csharpCommonInstructions },
},
},
nodejs: {
Expand Down
1 change: 1 addition & 0 deletions src/tools/sdk-utils/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export enum SDKSupportedTestingFrameworkEnum {
mstest = "mstest",
xunit = "xunit",
specflow = "specflow",
reqnroll = "reqnroll",
}
export type SDKSupportedTestingFramework =
keyof typeof SDKSupportedTestingFrameworkEnum;
Expand Down