@nbakka/mcp-appium 2.0.77 → 2.0.79

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.
Files changed (2) hide show
  1. package/lib/server.js +9 -3
  2. package/package.json +1 -1
package/lib/server.js CHANGED
@@ -674,14 +674,15 @@ tool(
674
674
  }
675
675
  );
676
676
 
677
- server.tool(
677
+ tool(
678
678
  "generate_testcases_from_ticket_data",
679
679
  "Generate manual test cases by analyzing PNG design with JIRA requirements",
680
680
  {
681
681
  jiraSummary: zod_1.z.string().describe("Jira issue summary"),
682
- jiraDescription: zod_1.z.string().describe("Jira issue description")
682
+ jiraDescription: zod_1.z.string().describe("Jira issue description"),
683
+ existingTestCases: zod_1.z.string().optional().describe("Existing test cases from TCMS")
683
684
  },
684
- async ({ jiraSummary, jiraDescription }) => {
685
+ async ({ jiraSummary, jiraDescription, existingTestCases }) => {
685
686
  try {
686
687
  // Clear the generated test cases file before starting
687
688
  const testCasesFilePath = path.join(__dirname, 'generated-testcases.txt');
@@ -726,6 +727,11 @@ JIRA Summary: ${jiraSummary}
726
727
 
727
728
  JIRA Description: ${jiraDescription}
728
729
 
730
+ ${existingTestCases ? `Existing Test Cases from TCMS:
731
+ ${existingTestCases}
732
+
733
+ Please consider these existing test cases and generate additional comprehensive test cases that complement them.` : ''}
734
+
729
735
  Test Case Generation Guidelines:
730
736
  ${guidelines}`
731
737
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nbakka/mcp-appium",
3
- "version": "2.0.77",
3
+ "version": "2.0.79",
4
4
  "description": "Appium MCP",
5
5
  "engines": {
6
6
  "node": ">=18"