xray-mcp 1.1.4 → 1.1.5
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 -4
- package/package.json +1 -1
package/dist/xray-client.js
CHANGED
|
@@ -112,8 +112,8 @@ export class XrayClient {
|
|
|
112
112
|
*/
|
|
113
113
|
async createTestCase(testCase) {
|
|
114
114
|
const mutation = `
|
|
115
|
-
mutation CreateTest($jira: JSON!, $testType: UpdateTestTypeInput
|
|
116
|
-
createTest(jira: $jira, testType: $testType
|
|
115
|
+
mutation CreateTest($jira: JSON!, $testType: UpdateTestTypeInput) {
|
|
116
|
+
createTest(jira: $jira, testType: $testType) {
|
|
117
117
|
test {
|
|
118
118
|
issueId
|
|
119
119
|
jira(fields: ["key"])
|
|
@@ -143,8 +143,7 @@ export class XrayClient {
|
|
|
143
143
|
jiraFields.fields.priority = { name: testCase.priority };
|
|
144
144
|
}
|
|
145
145
|
const variables = {
|
|
146
|
-
jira: jiraFields
|
|
147
|
-
unstructured: testCase.description || ''
|
|
146
|
+
jira: jiraFields
|
|
148
147
|
};
|
|
149
148
|
if (testCase.testType) {
|
|
150
149
|
variables.testType = {
|