cucumberjs-qase-reporter 2.0.6 → 2.1.0
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 +13 -0
- package/dist/models.d.ts +1 -1
- package/dist/models.js +1 -0
- package/dist/storage.js +4 -4
- package/package.json +2 -2
package/changelog.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
# qase-cucumberjs@2.1.0
|
|
2
|
+
|
|
3
|
+
## What's new
|
|
4
|
+
|
|
5
|
+
- Updated to the latest minor version of the common package for improved compatibility and features.
|
|
6
|
+
- Fixed all ESLint warnings across the project to ensure code quality and maintainability.
|
|
7
|
+
|
|
8
|
+
# qase-cucumberjs@2.0.7
|
|
9
|
+
|
|
10
|
+
## What's new
|
|
11
|
+
|
|
12
|
+
Enhanced handling of start and end times for tests and steps, ensuring greater accuracy in reporting.
|
|
13
|
+
|
|
1
14
|
# qase-cucumberjs@2.0.5
|
|
2
15
|
|
|
3
16
|
## What's new
|
package/dist/models.d.ts
CHANGED
package/dist/models.js
CHANGED
package/dist/storage.js
CHANGED
|
@@ -174,9 +174,9 @@ class Storage {
|
|
|
174
174
|
author: null,
|
|
175
175
|
execution: {
|
|
176
176
|
status: this.testCaseStartedResult[testCase.testCaseStartedId] ?? qase_javascript_commons_1.TestStatusEnum.passed,
|
|
177
|
-
start_time:
|
|
178
|
-
end_time:
|
|
179
|
-
duration: Math.abs(testCase.timestamp.seconds - tcs.timestamp.seconds),
|
|
177
|
+
start_time: tcs.timestamp.seconds,
|
|
178
|
+
end_time: testCase.timestamp.seconds,
|
|
179
|
+
duration: Math.abs(testCase.timestamp.seconds - tcs.timestamp.seconds) * 1000,
|
|
180
180
|
stacktrace: error?.stacktrace ?? null,
|
|
181
181
|
thread: null,
|
|
182
182
|
},
|
|
@@ -224,7 +224,7 @@ class Storage {
|
|
|
224
224
|
status: Storage.stepStatusMap[finished.testStepResult.status],
|
|
225
225
|
start_time: null,
|
|
226
226
|
end_time: null,
|
|
227
|
-
duration: finished.testStepResult.duration.seconds,
|
|
227
|
+
duration: finished.testStepResult.duration.seconds * 1000,
|
|
228
228
|
},
|
|
229
229
|
attachments: this.attachments[s.id] ?? [],
|
|
230
230
|
steps: [],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cucumberjs-qase-reporter",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "Qase TMS CucumberJS Reporter",
|
|
5
5
|
"homepage": "https://github.com/qase-tms/qase-javascript",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"license": "Apache-2.0",
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@cucumber/messages": "^22.0.0",
|
|
43
|
-
"qase-javascript-commons": "
|
|
43
|
+
"qase-javascript-commons": "~2.3.0"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"@cucumber/cucumber": ">=7.0.0"
|