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 +1 -1
- package/dist/xray-client.js +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -141,7 +141,7 @@ npm run dev
|
|
|
141
141
|
```
|
|
142
142
|
|
|
143
143
|
**Test Types:**
|
|
144
|
-
- `Manual` - Manual tests (
|
|
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
|
package/dist/xray-client.js
CHANGED
|
@@ -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:
|
|
153
|
+
name: xrayTestType
|
|
152
154
|
};
|
|
153
155
|
}
|
|
154
156
|
const result = await this.graphqlRequest(mutation, variables);
|