@testrelic/playwright-analytics 2.11.0 → 2.11.1-next.77

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.
@@ -108,7 +108,11 @@ declare class TestRelicReporter {
108
108
  private streamingWriter;
109
109
  private testIndex;
110
110
  private summaryCounters;
111
- private streamingAgg;
111
+ private streamingTestAgg;
112
+ /** Record a test attempt's aggregate contribution, keeping only the highest retry
113
+ * per test so retries don't inflate the run-level stats (robust to out-of-order
114
+ * attempt delivery: a later, lower retry never displaces a stored higher one). */
115
+ private upsertAggContribution;
112
116
  constructor(options?: Partial<ReporterConfig>);
113
117
  onBegin(config: PwFullConfig, _suite: PwSuite): Promise<void>;
114
118
  onTestBegin(test: PwTestCase, _result: PwTestResult): void;
@@ -108,7 +108,11 @@ declare class TestRelicReporter {
108
108
  private streamingWriter;
109
109
  private testIndex;
110
110
  private summaryCounters;
111
- private streamingAgg;
111
+ private streamingTestAgg;
112
+ /** Record a test attempt's aggregate contribution, keeping only the highest retry
113
+ * per test so retries don't inflate the run-level stats (robust to out-of-order
114
+ * attempt delivery: a later, lower retry never displaces a stored higher one). */
115
+ private upsertAggContribution;
112
116
  constructor(options?: Partial<ReporterConfig>);
113
117
  onBegin(config: PwFullConfig, _suite: PwSuite): Promise<void>;
114
118
  onTestBegin(test: PwTestCase, _result: PwTestResult): void;