cypress-qase-reporter 2.2.7 → 2.2.8
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 +2 -2
- package/package.json +1 -1
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
|
}
|