@arghajit/dummy 0.1.2-beta-5 → 0.1.2-beta-6

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.
@@ -441,10 +441,10 @@ class PlaywrightPulseReporter {
441
441
  }
442
442
  return value;
443
443
  };
444
- const properlyTypedResults = JSON.parse(JSON.stringify(finalResultsList), reviveDates);
444
+ const properlyTypedResults = JSON.parse(JSON.stringify(allShardRawResults), reviveDates);
445
445
  return {
446
446
  run: finalRunData,
447
- results: properlyTypedResults,
447
+ results: properlyTypedResults, // Fixed: Include ALL retry attempts
448
448
  metadata: { generatedAt: new Date().toISOString() },
449
449
  };
450
450
  }
@@ -606,7 +606,7 @@ class PlaywrightPulseReporter {
606
606
  }
607
607
  }
608
608
  const finalMergedResults = this._getFinalizedResults(allResultsFromAllFiles);
609
- for (const res of finalMergedResults) {
609
+ for (const res of allResultsFromAllFiles) {
610
610
  if (res.startTime.getTime() < earliestStartTime)
611
611
  earliestStartTime = res.startTime.getTime();
612
612
  if (res.endTime.getTime() > latestEndTime)
@@ -626,7 +626,7 @@ class PlaywrightPulseReporter {
626
626
  };
627
627
  const finalReport = {
628
628
  run: combinedRun,
629
- results: finalMergedResults,
629
+ results: allResultsFromAllFiles, // Fixed: Include ALL retry attempts
630
630
  metadata: {
631
631
  generatedAt: new Date().toISOString(),
632
632
  },
@@ -638,7 +638,7 @@ class PlaywrightPulseReporter {
638
638
  return value;
639
639
  }, 2));
640
640
  if (this.printsToStdio()) {
641
- console.log(`PlaywrightPulseReporter: ✅ Merged report with ${finalMergedResults.length} total results saved to ${finalOutputPath}`);
641
+ console.log(`PlaywrightPulseReporter: ✅ Merged report with ${allResultsFromAllFiles.length} total retry attempts (${finalMergedResults.length} unique tests) saved to ${finalOutputPath}`);
642
642
  }
643
643
  }
644
644
  catch (err) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arghajit/dummy",
3
- "version": "0.1.2-beta-5",
3
+ "version": "0.1.2-beta-6",
4
4
  "description": "A Playwright reporter and dashboard for visualizing test results.",
5
5
  "homepage": "https://playwright-pulse-report.netlify.app/",
6
6
  "keywords": [