@nbakka/mcp-appium 2.0.94 → 2.0.95
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 +4 -3
- package/package.json +1 -1
package/lib/server.js
CHANGED
|
@@ -801,7 +801,9 @@ tool(
|
|
|
801
801
|
"review_testcases",
|
|
802
802
|
"Open test cases in browser for manual approval.",
|
|
803
803
|
{
|
|
804
|
-
testCases: z
|
|
804
|
+
testCases: zod_1.z
|
|
805
|
+
.array(zod_1.z.array(zod_1.z.string()))
|
|
806
|
+
.describe("test cases array generated by tool generate_testcases_from_ticket_data")
|
|
805
807
|
},
|
|
806
808
|
async ({ testCases }) => {
|
|
807
809
|
try {
|
|
@@ -927,7 +929,7 @@ tool(
|
|
|
927
929
|
tool(
|
|
928
930
|
"check_approval_status",
|
|
929
931
|
"Check the approval status of test cases review session (short-circuits if already approved)",
|
|
930
|
-
{ sessionId: z.string().describe("Session ID from review_testcases") },
|
|
932
|
+
{ sessionId: zod_1.z.string().describe("Session ID from review_testcases") },
|
|
931
933
|
async ({ sessionId }) => {
|
|
932
934
|
const session = approvalSessions.get(sessionId);
|
|
933
935
|
if (!session) return `❌ Session not found. Invalid session ID: ${sessionId}`;
|
|
@@ -942,7 +944,6 @@ tool(
|
|
|
942
944
|
return `✅ Test cases approved. Elapsed: ${elapsed}s\n${JSON.stringify(approvedTestCases, null, 2)}`;
|
|
943
945
|
}
|
|
944
946
|
|
|
945
|
-
// only wait if still pending
|
|
946
947
|
await new Promise(r => setTimeout(r, 5000));
|
|
947
948
|
|
|
948
949
|
const refreshed = approvalSessions.get(sessionId);
|