allure-playwright
Advanced tools
Comparing version
@@ -162,3 +162,4 @@ "use strict"; | ||
var testFilePath = _nodePath["default"].relative(project === null || project === void 0 ? void 0 : project.testDir, test.location.file); | ||
var relativeFile = testFilePath.split(_nodePath["default"].sep).join("/"); | ||
var relativeFileParts = testFilePath.split(_nodePath["default"].sep); | ||
var relativeFile = relativeFileParts.join("/"); | ||
// root > project > file path > test.describe... | ||
@@ -177,3 +178,4 @@ var _suite$titlePath = suite.titlePath(), | ||
testCaseId: (0, _reporter.md5)(testCaseIdBase), | ||
fullName: "".concat(relativeFile, ":").concat(test.location.line, ":").concat(test.location.column) | ||
fullName: "".concat(relativeFile, ":").concat(test.location.line, ":").concat(test.location.column), | ||
titlePath: relativeFileParts.concat.apply(relativeFileParts, _toConsumableArray(suiteTitles)) | ||
}; | ||
@@ -180,0 +182,0 @@ result.labels.push((0, _reporter.getLanguageLabel)()); |
@@ -142,3 +142,4 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } | ||
var testFilePath = path.relative(project === null || project === void 0 ? void 0 : project.testDir, test.location.file); | ||
var relativeFile = testFilePath.split(path.sep).join("/"); | ||
var relativeFileParts = testFilePath.split(path.sep); | ||
var relativeFile = relativeFileParts.join("/"); | ||
// root > project > file path > test.describe... | ||
@@ -157,3 +158,4 @@ var _suite$titlePath = suite.titlePath(), | ||
testCaseId: md5(testCaseIdBase), | ||
fullName: "".concat(relativeFile, ":").concat(test.location.line, ":").concat(test.location.column) | ||
fullName: "".concat(relativeFile, ":").concat(test.location.line, ":").concat(test.location.column), | ||
titlePath: relativeFileParts.concat.apply(relativeFileParts, _toConsumableArray(suiteTitles)) | ||
}; | ||
@@ -160,0 +162,0 @@ result.labels.push(getLanguageLabel()); |
{ | ||
"name": "allure-playwright", | ||
"version": "3.2.2", | ||
"version": "3.3.0", | ||
"description": "Allure Playwright integration", | ||
@@ -64,3 +64,3 @@ "keywords": [ | ||
"dependencies": { | ||
"allure-js-commons": "3.2.2" | ||
"allure-js-commons": "3.3.0" | ||
}, | ||
@@ -82,3 +82,3 @@ "devDependencies": { | ||
"allure-commandline": "^2.29.0", | ||
"allure-vitest": "3.2.2", | ||
"allure-vitest": "3.3.0", | ||
"eslint": "^8.57.0", | ||
@@ -85,0 +85,0 @@ "eslint-config-prettier": "^10.0.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
393713
0.21%2732
0.15%+ Added
- Removed
Updated