@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.
- package/dist/api-fixture.cjs +7 -7
- package/dist/api-fixture.cjs.map +1 -1
- package/dist/api-fixture.d.cts +4 -1
- package/dist/api-fixture.d.ts +4 -1
- package/dist/api-fixture.js +7 -7
- package/dist/api-fixture.js.map +1 -1
- package/dist/cli.cjs +21 -16
- package/dist/fixture-marker-Buz_DCfv.d.cts +34 -0
- package/dist/fixture-marker-Buz_DCfv.d.ts +34 -0
- package/dist/fixture.cjs +6 -6
- package/dist/fixture.cjs.map +1 -1
- package/dist/fixture.d.cts +6 -1
- package/dist/fixture.d.ts +6 -1
- package/dist/fixture.js +6 -6
- package/dist/fixture.js.map +1 -1
- package/dist/index.cjs +117 -117
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +117 -117
- package/dist/index.js.map +1 -1
- package/dist/reporter-entry.cjs +108 -108
- package/dist/reporter-entry.cjs.map +1 -1
- package/dist/reporter-entry.d.cts +10 -0
- package/dist/reporter-entry.d.ts +10 -0
- package/dist/reporter-entry.js +108 -108
- package/dist/reporter-entry.js.map +1 -1
- package/dist/visual.cjs.map +1 -1
- package/dist/visual.js.map +1 -1
- package/package.json +3 -3
|
@@ -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
|
/**
|
package/dist/reporter-entry.d.ts
CHANGED
|
@@ -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
|
/**
|