You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`Percy is currently not supported through MCP for ${detectedLanguage} with ${detectedTestingFramework}. If you want to run the test cases without Percy, disable Percy and run it again.`,
`Percy is currently not supported through MCP for ${detectedLanguage} with ${detectedTestingFramework}. If you want to run the test cases without Percy, disable Percy and run it again.`,
100
+
);
101
+
}
102
+
}
103
+
104
+
fullInstructions+=`\n\nAfter setting up the files above, follow these final steps:\n${instructionsForProjectConfiguration}`;
105
+
38
106
return{
39
107
content: [
40
108
{
41
109
type: "text",
42
-
text: `${instructions}\n\n After creating the browserstack.yml file above, do the following: ${instructionsForProjectConfiguration}`,
110
+
text: fullInstructions,
43
111
isError: false,
44
112
},
45
113
],
@@ -49,28 +117,35 @@ export async function bootstrapProjectWithSDK({
"The automation framework configured in the project. Example: 'playwright', 'selenium'",
58
126
),
59
127
detectedTestingFramework: z
60
-
.string()
128
+
.nativeEnum(SDKSupportedTestingFrameworkEnum)
61
129
.describe(
62
-
"The testing framework used in the project. Example: 'jest', 'pytest'",
130
+
"The testing framework used in the project. Be precise with framework selection Example: 'webdriverio', 'jest', 'pytest', 'junit4', 'junit5', 'mocha'",
63
131
),
64
132
detectedLanguage: z
65
-
.string()
133
+
.nativeEnum(SDKSupportedLanguageEnum)
66
134
.describe(
67
-
"The programming language used in the project. Example: 'nodejs', 'python'",
135
+
"The programming language used in the project. Example: 'nodejs', 'python', 'java', 'csharp'",
return`Install BrowserStack Node SDK\nusing command | npm i -D browserstack-node-sdk@latest\n| and then run following command to setup browserstack sdk:\n npx setup --username ${process.env.BROWSERSTACK_USERNAME} --key ${process.env.BROWSERSTACK_ACCESS_KEY}\n\n. This will create browserstack.yml file in the project root. Edit the file to add your desired platforms and browsers. If the file is not created :\n`;
0 commit comments