xray-mcp 1.1.0 → 1.1.1
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/dist/xray-client.js +3 -3
- package/package.json +1 -1
package/dist/xray-client.js
CHANGED
|
@@ -214,7 +214,7 @@ export class XrayClient {
|
|
|
214
214
|
* @param steps - Array of test steps with action, data, and result
|
|
215
215
|
*/
|
|
216
216
|
async addManualTestSteps(issueId, steps) {
|
|
217
|
-
// Format steps for Xray API
|
|
217
|
+
// Format steps for Xray GraphQL API (unstructured test definition)
|
|
218
218
|
const formattedSteps = steps.map((step, index) => ({
|
|
219
219
|
index: index,
|
|
220
220
|
fields: {
|
|
@@ -224,8 +224,8 @@ export class XrayClient {
|
|
|
224
224
|
}
|
|
225
225
|
}));
|
|
226
226
|
const mutation = `
|
|
227
|
-
mutation
|
|
228
|
-
|
|
227
|
+
mutation UpdateTestSteps($issueId: String!, $steps: [UnstructuredStepInput!]!) {
|
|
228
|
+
updateUnstructuredTestDefinition(issueId: $issueId, steps: $steps) {
|
|
229
229
|
issueId
|
|
230
230
|
}
|
|
231
231
|
}
|