@nbakka/mcp-appium 2.0.74 → 2.0.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/server.js +2 -2
- package/package.json +1 -1
package/lib/server.js
CHANGED
|
@@ -674,7 +674,7 @@ tool(
|
|
|
674
674
|
}
|
|
675
675
|
);
|
|
676
676
|
|
|
677
|
-
tool(
|
|
677
|
+
server.tool(
|
|
678
678
|
"generate_testcases_from_ticket_data",
|
|
679
679
|
"Generate manual test cases by analyzing PNG design with JIRA requirements",
|
|
680
680
|
{
|
|
@@ -690,7 +690,7 @@ tool(
|
|
|
690
690
|
// Load OpenAI API key from Desktop/openai.json
|
|
691
691
|
const openaiConfigPath = path.join(os.homedir(), "Desktop", "openai.json");
|
|
692
692
|
const configContent = await fs.readFile(openaiConfigPath, "utf-8");
|
|
693
|
-
const { apiKey } = JSON.parse(configContent);
|
|
693
|
+
const { apiKey } = JSON.parse(configContent.trim());
|
|
694
694
|
|
|
695
695
|
// Load test case generation guidelines
|
|
696
696
|
const guidelinesPath = path.join(__dirname, 'testcases-generation-context.txt');
|