From aa0c90a5f2dafe673e6e96525411d656268a4660 Mon Sep 17 00:00:00 2001 From: LiZhenhai-MBP14 <5935568+jackhai9@users.noreply.github.com> Date: Thu, 27 Aug 2026 02:38:49 +0800 Subject: [PATCH] test: refresh live no-order baseline --- docs/binance-orderbook-trade-ui-automation.md | 4 +- .../no-orders-2026-08-27.capture.json | 80 +++++++++++++++++++ .../live-baselines/no-orders.baseline.json | 30 +++---- 3 files changed, 97 insertions(+), 17 deletions(-) create mode 100644 e2e/binance-orderbook/live-baselines/no-orders-2026-08-27.capture.json diff --git a/docs/binance-orderbook-trade-ui-automation.md b/docs/binance-orderbook-trade-ui-automation.md index 2cd0e05..cd18639 100644 --- a/docs/binance-orderbook-trade-ui-automation.md +++ b/docs/binance-orderbook-trade-ui-automation.md @@ -241,9 +241,9 @@ and exposes overflow counts for every bounded stream. A capture is invalid when browser does not support Long Task or Long Animation Frame evidence, any stream overflows, or any uncaught error is observed. -The first checked-in L4 reference is the zero-order HYPEUSDT run: +The current checked-in L4 reference is the isolated zero-order HYPEUSDT run: -- `e2e/binance-orderbook/live-baselines/no-orders-2026-08-26.capture.json` +- `e2e/binance-orderbook/live-baselines/no-orders-2026-08-27.capture.json` - `e2e/binance-orderbook/live-baselines/no-orders.baseline.json` Each scenario declares its applicable wall-clock segments and contains at least three diff --git a/e2e/binance-orderbook/live-baselines/no-orders-2026-08-27.capture.json b/e2e/binance-orderbook/live-baselines/no-orders-2026-08-27.capture.json new file mode 100644 index 0000000..7877304 --- /dev/null +++ b/e2e/binance-orderbook/live-baselines/no-orders-2026-08-27.capture.json @@ -0,0 +1,80 @@ +{ + "schemaVersion": 1, + "capturedAt": "2026-08-26T18:34:58.000Z", + "environment": { + "browser": "Chrome 151.0.0.0", + "os": "macOS (MacIntel)", + "route": "https://www.binance.com/zh-CN/futures/HYPEUSDT", + "symbol": "HYPEUSDT", + "userscriptSha256": "f4bb60af07044e21f684d1978535795363ade1c240dde0de6b904767cfa87a18", + "userscriptVersion": "2.7.126" + }, + "scenarios": [ + { + "name": "cancel-current-symbol-no-orders", + "parameters": { + "kind": "no-orders" + }, + "applicableSegments": [ + "clickToFirstFeedback", + "clickToFinalReady" + ], + "samples": [ + { + "capacityEvidence": null, + "segmentsMs": { + "clickToFirstFeedback": 11.7, + "clickToFinalReady": 106.9 + }, + "testOrderLedger": { + "created": [], + "fills": [], + "residual": [] + }, + "stateRestored": true, + "noFills": true, + "residualTestOrders": 0, + "uncaughtErrors": 0, + "maxLongTaskMs": 0, + "maxLongAnimationFrameMs": 59.8 + }, + { + "capacityEvidence": null, + "segmentsMs": { + "clickToFirstFeedback": 3.4, + "clickToFinalReady": 91.8 + }, + "testOrderLedger": { + "created": [], + "fills": [], + "residual": [] + }, + "stateRestored": true, + "noFills": true, + "residualTestOrders": 0, + "uncaughtErrors": 0, + "maxLongTaskMs": 0, + "maxLongAnimationFrameMs": 0 + }, + { + "capacityEvidence": null, + "segmentsMs": { + "clickToFirstFeedback": 3.6, + "clickToFinalReady": 95.3 + }, + "testOrderLedger": { + "created": [], + "fills": [], + "residual": [] + }, + "stateRestored": true, + "noFills": true, + "residualTestOrders": 0, + "uncaughtErrors": 0, + "maxLongTaskMs": 0, + "maxLongAnimationFrameMs": 0 + } + ] + } + ] +} diff --git a/e2e/binance-orderbook/live-baselines/no-orders.baseline.json b/e2e/binance-orderbook/live-baselines/no-orders.baseline.json index a65c414..6067ab2 100644 --- a/e2e/binance-orderbook/live-baselines/no-orders.baseline.json +++ b/e2e/binance-orderbook/live-baselines/no-orders.baseline.json @@ -1,13 +1,13 @@ { "schemaVersion": 1, - "capturedAt": "2026-08-26T08:30:11.000Z", + "capturedAt": "2026-08-26T18:34:58.000Z", "environment": { "browser": "Chrome 151.0.0.0", "os": "macOS (MacIntel)", "route": "https://www.binance.com/zh-CN/futures/HYPEUSDT", "symbol": "HYPEUSDT", - "userscriptSha256": "cc4135902ad4ad62eb6188828479780a8e194713be8067dc10c8c73428c5dcdb", - "userscriptVersion": "2.7.119" + "userscriptSha256": "f4bb60af07044e21f684d1978535795363ade1c240dde0de6b904767cfa87a18", + "userscriptVersion": "2.7.126" }, "scenarios": [ { @@ -18,29 +18,29 @@ "sampleCount": 3, "segmentsMs": { "clickToFirstFeedback": { - "min": 30.6, - "median": 33, - "p95": 38.3, - "max": 38.3 + "min": 3.4, + "median": 3.6, + "p95": 11.7, + "max": 11.7 }, "clickToFinalReady": { - "min": 630.8, - "median": 637.1, - "p95": 646.7, - "max": 646.7 + "min": 91.8, + "median": 95.3, + "p95": 106.9, + "max": 106.9 } }, "maxLongTaskMs": { "min": 0, "median": 0, - "p95": 54, - "max": 54 + "p95": 0, + "max": 0 }, "maxLongAnimationFrameMs": { "min": 0, "median": 0, - "p95": 56.1, - "max": 56.1 + "p95": 59.8, + "max": 59.8 } } ],