@testrelic/playwright-analytics 2.10.0 → 2.11.1-next.75
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.
- package/dist/index.cjs +87 -79
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +87 -79
- package/dist/index.js.map +1 -1
- package/dist/reporter-entry.cjs +86 -78
- package/dist/reporter-entry.cjs.map +1 -1
- package/dist/reporter-entry.d.cts +5 -0
- package/dist/reporter-entry.d.ts +5 -0
- package/dist/reporter-entry.js +86 -78
- package/dist/reporter-entry.js.map +1 -1
- package/package.json +2 -2
|
@@ -108,6 +108,11 @@ declare class TestRelicReporter {
|
|
|
108
108
|
private streamingWriter;
|
|
109
109
|
private testIndex;
|
|
110
110
|
private summaryCounters;
|
|
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;
|
|
111
116
|
constructor(options?: Partial<ReporterConfig>);
|
|
112
117
|
onBegin(config: PwFullConfig, _suite: PwSuite): Promise<void>;
|
|
113
118
|
onTestBegin(test: PwTestCase, _result: PwTestResult): void;
|
package/dist/reporter-entry.d.ts
CHANGED
|
@@ -108,6 +108,11 @@ declare class TestRelicReporter {
|
|
|
108
108
|
private streamingWriter;
|
|
109
109
|
private testIndex;
|
|
110
110
|
private summaryCounters;
|
|
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;
|
|
111
116
|
constructor(options?: Partial<ReporterConfig>);
|
|
112
117
|
onBegin(config: PwFullConfig, _suite: PwSuite): Promise<void>;
|
|
113
118
|
onTestBegin(test: PwTestCase, _result: PwTestResult): void;
|