playwright-slack-report-burak 2.0.10 → 2.0.11
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.
|
@@ -106,6 +106,8 @@ class ResultsParser {
|
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
+
console.log('Contents of playwright-report for node', this.shardIndex, ':', fs.readdirSync(summariesDir));
|
|
110
|
+
|
|
109
111
|
if (this.allNodeSummaryFilesExist() && this.allBlobZipsExist()) {
|
|
110
112
|
// Merge all node summaries into the final summary
|
|
111
113
|
for (let i = 0; i < this.totalShardCount; i++) {
|
|
@@ -341,7 +343,7 @@ class ResultsParser {
|
|
|
341
343
|
mergeReports() {
|
|
342
344
|
try {
|
|
343
345
|
// Execute the command to merge reports
|
|
344
|
-
exec('npx playwright merge-reports --reporter html playwright-report', { stdio: 'inherit' });
|
|
346
|
+
exec('npx playwright merge-reports --reporter html ./playwright-report', { stdio: 'inherit' });
|
|
345
347
|
console.log('Reports merged successfully.');
|
|
346
348
|
} catch (error) {
|
|
347
349
|
// Log a warning instead of throwing an error
|
package/package.json
CHANGED
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"lint-fix": "npx eslint . --ext .ts --fix"
|
|
31
31
|
},
|
|
32
32
|
"name": "playwright-slack-report-burak",
|
|
33
|
-
"version": "2.0.
|
|
33
|
+
"version": "2.0.11",
|
|
34
34
|
"main": "index.js",
|
|
35
35
|
"types": "dist/index.d.ts",
|
|
36
36
|
"repository": "git@github.com:ryanrosello-og/playwright-slack-report.git",
|