@piwitests/reporter 0.47.0 → 0.49.0
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/cli/index.js +1 -1
- package/dist/global-setup-module.js +1 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +597 -215
- package/dist/internal/capture/capture-fixtures.js +446 -101
- package/dist/internal/capture/inspect-on-failure.d.ts +3 -1
- package/dist/internal/capture/inspect-on-failure.js +2 -0
- package/dist/internal/capture/pick-on-failure.d.ts +15 -7
- package/dist/internal/capture/pick-on-failure.js +36 -30
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -490,7 +490,7 @@ var DEFAULTS = {
|
|
|
490
490
|
defaultCapture: true,
|
|
491
491
|
checkBaseUrl: false,
|
|
492
492
|
streaming: true,
|
|
493
|
-
streamingBatchSize:
|
|
493
|
+
streamingBatchSize: 20,
|
|
494
494
|
streamingBatchDelay: 2e3,
|
|
495
495
|
maxStreamBufferBytes: 100 * 1024 * 1024,
|
|
496
496
|
submitTimeout: 15 * 60 * 1e3,
|
package/dist/index.d.ts
CHANGED
|
@@ -205,7 +205,11 @@ interface PiwiDashboardOptions {
|
|
|
205
205
|
pickLocatorOnFailure?: boolean;
|
|
206
206
|
/** Enable live streaming of results (falls back to batch if unsupported). Defaults to `true`. */
|
|
207
207
|
streaming?: boolean;
|
|
208
|
-
/**
|
|
208
|
+
/**
|
|
209
|
+
* Number of queued events that triggers a send during streaming: test starts
|
|
210
|
+
* and results, and live steps while someone has the run open on the
|
|
211
|
+
* dashboard. Defaults to `20`.
|
|
212
|
+
*/
|
|
209
213
|
streamingBatchSize?: number;
|
|
210
214
|
/** Max delay (ms) before flushing pending events during streaming. Defaults to `2000`. */
|
|
211
215
|
streamingBatchDelay?: number;
|