@nbakka/mcp-appium 2.0.73 → 2.0.74
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 +8 -6
- package/package.json +1 -1
package/lib/server.js
CHANGED
|
@@ -614,7 +614,7 @@ tool(
|
|
|
614
614
|
|
|
615
615
|
tool(
|
|
616
616
|
"fetch_testcases_from_tcms",
|
|
617
|
-
"
|
|
617
|
+
"Before generating ticket for a jira ticket, always fetch existing test cases from TCMS tool for a specific folder",
|
|
618
618
|
{
|
|
619
619
|
projectKey: zod_1.z.string().describe("The project key (e.g., SCRUM)"),
|
|
620
620
|
folderName: zod_1.z.string().describe("The folder name to filter test cases (e.g., PDP)")
|
|
@@ -657,11 +657,13 @@ tool(
|
|
|
657
657
|
folderName: testCase.folder.name
|
|
658
658
|
}));
|
|
659
659
|
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
660
|
+
// Format as string response
|
|
661
|
+
const result = `✅ Found ${extractedTestCases.length} test cases in folder: ${folderName}\n\n` +
|
|
662
|
+
extractedTestCases.map(tc =>
|
|
663
|
+
`Key: ${tc.key}\nTitle: ${tc.title}\nFolder: ${tc.folderName}\n---`
|
|
664
|
+
).join('\n');
|
|
665
|
+
|
|
666
|
+
return result;
|
|
665
667
|
|
|
666
668
|
} catch (err) {
|
|
667
669
|
if (err.response) {
|