qase-javascript-commons 2.4.14 → 2.4.16

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/changelog.md CHANGED
@@ -1,3 +1,9 @@
1
+ # qase-javascript-commons@2.4.16
2
+
3
+ ## What's new
4
+
5
+ Fixed issue with incorrect 'disabled' status.
6
+
1
7
  # qase-javascript-commons@2.4.13
2
8
 
3
9
  ## What's new
@@ -20,7 +20,7 @@ class ClientV2 extends clientV1_1.ClientV1 {
20
20
  [models_1.TestStatusEnum.passed]: 'passed',
21
21
  [models_1.TestStatusEnum.failed]: 'failed',
22
22
  [models_1.TestStatusEnum.skipped]: 'skipped',
23
- [models_1.TestStatusEnum.disabled]: 'disabled',
23
+ [models_1.TestStatusEnum.disabled]: 'skipped',
24
24
  [models_1.TestStatusEnum.blocked]: 'blocked',
25
25
  [models_1.TestStatusEnum.invalid]: 'invalid',
26
26
  };
@@ -65,22 +65,22 @@ class ClientV2 extends clientV1_1.ClientV1 {
65
65
  clientParts.push(`reporter=${reporterName}`);
66
66
  }
67
67
  if (hostData.reporter && hostData.reporter.trim()) {
68
- clientParts.push(`reporter_version=v${hostData.reporter}`);
68
+ clientParts.push(`reporter_version=${hostData.reporter}`);
69
69
  }
70
70
  if (frameworkName && frameworkName.trim()) {
71
71
  clientParts.push(`framework=${frameworkName}`);
72
72
  }
73
73
  if (hostData.framework && hostData.framework.trim()) {
74
- clientParts.push(`framework_version=v${hostData.framework}`);
74
+ clientParts.push(`framework_version=${hostData.framework}`);
75
75
  }
76
76
  if (hostData.apiClientV1 && hostData.apiClientV1.trim()) {
77
- clientParts.push(`client_version_v1=v${hostData.apiClientV1}`);
77
+ clientParts.push(`client_version_v1=${hostData.apiClientV1}`);
78
78
  }
79
79
  if (hostData.apiClientV2 && hostData.apiClientV2.trim()) {
80
- clientParts.push(`client_version_v2=v${hostData.apiClientV2}`);
80
+ clientParts.push(`client_version_v2=${hostData.apiClientV2}`);
81
81
  }
82
82
  if (hostData.commons && hostData.commons.trim()) {
83
- clientParts.push(`core_version=v${hostData.commons}`);
83
+ clientParts.push(`core_version=${hostData.commons}`);
84
84
  }
85
85
  if (clientParts.length > 0) {
86
86
  headers['X-Client'] = clientParts.join(';');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qase-javascript-commons",
3
- "version": "2.4.14",
3
+ "version": "2.4.16",
4
4
  "description": "Qase JS Reporters",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",