@testrelic/playwright-analytics 2.16.4-next.191 → 2.16.4-next.230

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.
@@ -101,6 +101,8 @@ declare class TestRelicReporter {
101
101
  private testRunId;
102
102
  private collectedTests;
103
103
  private fixtureDataReceived;
104
+ /** Which tests carried fixture data, for the one run-level notice in onEnd (TEAI-260). */
105
+ private fixtureCoverage;
104
106
  /** True once any test produced navigation data this run (pre-toggle-drop). */
105
107
  private navigationsCaptured;
106
108
  /** Set once the memory-pressure warning has fired, so it prints at most once per run. */
@@ -129,6 +131,8 @@ declare class TestRelicReporter {
129
131
  private detectedOs;
130
132
  private detectedSource;
131
133
  private cloudTestsBuffer;
134
+ /** Run-level test type for the realtime finalize, tallied per attempt. */
135
+ private runTestTypes;
132
136
  private activeReportMode;
133
137
  private streamingWriter;
134
138
  private testIndex;
@@ -143,6 +147,12 @@ declare class TestRelicReporter {
143
147
  onTestBegin(test: PwTestCase, _result: PwTestResult): void;
144
148
  onTestEnd(test: PwTestCase, result: PwTestResult): void;
145
149
  onEnd(_result: PwFullResult): Promise<void>;
150
+ /**
151
+ * Hand the batch buffer to the upload and empty it. Streaming-mode entries
152
+ * are read back from the report directory here, so their arrays are in
153
+ * memory only while the batch payload is built.
154
+ */
155
+ private drainCloudTestsBuffer;
146
156
  /** Best-effort, bounded cloud-client teardown. Never throws, always settles. */
147
157
  private disposeCloudClient;
148
158
  /**
@@ -101,6 +101,8 @@ declare class TestRelicReporter {
101
101
  private testRunId;
102
102
  private collectedTests;
103
103
  private fixtureDataReceived;
104
+ /** Which tests carried fixture data, for the one run-level notice in onEnd (TEAI-260). */
105
+ private fixtureCoverage;
104
106
  /** True once any test produced navigation data this run (pre-toggle-drop). */
105
107
  private navigationsCaptured;
106
108
  /** Set once the memory-pressure warning has fired, so it prints at most once per run. */
@@ -129,6 +131,8 @@ declare class TestRelicReporter {
129
131
  private detectedOs;
130
132
  private detectedSource;
131
133
  private cloudTestsBuffer;
134
+ /** Run-level test type for the realtime finalize, tallied per attempt. */
135
+ private runTestTypes;
132
136
  private activeReportMode;
133
137
  private streamingWriter;
134
138
  private testIndex;
@@ -143,6 +147,12 @@ declare class TestRelicReporter {
143
147
  onTestBegin(test: PwTestCase, _result: PwTestResult): void;
144
148
  onTestEnd(test: PwTestCase, result: PwTestResult): void;
145
149
  onEnd(_result: PwFullResult): Promise<void>;
150
+ /**
151
+ * Hand the batch buffer to the upload and empty it. Streaming-mode entries
152
+ * are read back from the report directory here, so their arrays are in
153
+ * memory only while the batch payload is built.
154
+ */
155
+ private drainCloudTestsBuffer;
146
156
  /** Best-effort, bounded cloud-client teardown. Never throws, always settles. */
147
157
  private disposeCloudClient;
148
158
  /**