@testomatio/reporter 0.6.7 → 0.6.8-beta.1

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.
Files changed (2) hide show
  1. package/lib/xmlReader.js +4 -1
  2. package/package.json +1 -1
package/lib/xmlReader.js CHANGED
@@ -310,7 +310,10 @@ function reduceTestCases(prev, item) {
310
310
  testCases = [testCases]
311
311
  }
312
312
  testCases.filter(t => !!t).forEach(testCaseItem => {
313
- const file = testCaseItem.file || item.filepath || '';
313
+ let file = testCaseItem.file || item.filepath || '';
314
+ if (!file && testCaseItem.classname) {
315
+ file = testCaseItem.classname.replace(/\./g, '/');
316
+ }
314
317
 
315
318
  let stack = '';
316
319
  let message = '';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testomatio/reporter",
3
- "version": "0.6.7",
3
+ "version": "0.6.8-beta.1",
4
4
  "description": "Testomatio Reporter Client",
5
5
  "main": "./lib/reporter.js",
6
6
  "repository": "git@github.com:testomatio/reporter.git",