@testrelic/playwright-analytics 2.3.15 → 2.3.16
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 +74 -73
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -2
- package/dist/index.d.ts +13 -2
- package/dist/index.js +74 -73
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -87,6 +87,7 @@ declare class TestRelicReporter {
|
|
|
87
87
|
private cloudClient;
|
|
88
88
|
private cloudRunId;
|
|
89
89
|
private runTimestamp;
|
|
90
|
+
private pendingArtifactEntries;
|
|
90
91
|
private activeReportMode;
|
|
91
92
|
private streamingWriter;
|
|
92
93
|
private testIndex;
|
|
@@ -96,6 +97,12 @@ declare class TestRelicReporter {
|
|
|
96
97
|
onTestBegin(test: PwTestCase, _result: PwTestResult): void;
|
|
97
98
|
onTestEnd(test: PwTestCase, result: PwTestResult): void;
|
|
98
99
|
onEnd(_result: PwFullResult): Promise<void>;
|
|
100
|
+
/**
|
|
101
|
+
* Collect artifact entries from all collected tests for cloud upload.
|
|
102
|
+
* In streaming mode, uses the separately accumulated pendingArtifactEntries
|
|
103
|
+
* since collectedTests artifacts are nulled after writing to disk.
|
|
104
|
+
*/
|
|
105
|
+
private collectArtifactEntries;
|
|
99
106
|
private finalizeStreamingReport;
|
|
100
107
|
/** Build a lightweight TestRunReport from streaming data (for HTML generation and cloud). */
|
|
101
108
|
private buildStreamingReport;
|
|
@@ -106,8 +113,12 @@ declare class TestRelicReporter {
|
|
|
106
113
|
private switchToStreamingMode;
|
|
107
114
|
private buildTimeline;
|
|
108
115
|
private toTestResult;
|
|
109
|
-
/**
|
|
110
|
-
|
|
116
|
+
/**
|
|
117
|
+
* Build a full payload for cloud upload that includes console logs,
|
|
118
|
+
* network requests, navigations, and actions read from JSONL files.
|
|
119
|
+
* Called before streaming writer moves files and before fields are nulled.
|
|
120
|
+
*/
|
|
121
|
+
private buildCloudTestPayload;
|
|
111
122
|
private writeReport;
|
|
112
123
|
}
|
|
113
124
|
|
package/dist/index.d.ts
CHANGED
|
@@ -87,6 +87,7 @@ declare class TestRelicReporter {
|
|
|
87
87
|
private cloudClient;
|
|
88
88
|
private cloudRunId;
|
|
89
89
|
private runTimestamp;
|
|
90
|
+
private pendingArtifactEntries;
|
|
90
91
|
private activeReportMode;
|
|
91
92
|
private streamingWriter;
|
|
92
93
|
private testIndex;
|
|
@@ -96,6 +97,12 @@ declare class TestRelicReporter {
|
|
|
96
97
|
onTestBegin(test: PwTestCase, _result: PwTestResult): void;
|
|
97
98
|
onTestEnd(test: PwTestCase, result: PwTestResult): void;
|
|
98
99
|
onEnd(_result: PwFullResult): Promise<void>;
|
|
100
|
+
/**
|
|
101
|
+
* Collect artifact entries from all collected tests for cloud upload.
|
|
102
|
+
* In streaming mode, uses the separately accumulated pendingArtifactEntries
|
|
103
|
+
* since collectedTests artifacts are nulled after writing to disk.
|
|
104
|
+
*/
|
|
105
|
+
private collectArtifactEntries;
|
|
99
106
|
private finalizeStreamingReport;
|
|
100
107
|
/** Build a lightweight TestRunReport from streaming data (for HTML generation and cloud). */
|
|
101
108
|
private buildStreamingReport;
|
|
@@ -106,8 +113,12 @@ declare class TestRelicReporter {
|
|
|
106
113
|
private switchToStreamingMode;
|
|
107
114
|
private buildTimeline;
|
|
108
115
|
private toTestResult;
|
|
109
|
-
/**
|
|
110
|
-
|
|
116
|
+
/**
|
|
117
|
+
* Build a full payload for cloud upload that includes console logs,
|
|
118
|
+
* network requests, navigations, and actions read from JSONL files.
|
|
119
|
+
* Called before streaming writer moves files and before fields are nulled.
|
|
120
|
+
*/
|
|
121
|
+
private buildCloudTestPayload;
|
|
111
122
|
private writeReport;
|
|
112
123
|
}
|
|
113
124
|
|