@msalaam/xray-qe-toolkit 1.6.3 → 1.6.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/lib/xrayClient.js CHANGED
@@ -631,14 +631,17 @@ export async function addTestsToTestPlan(cfg, xrayToken, planIssueId, testIssueI
631
631
  mutation ($issueId: String!, $testIssueIds: [String]!) {
632
632
  addTestsToTestPlan(issueId: $issueId, testIssueIds: $testIssueIds) {
633
633
  addedTests
634
- warnings
634
+ warning
635
635
  }
636
636
  }
637
637
  `, {
638
638
  issueId: String(planIssueId),
639
639
  testIssueIds: testIssueIds.map(String),
640
640
  });
641
- return data.addTestsToTestPlan;
641
+ return {
642
+ ...data.addTestsToTestPlan,
643
+ warnings: data.addTestsToTestPlan?.warning ? [data.addTestsToTestPlan.warning] : [],
644
+ };
642
645
  }
643
646
 
644
647
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@msalaam/xray-qe-toolkit",
3
- "version": "1.6.3",
3
+ "version": "1.6.5",
4
4
  "description": "QE toolkit for Xray Cloud — test management, tests.json standardisation, Playwright result import, and CI pipeline integration.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -30,7 +30,6 @@
30
30
  "license": "UNLICENSED",
31
31
  "dependencies": {
32
32
  "@modelcontextprotocol/sdk": "^1.27.1",
33
- "@msalaam/xray-qe-toolkit": "^1.6.0",
34
33
  "axios": "^1.13.4",
35
34
  "commander": "^13.1.0",
36
35
  "dotenv": "^17.2.3",