testit-adapter-playwright 5.1.1 → 5.1.2
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/dist/reporter.js +2 -1
- package/package.json +2 -2
package/dist/reporter.js
CHANGED
|
@@ -318,7 +318,8 @@ class TmsReporter {
|
|
|
318
318
|
});
|
|
319
319
|
const autotestData = await this.getAutotestData(test, result);
|
|
320
320
|
const dictionaries = this.getDictionariesByTest(test);
|
|
321
|
-
|
|
321
|
+
// Always `/` so Windows and Linux/macOS produce the same TMS namespace.
|
|
322
|
+
const pathNamespace = dictionaries.slice(0, -1).join("/");
|
|
322
323
|
const pathClassname = dictionaries[dictionaries.length - 1];
|
|
323
324
|
// Prefer testit.namespace / testit.classname from metadata; file path only when missing.
|
|
324
325
|
if (pathNamespace.length > 0 && autotestData.namespace == null) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "testit-adapter-playwright",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.2",
|
|
4
4
|
"description": "Playwright adapter for Test IT",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"prettier": "^3.0.1"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"testit-js-commons": "5.1.
|
|
43
|
+
"testit-js-commons": "5.1.2"
|
|
44
44
|
},
|
|
45
45
|
"files": [
|
|
46
46
|
"dist"
|