diff --git a/lib/utils/util.js b/lib/utils/util.js index 18464ae..5274f34 100644 --- a/lib/utils/util.js +++ b/lib/utils/util.js @@ -274,7 +274,8 @@ const Util = { if (fs.existsSync(p)) { fs.rmSync(p, { recursive: true, - force: true + force: true, + maxRetries: 10 }); } }, diff --git a/lib/visitor.js b/lib/visitor.js index abdd391..3adafcf 100644 --- a/lib/visitor.js +++ b/lib/visitor.js @@ -527,6 +527,8 @@ class Visitor { } // before path change + // Attachments with a text/html content type can now be opened in a new tab in the HTML report. + // This is useful for including third-party reports or other HTML content in the Playwright test report and distributing it to your team. this.reportHandler(item, 'audit', title); this.reportHandler(item, 'coverage', title); this.reportHandler(item, 'network', title); diff --git a/package.json b/package.json index b79c729..9a8af78 100644 --- a/package.json +++ b/package.json @@ -46,29 +46,29 @@ "koa": "^2.15.3", "koa-static-resolver": "^1.0.6", "lz-utils": "^2.1.0", - "monocart-coverage-reports": "^2.10.3", + "monocart-coverage-reports": "^2.10.4", "monocart-locator": "^1.0.2", - "nodemailer": "^6.9.14" + "nodemailer": "^6.9.15" }, "devDependencies": { "@babel/code-frame": "^7.24.7", - "@playwright/test": "^1.46.1", + "@playwright/test": "^1.47.1", "ansi-to-html": "^0.7.2", "async-tick": "^1.0.0", "autolinker": "^4.0.0", "axios": "^1.7.7", "commander": "^12.1.0", "dotenv": "^16.4.5", - "eslint": "^9.9.1", + "eslint": "^9.10.0", "eslint-config-plus": "^2.0.2", "eslint-plugin-html": "^8.1.1", - "eslint-plugin-vue": "^9.27.0", + "eslint-plugin-vue": "^9.28.0", "file-saver": "^2.0.5", "find-up": "^7.0.0", "github-markdown-css": "^5.6.1", "glob": "^11.0.0", - "marked": "^14.1.0", - "mermaid": "^11.0.2", + "marked": "^14.1.2", + "mermaid": "^11.2.0", "mitt": "^3.0.1", "monocart-code-viewer": "^1.1.4", "monocart-formatter": "^3.0.0", @@ -77,7 +77,7 @@ "sanitize-filename": "^1.6.3", "stack-utils": "^2.0.6", "stylelint": "^16.9.0", - "stylelint-config-plus": "^1.1.2", + "stylelint-config-plus": "^1.1.3", "supports-color": "^9.4.0", "turbogrid": "^3.2.0", "vine-ui": "^3.1.16",