cypress-qase-reporter 2.2.7 → 2.2.9
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 +6 -0
- package/dist/reporter.js +4 -2
- package/package.json +2 -2
package/changelog.md
CHANGED
package/dist/reporter.js
CHANGED
|
@@ -201,7 +201,7 @@ class CypressQaseReporter extends mocha_1.reporters.Base {
|
|
|
201
201
|
let signature = '';
|
|
202
202
|
const file = test.parent ? this.getFile(test.parent) : undefined;
|
|
203
203
|
if (file) {
|
|
204
|
-
signature = file.split(
|
|
204
|
+
signature = file.split(path_1.default.sep).join('::');
|
|
205
205
|
}
|
|
206
206
|
if (test.parent) {
|
|
207
207
|
for (const suite of test.parent.titlePath()) {
|
|
@@ -222,7 +222,7 @@ class CypressQaseReporter extends mocha_1.reporters.Base {
|
|
|
222
222
|
if (!file) {
|
|
223
223
|
return '';
|
|
224
224
|
}
|
|
225
|
-
const pathParts = file.split(
|
|
225
|
+
const pathParts = file.split(path_1.default.sep);
|
|
226
226
|
const fileName = pathParts[pathParts.length - 1];
|
|
227
227
|
return fileName ? fileName : '';
|
|
228
228
|
}
|
|
@@ -281,6 +281,7 @@ class CypressQaseReporter extends mocha_1.reporters.Base {
|
|
|
281
281
|
step.data = {
|
|
282
282
|
action: message.name,
|
|
283
283
|
expected_result: null,
|
|
284
|
+
data: null,
|
|
284
285
|
};
|
|
285
286
|
if (lastIndex === messages.indexOf(message) && testStatus !== 'passed') {
|
|
286
287
|
step.execution.status = qase_javascript_commons_1.StepStatusEnum.failed;
|
|
@@ -302,6 +303,7 @@ class CypressQaseReporter extends mocha_1.reporters.Base {
|
|
|
302
303
|
newStep.data = {
|
|
303
304
|
action: step.name,
|
|
304
305
|
expected_result: null,
|
|
306
|
+
data: null,
|
|
305
307
|
};
|
|
306
308
|
if (attachments[step.id]) {
|
|
307
309
|
newStep.attachments = attachments[step.id] ?? [];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cypress-qase-reporter",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.9",
|
|
4
4
|
"description": "Qase Cypress Reporter",
|
|
5
5
|
"homepage": "https://github.com/qase-tms/qase-javascript",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"author": "Qase Team <support@qase.io>",
|
|
52
52
|
"license": "Apache-2.0",
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"qase-javascript-commons": "~2.2.
|
|
54
|
+
"qase-javascript-commons": "~2.2.14",
|
|
55
55
|
"uuid": "^9.0.1"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|