@nbakka/mcp-appium 2.0.82 → 2.0.84

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 CHANGED
@@ -942,9 +942,6 @@ tool(
942
942
  sessionId: zod_1.z.string().describe("The session ID returned from review_testcases tool")
943
943
  },
944
944
  async ({ sessionId }) => {
945
- // Add 25 second hard wait
946
- await new Promise(resolve => setTimeout(resolve, 25000));
947
-
948
945
  const session = approvalSessions.get(sessionId);
949
946
 
950
947
  if (!session) {
@@ -958,12 +955,12 @@ tool(
958
955
  const elapsedTime = Math.floor((currentTime - session.startTime) / 1000);
959
956
 
960
957
  if (session.status === 'approved') {
958
+ const approvedTestCases = session.finalTestCases || session.testCases;
959
+
961
960
  // Clean up session and close server
962
961
  if (session.server) {
963
962
  session.server.close();
964
963
  }
965
-
966
- const approvedTestCases = session.finalTestCases || session.testCases;
967
964
  approvalSessions.delete(sessionId);
968
965
 
969
966
  return JSON.stringify({
@@ -993,7 +990,7 @@ tool(
993
990
 
994
991
  return JSON.stringify({
995
992
  status: "timeout",
996
- message: "Review session timed out after 5 minutes. Test cases were not approved.",
993
+ message: `Review session timed out. Elapsed time: ${elapsedTime} seconds`,
997
994
  elapsedTime: elapsedTime
998
995
  });
999
996
  } else {
@@ -7,7 +7,7 @@ final output should be test in following format
7
7
  "Verify pay on credit banner exits on PDP", "Existing"
8
8
  "Verify overview tab on PDP", "New"
9
9
  "Verify financial services are displayed under financial tab", "Remove", "SCRUM-TC-2"
10
- "Verify xyz is moved to sja ", "Modify", "SCRUM-TC-2"
10
+ "Verify xyz is present in overview section ", "Verify xyz is moved from overview to property tour section ", "Modify", "SCRUM-TC-2"
11
11
  Existing - already exists in TCMS and no changes needed
12
12
  New - doesn't exist in TCMS and needs to be created
13
13
  Remove - to remove test cases from TCMS because it is no longer valid
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nbakka/mcp-appium",
3
- "version": "2.0.82",
3
+ "version": "2.0.84",
4
4
  "description": "Appium MCP",
5
5
  "engines": {
6
6
  "node": ">=18"