playwright-slack-report-burak 3.1.1 → 3.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.
@@ -388,14 +388,11 @@ class ResultsParser {
388
388
  const playwrightReportDir = path.join('./', 'playwright-report');
389
389
  if (fs.existsSync(playwrightReportDir)) {
390
390
  this.copyDirectoryRecursive(playwrightReportDir, SUMMARIES_DIR);
391
- console.log(`Copied entire contents of playwright-report to ${SUMMARIES_DIR}`);
392
391
  } else {
393
392
  console.warn('Warning: playwright-report directory not found');
394
393
  }
395
394
 
396
395
  while (!this.allNodeSummaryFilesExist() || !this.allBlobZipsExist()) {
397
- console.log('Checking if all node summary files exist...');
398
- console.log('Waiting for all blob zips to exist...');
399
396
  if (!fs.existsSync(SUMMARIES_DIR)) {
400
397
  fs.mkdirSync(SUMMARIES_DIR, { recursive: true });
401
398
  }
@@ -492,7 +489,6 @@ class ResultsParser {
492
489
  try {
493
490
  const destFile = path.join(PLAYWRIGHT_REPORT_DIR, `blob-report-node-${i}.zip`);
494
491
  fs.copyFileSync(blobZipFile, destFile);
495
- console.log(`Copied blob-report-node-${i}.zip to playwright-report for merging`);
496
492
  } catch (error) {
497
493
  console.warn(`Failed to copy blob-report-node-${i}.zip for merging:`, error.message);
498
494
  }
@@ -561,7 +557,6 @@ class ResultsParser {
561
557
  try {
562
558
  const zip = new AdmZip(blobZipFile);
563
559
  zip.extractAllTo(extractDir, true);
564
- console.log(`Extracted blob-report-node-${i}.zip to ${extractDir}`);
565
560
 
566
561
  // Check if this folder contains a "resources" folder with zip files
567
562
  const resourcesDir = path.join(extractDir, 'resources');
@@ -581,7 +576,6 @@ class ResultsParser {
581
576
  const sourceFile = path.join(resourcesDir, zipFile);
582
577
  const destFile = path.join(finalResourcesDir, zipFile);
583
578
  fs.copyFileSync(sourceFile, destFile);
584
- console.log(`Copied ${zipFile} to finalOutput/resources`);
585
579
  }
586
580
  }
587
581
  }
@@ -667,8 +661,6 @@ class ResultsParser {
667
661
  'Content-Type': this.getContentType(file)
668
662
  }
669
663
  });
670
-
671
- console.log(`Uploaded ${objectPath} to GCS`);
672
664
  }
673
665
 
674
666
  console.log(`Successfully uploaded ${files.length} files to GCS bucket: ${GCS_BUCKET_NAME} in folder: ${getRunFolder()}`);
package/package.json CHANGED
@@ -33,7 +33,7 @@
33
33
  "lint-fix": "npx eslint . --ext .ts --fix"
34
34
  },
35
35
  "name": "playwright-slack-report-burak",
36
- "version": "3.1.1",
36
+ "version": "3.1.2",
37
37
  "main": "index.js",
38
38
  "types": "dist/index.d.ts",
39
39
  "author": "Burak B. <burak.boluk@hotmail.com>",