xray-mcp 1.2.5 → 1.2.6

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/README.md CHANGED
@@ -141,7 +141,7 @@ npm run dev
141
141
  ```
142
142
 
143
143
  **Test Types:**
144
- - `Manual` - Manual tests (default, use with `add_manual_test_steps` for unstructured steps)
144
+ - `Manual` - Manual tests (automatically mapped to Unstructured in Xray for compatibility with `add_manual_test_steps`)
145
145
  - `Cucumber` - Gherkin/BDD scenarios
146
146
  - `Generic` - Other test types
147
147
  - `Generic` - Generic automated tests
@@ -147,8 +147,10 @@ export class XrayClient {
147
147
  unstructured: testCase.description || ''
148
148
  };
149
149
  if (testCase.testType) {
150
+ // Always use "Unstructured" for Manual tests to ensure compatibility with add_manual_test_steps
151
+ const xrayTestType = testCase.testType === 'Manual' ? 'Unstructured' : testCase.testType;
150
152
  variables.testType = {
151
- name: testCase.testType
153
+ name: xrayTestType
152
154
  };
153
155
  }
154
156
  const result = await this.graphqlRequest(mutation, variables);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xray-mcp",
3
- "version": "1.2.5",
3
+ "version": "1.2.6",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "bin": {