diff --git a/docs/ui-consistency/evidence/ot11-tails/README.md b/docs/ui-consistency/evidence/ot11-tails/README.md new file mode 100644 index 000000000..e2dc82f22 --- /dev/null +++ b/docs/ui-consistency/evidence/ot11-tails/README.md @@ -0,0 +1,17 @@ +# OT11 live-tail display pause + +Source freeze: ScriptLog, Alerts and LiveTailPageTests. Fleet/Hosts refresh retention is a separate accepted root slice (7c888d1d; docs/ui-consistency/ot11-refresh). Together these cover OT11; full combined suite/native release gate remains OT14. + +Pause freezes the displayed immutable snapshot while the existing ring/scheduler continues bounded collection. Resume reads the latest retained window. Script capacity remains500; alerts remains200. No producer/event/model/operation endpoint, logging durability or coalescing interval changes. Filtering while paused operates only on the frozen snapshot. Clear visible log clears queued, retained and displayed state, preserves Pause and does not delete historian data. The display is explicitly a page-open window. Connection/pause text alone is polite live status; retained counts and row payloads are outside the live region. Pause is a native keyboard button with aria-pressed. + +## Actual checks + +- red.log: 3 actual behavioral failures (missing pause/status controls) before implementation. concurrent-compile-block.log records a separate shared-project test helper compile issue fixed by its owner before the valid red. +- tests.log/tests.trx: 11 passed,0 skipped (4 new page cases +7 existing buffer/scheduler tests). Exercises stable frozen rows through >capacity bursts, newest-first bounded Resume, pause-preserving Clear and post-clear arrivals, log filtering against frozen rather than incoming rows, disconnect while paused and payload exclusion from live status. Existing scheduler tests retain burst coalescing/disposal and buffer pending/retained eviction assertions. +- From repository root: `python3 infra/tools/ui-consistency/with_private_sql.py --state -- dotnet test tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.csproj -c Release --no-restore --filter "FullyQualifiedName~LiveTailPageTests|FullyQualifiedName~LiveTailTests" --logger "trx;LogFileName=live-tail.trx" --results-directory /tmp/ot11-tail-results`. +- fixture-build.log: zero warnings/errors. An initial attempt used a new artifacts directory without restore (missing assets, retained); the final build reused the already restored isolated canary artifacts. A fixture-only Razor callback quoting compile error was corrected before browser execution; no production compile error or behavior change resulted. +- matrix.json/native.log: first complete native matrix8/8 passes (log/alerts ×1440/390,100%/real200%720/195DPR2). Native keyboard Pause/Resume, same actual frozen DOM row through600/250 fabricated events, capacity500/200, live-status payload exclusion, disconnect preserving pause, latest-row Resume, Clear while paused and subsequent isolated retained event, no document overflow/page errors. Synthetic fixture only publishes fabricated in-process display events; no alert commands or real feeds are invoked. Browser host static assets are actual approved consumer packages. + +## Boundaries + +Existing Ack/Shelve/Unshelve callbacks, authorization checks, username/UTC/interval semantics and disposal subscription/timer paths are unchanged. Alarm controls/long diagnostics still belong to the remaining OT13 field/inline-operation inventory; this batch does not claim their completion. This is not historian retention, backend replay, reconnection recovery or whole-fleet throughput certification. Paused snapshot adds at most one extra capacity-bounded array of references; the retained/pending ring limits are unchanged. No deployment or production connection occurred. Roll back this source commit for a presentation regression; published packages/data remain unchanged. diff --git a/docs/ui-consistency/evidence/ot11-tails/alerts-paused-1440-zoom1.png b/docs/ui-consistency/evidence/ot11-tails/alerts-paused-1440-zoom1.png new file mode 100644 index 000000000..e6105245a Binary files /dev/null and b/docs/ui-consistency/evidence/ot11-tails/alerts-paused-1440-zoom1.png differ diff --git a/docs/ui-consistency/evidence/ot11-tails/alerts-paused-1440-zoom2.png b/docs/ui-consistency/evidence/ot11-tails/alerts-paused-1440-zoom2.png new file mode 100644 index 000000000..8217c87a2 Binary files /dev/null and b/docs/ui-consistency/evidence/ot11-tails/alerts-paused-1440-zoom2.png differ diff --git a/docs/ui-consistency/evidence/ot11-tails/alerts-paused-390-zoom1.png b/docs/ui-consistency/evidence/ot11-tails/alerts-paused-390-zoom1.png new file mode 100644 index 000000000..401bbb5ae Binary files /dev/null and b/docs/ui-consistency/evidence/ot11-tails/alerts-paused-390-zoom1.png differ diff --git a/docs/ui-consistency/evidence/ot11-tails/alerts-paused-390-zoom2.png b/docs/ui-consistency/evidence/ot11-tails/alerts-paused-390-zoom2.png new file mode 100644 index 000000000..2fa1c0310 Binary files /dev/null and b/docs/ui-consistency/evidence/ot11-tails/alerts-paused-390-zoom2.png differ diff --git a/docs/ui-consistency/evidence/ot11-tails/alerts-resumed-1440-zoom1.png b/docs/ui-consistency/evidence/ot11-tails/alerts-resumed-1440-zoom1.png new file mode 100644 index 000000000..f3bd21ad3 Binary files /dev/null and b/docs/ui-consistency/evidence/ot11-tails/alerts-resumed-1440-zoom1.png differ diff --git a/docs/ui-consistency/evidence/ot11-tails/alerts-resumed-1440-zoom2.png b/docs/ui-consistency/evidence/ot11-tails/alerts-resumed-1440-zoom2.png new file mode 100644 index 000000000..186f76f30 Binary files /dev/null and b/docs/ui-consistency/evidence/ot11-tails/alerts-resumed-1440-zoom2.png differ diff --git a/docs/ui-consistency/evidence/ot11-tails/alerts-resumed-390-zoom1.png b/docs/ui-consistency/evidence/ot11-tails/alerts-resumed-390-zoom1.png new file mode 100644 index 000000000..63faf6923 Binary files /dev/null and b/docs/ui-consistency/evidence/ot11-tails/alerts-resumed-390-zoom1.png differ diff --git a/docs/ui-consistency/evidence/ot11-tails/alerts-resumed-390-zoom2.png b/docs/ui-consistency/evidence/ot11-tails/alerts-resumed-390-zoom2.png new file mode 100644 index 000000000..e2a82b2d4 Binary files /dev/null and b/docs/ui-consistency/evidence/ot11-tails/alerts-resumed-390-zoom2.png differ diff --git a/docs/ui-consistency/evidence/ot11-tails/concurrent-compile-block.log b/docs/ui-consistency/evidence/ot11-tails/concurrent-compile-block.log new file mode 100644 index 000000000..119c582eb --- /dev/null +++ b/docs/ui-consistency/evidence/ot11-tails/concurrent-compile-block.log @@ -0,0 +1,48 @@ + + ZB.MOM.WW.OtOpcUa.Analyzers -> /Users/dohertj2/Desktop/OtOpcUa/src/Tooling/ZB.MOM.WW.OtOpcUa.Analyzers/bin/Release/netstandard2.0/ZB.MOM.WW.OtOpcUa.Analyzers.dll + ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll + ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Abstractions/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.dll + ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll + ZB.MOM.WW.OtOpcUa.Commons -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Commons/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Commons.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll + ZB.MOM.WW.OtOpcUa.Cluster -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Cluster/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Cluster.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll + ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll + ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll + ZB.MOM.WW.OtOpcUa.Configuration -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Configuration/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Configuration.dll + ZB.MOM.WW.OtOpcUa.Security -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Security/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Security.dll + ZB.MOM.WW.OtOpcUa.Core -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll + ZB.MOM.WW.OtOpcUa.ControlPlane -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.ControlPlane/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.ControlPlane.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll + ZB.MOM.WW.OtOpcUa.OpcUaServer -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll + ZB.MOM.WW.OtOpcUa.Runtime -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Runtime.dll + ZB.MOM.WW.OtOpcUa.AdminUI -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.dll +/Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/RawWorkflowModalAccessibilityTests.cs(50,23): error CS1061: 'IRenderedComponent' does not contain a definition for 'RenderAsync' and no accessible extension method 'RenderAsync' accepting a first argument of type 'IRenderedComponent' could be found (are you missing a using directive or an assembly reference?) [/Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.csproj] diff --git a/docs/ui-consistency/evidence/ot11-tails/fixture-build.log b/docs/ui-consistency/evidence/ot11-tails/fixture-build.log new file mode 100644 index 000000000..bff0f9376 --- /dev/null +++ b/docs/ui-consistency/evidence/ot11-tails/fixture-build.log @@ -0,0 +1,44 @@ + ZB.MOM.WW.OtOpcUa.Analyzers -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Analyzers/debug/ZB.MOM.WW.OtOpcUa.Analyzers.dll + ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/debug/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll + ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/debug/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Commons -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Commons/debug/ZB.MOM.WW.OtOpcUa.Commons.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll + ZB.MOM.WW.OtOpcUa.Cluster -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Cluster/debug/ZB.MOM.WW.OtOpcUa.Cluster.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll + ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/debug/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll + ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/debug/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll + ZB.MOM.WW.OtOpcUa.Configuration -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Configuration/debug/ZB.MOM.WW.OtOpcUa.Configuration.dll + ZB.MOM.WW.OtOpcUa.Core -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core/debug/ZB.MOM.WW.OtOpcUa.Core.dll + ZB.MOM.WW.OtOpcUa.Security -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Security/debug/ZB.MOM.WW.OtOpcUa.Security.dll + ZB.MOM.WW.OtOpcUa.ControlPlane -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.ControlPlane/debug/ZB.MOM.WW.OtOpcUa.ControlPlane.dll + ZB.MOM.WW.OtOpcUa.OpcUaServer -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.OpcUaServer/debug/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll + ZB.MOM.WW.OtOpcUa.Runtime -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Runtime/debug/ZB.MOM.WW.OtOpcUa.Runtime.dll + ZB.MOM.WW.OtOpcUa.AdminUI -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.AdminUI/debug/ZB.MOM.WW.OtOpcUa.AdminUI.dll + OtUiCanary -> /tmp/ot-ui-canary-artifacts/bin/OtUiCanary/debug/OtUiCanary.dll + +Build succeeded. + 0 Warning(s) + 0 Error(s) + +Time Elapsed 00:00:11.78 diff --git a/docs/ui-consistency/evidence/ot11-tails/fixture-new-artifacts-missing-assets.log b/docs/ui-consistency/evidence/ot11-tails/fixture-new-artifacts-missing-assets.log new file mode 100644 index 000000000..fe5a986c8 --- /dev/null +++ b/docs/ui-consistency/evidence/ot11-tails/fixture-new-artifacts-missing-assets.log @@ -0,0 +1,9 @@ +/opt/homebrew/Cellar/dotnet/10.0.403/libexec/sdk/10.0.403/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1004: Assets file '/tmp/ot-ui-tail-canary-artifacts/obj/OtUiCanary/project.assets.json' not found. Run a NuGet package restore to generate this file. [/Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/components/ui-theme/validation/ot-ui/host/OtUiCanary.csproj] + +Build FAILED. + +/opt/homebrew/Cellar/dotnet/10.0.403/libexec/sdk/10.0.403/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1004: Assets file '/tmp/ot-ui-tail-canary-artifacts/obj/OtUiCanary/project.assets.json' not found. Run a NuGet package restore to generate this file. [/Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/components/ui-theme/validation/ot-ui/host/OtUiCanary.csproj] + 0 Warning(s) + 1 Error(s) + +Time Elapsed 00:00:00.38 diff --git a/docs/ui-consistency/evidence/ot11-tails/log-paused-1440-zoom1.png b/docs/ui-consistency/evidence/ot11-tails/log-paused-1440-zoom1.png new file mode 100644 index 000000000..cb35d8117 Binary files /dev/null and b/docs/ui-consistency/evidence/ot11-tails/log-paused-1440-zoom1.png differ diff --git a/docs/ui-consistency/evidence/ot11-tails/log-paused-1440-zoom2.png b/docs/ui-consistency/evidence/ot11-tails/log-paused-1440-zoom2.png new file mode 100644 index 000000000..d47632658 Binary files /dev/null and b/docs/ui-consistency/evidence/ot11-tails/log-paused-1440-zoom2.png differ diff --git a/docs/ui-consistency/evidence/ot11-tails/log-paused-390-zoom1.png b/docs/ui-consistency/evidence/ot11-tails/log-paused-390-zoom1.png new file mode 100644 index 000000000..4a0ea4836 Binary files /dev/null and b/docs/ui-consistency/evidence/ot11-tails/log-paused-390-zoom1.png differ diff --git a/docs/ui-consistency/evidence/ot11-tails/log-paused-390-zoom2.png b/docs/ui-consistency/evidence/ot11-tails/log-paused-390-zoom2.png new file mode 100644 index 000000000..bee4d370b Binary files /dev/null and b/docs/ui-consistency/evidence/ot11-tails/log-paused-390-zoom2.png differ diff --git a/docs/ui-consistency/evidence/ot11-tails/log-resumed-1440-zoom1.png b/docs/ui-consistency/evidence/ot11-tails/log-resumed-1440-zoom1.png new file mode 100644 index 000000000..b05049627 Binary files /dev/null and b/docs/ui-consistency/evidence/ot11-tails/log-resumed-1440-zoom1.png differ diff --git a/docs/ui-consistency/evidence/ot11-tails/log-resumed-1440-zoom2.png b/docs/ui-consistency/evidence/ot11-tails/log-resumed-1440-zoom2.png new file mode 100644 index 000000000..6750e24b2 Binary files /dev/null and b/docs/ui-consistency/evidence/ot11-tails/log-resumed-1440-zoom2.png differ diff --git a/docs/ui-consistency/evidence/ot11-tails/log-resumed-390-zoom1.png b/docs/ui-consistency/evidence/ot11-tails/log-resumed-390-zoom1.png new file mode 100644 index 000000000..94ae6d4b7 Binary files /dev/null and b/docs/ui-consistency/evidence/ot11-tails/log-resumed-390-zoom1.png differ diff --git a/docs/ui-consistency/evidence/ot11-tails/log-resumed-390-zoom2.png b/docs/ui-consistency/evidence/ot11-tails/log-resumed-390-zoom2.png new file mode 100644 index 000000000..d9cc80354 Binary files /dev/null and b/docs/ui-consistency/evidence/ot11-tails/log-resumed-390-zoom2.png differ diff --git a/docs/ui-consistency/evidence/ot11-tails/matrix.json b/docs/ui-consistency/evidence/ot11-tails/matrix.json new file mode 100644 index 000000000..f9afee609 --- /dev/null +++ b/docs/ui-consistency/evidence/ot11-tails/matrix.json @@ -0,0 +1,202 @@ +[ + { + "sample": "log", + "viewport": 1440, + "zoom": 1, + "layout": { + "width": 1440, + "document": 1440, + "dpr": 1 + }, + "checks": { + "boundedRetainedWhilePaused": true, + "sameFrozenRow": true, + "frozenPayload": true, + "payloadOutsideLiveRegion": true, + "pauseSurvivesDisconnect": true, + "resumeLatestBounded": true, + "clearRetainsPause": true, + "clearDropsOldWindow": true, + "resumeAfterClear": true, + "noBodyOverflow": true, + "noPageErrors": true + }, + "errors": [], + "passed": true + }, + { + "sample": "log", + "viewport": 390, + "zoom": 1, + "layout": { + "width": 390, + "document": 390, + "dpr": 1 + }, + "checks": { + "boundedRetainedWhilePaused": true, + "sameFrozenRow": true, + "frozenPayload": true, + "payloadOutsideLiveRegion": true, + "pauseSurvivesDisconnect": true, + "resumeLatestBounded": true, + "clearRetainsPause": true, + "clearDropsOldWindow": true, + "resumeAfterClear": true, + "noBodyOverflow": true, + "noPageErrors": true + }, + "errors": [], + "passed": true + }, + { + "sample": "log", + "viewport": 1440, + "zoom": 2, + "layout": { + "width": 720, + "document": 720, + "dpr": 2 + }, + "checks": { + "boundedRetainedWhilePaused": true, + "sameFrozenRow": true, + "frozenPayload": true, + "payloadOutsideLiveRegion": true, + "pauseSurvivesDisconnect": true, + "resumeLatestBounded": true, + "clearRetainsPause": true, + "clearDropsOldWindow": true, + "resumeAfterClear": true, + "noBodyOverflow": true, + "noPageErrors": true + }, + "errors": [], + "passed": true + }, + { + "sample": "log", + "viewport": 390, + "zoom": 2, + "layout": { + "width": 195, + "document": 195, + "dpr": 2 + }, + "checks": { + "boundedRetainedWhilePaused": true, + "sameFrozenRow": true, + "frozenPayload": true, + "payloadOutsideLiveRegion": true, + "pauseSurvivesDisconnect": true, + "resumeLatestBounded": true, + "clearRetainsPause": true, + "clearDropsOldWindow": true, + "resumeAfterClear": true, + "noBodyOverflow": true, + "noPageErrors": true + }, + "errors": [], + "passed": true + }, + { + "sample": "alerts", + "viewport": 1440, + "zoom": 1, + "layout": { + "width": 1440, + "document": 1440, + "dpr": 1 + }, + "checks": { + "boundedRetainedWhilePaused": true, + "sameFrozenRow": true, + "frozenPayload": true, + "payloadOutsideLiveRegion": true, + "pauseSurvivesDisconnect": true, + "resumeLatestBounded": true, + "clearRetainsPause": true, + "clearDropsOldWindow": true, + "resumeAfterClear": true, + "noBodyOverflow": true, + "noPageErrors": true + }, + "errors": [], + "passed": true + }, + { + "sample": "alerts", + "viewport": 390, + "zoom": 1, + "layout": { + "width": 390, + "document": 390, + "dpr": 1 + }, + "checks": { + "boundedRetainedWhilePaused": true, + "sameFrozenRow": true, + "frozenPayload": true, + "payloadOutsideLiveRegion": true, + "pauseSurvivesDisconnect": true, + "resumeLatestBounded": true, + "clearRetainsPause": true, + "clearDropsOldWindow": true, + "resumeAfterClear": true, + "noBodyOverflow": true, + "noPageErrors": true + }, + "errors": [], + "passed": true + }, + { + "sample": "alerts", + "viewport": 1440, + "zoom": 2, + "layout": { + "width": 720, + "document": 720, + "dpr": 2 + }, + "checks": { + "boundedRetainedWhilePaused": true, + "sameFrozenRow": true, + "frozenPayload": true, + "payloadOutsideLiveRegion": true, + "pauseSurvivesDisconnect": true, + "resumeLatestBounded": true, + "clearRetainsPause": true, + "clearDropsOldWindow": true, + "resumeAfterClear": true, + "noBodyOverflow": true, + "noPageErrors": true + }, + "errors": [], + "passed": true + }, + { + "sample": "alerts", + "viewport": 390, + "zoom": 2, + "layout": { + "width": 195, + "document": 195, + "dpr": 2 + }, + "checks": { + "boundedRetainedWhilePaused": true, + "sameFrozenRow": true, + "frozenPayload": true, + "payloadOutsideLiveRegion": true, + "pauseSurvivesDisconnect": true, + "resumeLatestBounded": true, + "clearRetainsPause": true, + "clearDropsOldWindow": true, + "resumeAfterClear": true, + "noBodyOverflow": true, + "noPageErrors": true + }, + "errors": [], + "passed": true + } +] diff --git a/docs/ui-consistency/evidence/ot11-tails/native.log b/docs/ui-consistency/evidence/ot11-tails/native.log new file mode 100644 index 000000000..82f051d97 --- /dev/null +++ b/docs/ui-consistency/evidence/ot11-tails/native.log @@ -0,0 +1,6 @@ +{ + "origin": "http://127.0.0.1:52437", + "cases": 8, + "passed": 8, + "failed": [] +} diff --git a/docs/ui-consistency/evidence/ot11-tails/red.log b/docs/ui-consistency/evidence/ot11-tails/red.log new file mode 100644 index 000000000..f9de5acad --- /dev/null +++ b/docs/ui-consistency/evidence/ot11-tails/red.log @@ -0,0 +1,103 @@ + + ZB.MOM.WW.OtOpcUa.Analyzers -> /Users/dohertj2/Desktop/OtOpcUa/src/Tooling/ZB.MOM.WW.OtOpcUa.Analyzers/bin/Release/netstandard2.0/ZB.MOM.WW.OtOpcUa.Analyzers.dll + ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Abstractions/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.dll + ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll + ZB.MOM.WW.OtOpcUa.Commons -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Commons/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Commons.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll + ZB.MOM.WW.OtOpcUa.Cluster -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Cluster/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Cluster.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll + ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll + ZB.MOM.WW.OtOpcUa.Configuration -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Configuration/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Configuration.dll + ZB.MOM.WW.OtOpcUa.ControlPlane -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.ControlPlane/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.ControlPlane.dll + ZB.MOM.WW.OtOpcUa.Security -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Security/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Security.dll + ZB.MOM.WW.OtOpcUa.Core -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll + ZB.MOM.WW.OtOpcUa.OpcUaServer -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll + ZB.MOM.WW.OtOpcUa.Runtime -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Runtime.dll + ZB.MOM.WW.OtOpcUa.AdminUI -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.dll + ZB.MOM.WW.OtOpcUa.AdminUI.Tests -> /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll +Test run for /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (.NETCoreApp,Version=v10.0) +A total of 1 test files matched the specified pattern. +[xUnit.net 00:00:01.38] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.LiveTailPageTests.ScriptPause_FixesRowsWhileLatestFiveHundredRetainedThenResumesAndClears [FAIL] +[xUnit.net 00:00:01.39] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.LiveTailPageTests.AlertsPause_PreservesTwoHundredCapacityAndClearDoesNotResume [FAIL] + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.LiveTailPageTests.ScriptPause_FixesRowsWhileLatestFiveHundredRetainedThenResumesAndClears [369 ms] + Error Message: + Bunit.ElementNotFoundException : No elements were found that matches the selector '[data-testid=tail-pause]' + Stack Trace: + at Bunit.RenderedComponentExtensions.Find[TComponent,TElement](IRenderedComponent`1 renderedComponent, String cssSelector) in /_/src/bunit/Extensions/RenderedComponentExtensions.cs:line 42 + at Bunit.RenderedComponentExtensions.Find[TComponent](IRenderedComponent`1 renderedComponent, String cssSelector) in /_/src/bunit/Extensions/RenderedComponentExtensions.cs:line 21 + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.LiveTailPageTests.ScriptPause_FixesRowsWhileLatestFiveHundredRetainedThenResumesAndClears() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/LiveTailPageTests.cs:line 23 + at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) + at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.LiveTailPageTests.AlertsPause_PreservesTwoHundredCapacityAndClearDoesNotResume [5 ms] + Error Message: + Bunit.ElementNotFoundException : No elements were found that matches the selector '[data-testid=tail-pause]' + Stack Trace: + at Bunit.RenderedComponentExtensions.Find[TComponent,TElement](IRenderedComponent`1 renderedComponent, String cssSelector) in /_/src/bunit/Extensions/RenderedComponentExtensions.cs:line 42 + at Bunit.RenderedComponentExtensions.Find[TComponent](IRenderedComponent`1 renderedComponent, String cssSelector) in /_/src/bunit/Extensions/RenderedComponentExtensions.cs:line 21 + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.LiveTailPageTests.AlertsPause_PreservesTwoHundredCapacityAndClearDoesNotResume() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/LiveTailPageTests.cs:line 34 + at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) + at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) +[xUnit.net 00:00:02.40] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.LiveTailPageTests.ConnectionAndPauseAnnouncements_ExcludeIndividualLogPayloads [FAIL] + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.LiveTailPageTests.ConnectionAndPauseAnnouncements_ExcludeIndividualLogPayloads [1 s] + Error Message: + Bunit.Extensions.WaitForHelpers.WaitForFailedException : The assertion did not pass within the timeout period. + +If this test does not fail consistently, the reason may be that +the wait timeout is too short, and the runtime did not have enough +time to complete the necessary number of renders of the component under test. +This can happen on highly utilized or slower hardware, for example. + +To determine if this is the cause, compare the check and render count(s) below +and see if they match what is expected. If they do not, +consider increasing the timeout, either at the individual +method call level, e.g. WaitForElement("div", TimeSpan.FromSeconds(15)), +or via the static TestContext.DefaultWaitTimeout property. + +Check count: 1. +Component render count: 4. +Total render count across all components: 0. +---- Bunit.ElementNotFoundException : No elements were found that matches the selector '[data-testid=tail-status]' + Stack Trace: + at Bunit.RenderedComponentWaitForHelperExtensions.WaitForAssertion[TComponent](IRenderedComponent`1 renderedComponent, Action assertion, Nullable`1 timeout) in /_/src/bunit/Extensions/WaitForHelpers/RenderedComponentWaitForHelperExtensions.WaitForState.cs:line 77 + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.LiveTailPageTests.ConnectionAndPauseAnnouncements_ExcludeIndividualLogPayloads() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/LiveTailPageTests.cs:line 44 + at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) + at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) +----- Inner Stack Trace ----- + at Bunit.RenderedComponentExtensions.Find[TComponent,TElement](IRenderedComponent`1 renderedComponent, String cssSelector) in /_/src/bunit/Extensions/RenderedComponentExtensions.cs:line 42 + at Bunit.RenderedComponentExtensions.Find[TComponent](IRenderedComponent`1 renderedComponent, String cssSelector) in /_/src/bunit/Extensions/RenderedComponentExtensions.cs:line 21 + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.LiveTailPageTests.<>c__DisplayClass5_0.b__0() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/LiveTailPageTests.cs:line 44 + at Bunit.Extensions.WaitForHelpers.WaitForAssertionHelper`1.<>c__DisplayClass6_0.<.ctor>b__0() in /_/src/bunit/Extensions/WaitForHelpers/WaitForAssertionHelper.cs:line 35 + at Bunit.Extensions.WaitForHelpers.WaitForHelper`2.OnAfterRender(Object sender, EventArgs args) in /_/src/bunit/Extensions/WaitForHelpers/WaitForHelper.cs:line 173 + +Failed! - Failed: 3, Passed: 0, Skipped: 0, Total: 3, Duration: 1 s - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0) diff --git a/docs/ui-consistency/evidence/ot11-tails/source-freeze.json b/docs/ui-consistency/evidence/ot11-tails/source-freeze.json new file mode 100644 index 000000000..d8d0e3b04 --- /dev/null +++ b/docs/ui-consistency/evidence/ot11-tails/source-freeze.json @@ -0,0 +1,5 @@ +{ + "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/ScriptLog.razor": "7110e75905c49041b6037dc7435de2c9d19dde383ecda7e496e24b599ff34daa", + "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Alerts.razor": "3a6f2cbd657b1321433302e7617736b4ee337e9f89a5a835d5471108c8623a37", + "tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/LiveTailPageTests.cs": "d67c63bd9dfbe27b5cb9ce22aa23cc303822dc859dca15b47c0c43d64c5c5c37" +} diff --git a/docs/ui-consistency/evidence/ot11-tails/tests.log b/docs/ui-consistency/evidence/ot11-tails/tests.log new file mode 100644 index 000000000..1fdfcd149 --- /dev/null +++ b/docs/ui-consistency/evidence/ot11-tails/tests.log @@ -0,0 +1,53 @@ + + ZB.MOM.WW.OtOpcUa.Analyzers -> /Users/dohertj2/Desktop/OtOpcUa/src/Tooling/ZB.MOM.WW.OtOpcUa.Analyzers/bin/Release/netstandard2.0/ZB.MOM.WW.OtOpcUa.Analyzers.dll + ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Abstractions/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll + ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll + ZB.MOM.WW.OtOpcUa.Commons -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Commons/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Commons.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll + ZB.MOM.WW.OtOpcUa.Cluster -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Cluster/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Cluster.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll + ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll + ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.dll + ZB.MOM.WW.OtOpcUa.Configuration -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Configuration/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Configuration.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll + ZB.MOM.WW.OtOpcUa.Core -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll + ZB.MOM.WW.OtOpcUa.OpcUaServer -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll + ZB.MOM.WW.OtOpcUa.ControlPlane -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.ControlPlane/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.ControlPlane.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll + ZB.MOM.WW.OtOpcUa.Security -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Security/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Security.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll + ZB.MOM.WW.OtOpcUa.Runtime -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Runtime.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll + ZB.MOM.WW.OtOpcUa.AdminUI -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.dll + ZB.MOM.WW.OtOpcUa.AdminUI.Tests -> /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll +Test run for /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (.NETCoreApp,Version=v10.0) +A total of 1 test files matched the specified pattern. +Results File: /tmp/ot11-tail-results/live-tail.trx + +Passed! - Failed: 0, Passed: 11, Skipped: 0, Total: 11, Duration: 2 s - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0) diff --git a/docs/ui-consistency/evidence/ot11-tails/tests.trx b/docs/ui-consistency/evidence/ot11-tails/tests.trx new file mode 100644 index 000000000..663c4d7f7 --- /dev/null +++ b/docs/ui-consistency/evidence/ot11-tails/tests.trx @@ -0,0 +1,94 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v3.0.2+dd36e86129 (64-bit .NET 10.0.14) +[xUnit.net 00:00:00.47] Discovering: ZB.MOM.WW.OtOpcUa.AdminUI.Tests +[xUnit.net 00:00:02.37] Discovered: ZB.MOM.WW.OtOpcUa.AdminUI.Tests +[xUnit.net 00:00:02.62] Starting: ZB.MOM.WW.OtOpcUa.AdminUI.Tests +[xUnit.net 00:00:04.79] Finished: ZB.MOM.WW.OtOpcUa.AdminUI.Tests + + + + \ No newline at end of file diff --git a/infra/tools/ui-consistency/check_live_tail.py b/infra/tools/ui-consistency/check_live_tail.py new file mode 100644 index 000000000..b96f36376 --- /dev/null +++ b/infra/tools/ui-consistency/check_live_tail.py @@ -0,0 +1,30 @@ +"""Actual log/alert snapshots over fabricated local broadcaster events only.""" +import json,re,sys +from pathlib import Path +from playwright.sync_api import sync_playwright +sys.path.insert(0,'/Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/components/ui-theme/validation/theme-1.0.0/canary') +from browser_zoom import zoom_browser,set_browser_zoom +origin=re.search(r'Now listening on: (http://127.0.0.1:\d+)',Path('/tmp/ot-tail-host.log').read_text()).group(1) +out=Path('docs/ui-consistency/evidence/ot11-tails');out.mkdir(parents=True,exist_ok=True);results=[] +with sync_playwright() as p: + with zoom_browser(p) as (context,worker): + for sample,capacity,latest in [('log',500,601),('alerts',200,251)]: + for width,zoom in [(1440,1),(390,1),(1440,2),(390,2)]: + page=context.new_page();page.set_viewport_size({'width':width,'height':2800 if zoom==2 else 1100});errors=[];page.on('pageerror',lambda e:errors.append(str(e))) + page.goto(origin+'/live-tail-pilot?sample='+sample,wait_until='networkidle');set_browser_zoom(worker,page,zoom) + count=page.locator('[data-testid=tail-retained-count]');toggle=page.locator('[data-testid=tail-pause]');status=page.locator('[data-testid=tail-status]');checks={} + page.locator('#fixture-emit-one').click();page.locator('tbody tr').filter(has_text='Local sample 1').wait_for();page.evaluate('window.frozenRow=document.querySelector("tbody tr")') + toggle.focus();toggle.press('Enter');page.wait_for_function('document.querySelector("[data-testid=tail-pause]").getAttribute("aria-pressed")==="true"') + page.locator('#fixture-emit-burst').click();page.wait_for_function('(n)=>document.querySelector("[data-testid=tail-retained-count]").textContent.trim()===String(n)',arg=capacity) + checks['boundedRetainedWhilePaused']=count.inner_text().strip()==str(capacity);checks['sameFrozenRow']=page.evaluate('document.querySelector("tbody tr")===window.frozenRow') and page.locator('tbody tr').count()==1;checks['frozenPayload']='Local sample 1' in page.locator('tbody').inner_text() and f'Local sample {latest}' not in page.locator('tbody').inner_text() + checks['payloadOutsideLiveRegion']='Local sample' not in status.inner_text() + page.locator('#fixture-disconnect').click();status.filter(has_text='Disconnected').wait_for();checks['pauseSurvivesDisconnect']=toggle.get_attribute('aria-pressed')=='true' + page.screenshot(path=str(out/f'{sample}-paused-{width}-zoom{zoom}.png'),full_page=False) + toggle.focus();toggle.press('Enter');page.locator('tbody tr').filter(has_text=f'Local sample {latest}').wait_for();checks['resumeLatestBounded']=page.locator('tbody tr').count()==capacity and f'Local sample {latest}' in page.locator('tbody tr').first.inner_text() + toggle.click();page.locator('[data-testid=tail-clear]').click();page.wait_for_function('document.querySelector("[data-testid=tail-retained-count]").textContent.trim()==="0"');checks['clearRetainsPause']=toggle.get_attribute('aria-pressed')=='true' and page.locator('tbody tr').count()==0 + page.locator('#fixture-emit-one').click();page.wait_for_function('document.querySelector("[data-testid=tail-retained-count]").textContent.trim()==="1"');checks['clearDropsOldWindow']=page.locator('tbody tr').count()==0 + toggle.click();page.locator('tbody tr').filter(has_text=f'Local sample {latest+1}').wait_for();checks['resumeAfterClear']=page.locator('tbody tr').count()==1 + layout=page.evaluate('({width:innerWidth,document:document.documentElement.scrollWidth,dpr:devicePixelRatio})');checks['noBodyOverflow']=layout['width']==layout['document'];checks['noPageErrors']=not errors + results.append({'sample':sample,'viewport':width,'zoom':zoom,'layout':layout,'checks':checks,'errors':errors,'passed':all(checks.values())});page.screenshot(path=str(out/f'{sample}-resumed-{width}-zoom{zoom}.png'),full_page=False);page.close();(out/'matrix.json').write_text(json.dumps(results,indent=2)+'\n') +print(json.dumps({'origin':origin,'cases':len(results),'passed':sum(r['passed'] for r in results),'failed':[r for r in results if not r['passed']]},indent=2)) +raise SystemExit(0 if all(r['passed'] for r in results) else 1) diff --git a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Alerts.razor b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Alerts.razor index 3b67d8fed..ed74a3a67 100644 --- a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Alerts.razor +++ b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Alerts.razor @@ -20,29 +20,39 @@

Alerts

-
+
@(_connected ? "live" : "disconnected") - + +
+

@(_connected ? "Connected" : "Disconnected") · @(_paused ? "Paused — displayed rows are frozen." : "Live — showing the latest retained entries.")

+

@_tail.Items.Count retained (maximum @Capacity). @(_paused ? "New arrivals continue replacing the oldest retained entries. Resume to see the latest window." : "Only this page’s current window is shown.") Clear affects this visible window, not historian records.

+
Shows the most-recent @Capacity entries since the page opened; reload for a fresh window.
-@if (_tail.Items.Count == 0) +@if (_displayed.Count == 0) {
- No alarms in the current window. The table will populate as soon as a - ScriptedAlarmActor or driver alarm bridge publishes a transition. + @if (_paused) + { + No alert transitions in the paused snapshot. Resume to show retained transitions. + } + else + { + No alarms in the current window. The table will populate as soon as a ScriptedAlarmActor or driver alarm bridge publishes a transition. + }
} else {
-

Recent transitions (@_tail.Items.Count)

+

Displayed transitions (@_displayed.Count)

@@ -61,7 +71,7 @@ else - @foreach (var e in _tail.Items) + @foreach (var e in _displayed) { @@ -144,6 +154,8 @@ else private readonly LiveTailBuffer _tail = new(Capacity); private CoalescingRenderScheduler? _render; private bool _connected; + private bool _paused; + private IReadOnlyList _displayed = Array.Empty(); // Authorization — DriverOperator gates the per-row Ack/Shelve/Unshelve controls. private bool _canOperate; @@ -292,7 +304,9 @@ else // Render context: drain the queue into the ring and render once. private void FlushTail() { - if (_tail.Flush()) StateHasChanged(); + if (!_tail.Flush()) return; + if (!_paused) _displayed = _tail.Items; + StateHasChanged(); } // Raised by the broadcaster (on the bridge actor's thread) whenever the upstream DPS @@ -301,9 +315,20 @@ else private void OnConnectionStateChanged(bool connected) => InvokeAsync(() => { _connected = connected; StateHasChanged(); }); + private void TogglePause() + { + FlushTail(); + _paused = !_paused; + if (!_paused) + { + _displayed = _tail.Items; + } + } + private async Task ClearAsync() { _tail.Clear(); + _displayed = Array.Empty(); await InvokeAsync(StateHasChanged); } diff --git a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/ScriptLog.razor b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/ScriptLog.razor index 22bef5b2e..b274bf377 100644 --- a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/ScriptLog.razor +++ b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/ScriptLog.razor @@ -30,27 +30,31 @@ @(_connected ? "live" : "disconnected") - + + +

@(_connected ? "Connected" : "Disconnected") · @(_paused ? "Paused — displayed rows are frozen." : "Live — showing the latest retained entries.")

+

@_tail.Items.Count retained (maximum @Capacity). @(_paused ? "New arrivals continue replacing the oldest retained entries. Resume to see the latest window." : "Only this page’s current window is shown.") Clear affects this visible window, not historian records.

+ @if (_visible.Count == 0) {
- @if (_tail.Items.Count == 0) + @if (_displayed.Count == 0) { - No script-log entries yet. + @(_paused ? "No entries in the paused snapshot. Resume to show retained entries." : "No script-log entries yet.") } else { - No entries match the current filter (@_tail.Items.Count entries available). + No entries match the current filter (@_displayed.Count entries in the displayed snapshot). }
} else {
-

Showing @_visible.Count of @_tail.Items.Count

+

Showing @_visible.Count of @_displayed.Count displayed entries

@e.TimestampUtc.ToString("HH:mm:ss.fff")
@@ -94,6 +98,8 @@ else // The filtered rows, recomputed on flush / filter change — not on every render. private IReadOnlyList _visible = Array.Empty(); private bool _connected; + private bool _paused; + private IReadOnlyList _displayed = Array.Empty(); private string _levelFilter = ""; private string _scriptFilter = ""; @@ -104,7 +110,7 @@ else private void RecomputeVisible() { - IEnumerable q = _tail.Items; + IEnumerable q = _displayed; if (!string.IsNullOrWhiteSpace(_levelFilter) && LevelRank.TryGetValue(_levelFilter, out var minRank)) { @@ -144,13 +150,29 @@ else private void FlushTail() { if (!_tail.Flush()) return; - RecomputeVisible(); + if (!_paused) + { + _displayed = _tail.Items; + RecomputeVisible(); + } StateHasChanged(); } + private void TogglePause() + { + FlushTail(); + _paused = !_paused; + if (!_paused) + { + _displayed = _tail.Items; + RecomputeVisible(); + } + } + private async Task ClearAsync() { _tail.Clear(); + _displayed = Array.Empty(); RecomputeVisible(); await InvokeAsync(StateHasChanged); } diff --git a/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/LiveTailPageTests.cs b/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/LiveTailPageTests.cs new file mode 100644 index 000000000..049f2967e --- /dev/null +++ b/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/LiveTailPageTests.cs @@ -0,0 +1,61 @@ +using System.Reflection; +using Bunit; +using Microsoft.Extensions.DependencyInjection; +using Shouldly; +using Xunit; +using ZB.MOM.WW.OtOpcUa.AdminUI.Hubs; +using ZB.MOM.WW.OtOpcUa.AdminUI.Components.Pages; +using ZB.MOM.WW.OtOpcUa.Commons.Interfaces; +using ZB.MOM.WW.OtOpcUa.Commons.Messages.Logging; +using ZB.MOM.WW.OtOpcUa.Commons.Messages.Alerts; +namespace ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages; +[Trait("Category","Unit")] +public sealed class LiveTailPageTests:BunitContext +{ + public LiveTailPageTests(){AddAuthorization().SetAuthorized("read-only").SetPolicies("AuthenticatedRead");Services.AddSingleton(DispatchProxy.Create());} + private static ScriptLogEntry Log(string message)=>new("script-a","Information",message,DateTime.UtcNow,null,null,null); + private static AlarmTransitionEvent Alarm(string message)=>new("alarm-a","Plant/Press","Press alarm","Activated",500,message,"system",DateTime.UtcNow); + [Fact] + public void ScriptPause_FixesRowsWhileLatestFiveHundredRetainedThenResumesAndClears() + { + var feed=new InProcessBroadcaster();Services.AddSingleton>(feed);var cut=Render(); + feed.Publish(Log("before-pause"));cut.WaitForAssertion(()=>cut.Find("tbody").TextContent.ShouldContain("before-pause")); + cut.Find("[data-testid=tail-pause]").Click();cut.Find("[data-testid=tail-pause]").GetAttribute("aria-pressed").ShouldBe("true"); + for(var i=0;i<600;i++)feed.Publish(Log("sample-"+i)); + cut.WaitForAssertion(()=>cut.Find("[data-testid=tail-retained-count]").TextContent.ShouldBe("500")); + cut.FindAll("tbody tr").Count.ShouldBe(1);cut.Find("tbody").TextContent.ShouldContain("before-pause");cut.Find("tbody").TextContent.ShouldNotContain("sample-"); + cut.Find("[data-testid=tail-pause]").Click();cut.WaitForAssertion(()=>cut.FindAll("tbody tr").Count.ShouldBe(500));cut.Find("tbody tr").TextContent.ShouldContain("sample-599");cut.Find("tbody").TextContent.ShouldNotContain("before-pause"); + cut.Find("[data-testid=tail-clear]").Click();cut.Find("[data-testid=tail-retained-count]").TextContent.ShouldBe("0");cut.FindAll("tbody tr").ShouldBeEmpty(); + } + [Fact] + public void AlertsPause_PreservesTwoHundredCapacityAndClearDoesNotResume() + { + var feed=new InProcessBroadcaster();Services.AddSingleton>(feed);var cut=Render(); + cut.Find("[data-testid=tail-pause]").Click();for(var i=0;i<250;i++)feed.Publish(Alarm("transition-"+i)); + cut.WaitForAssertion(()=>cut.Find("[data-testid=tail-retained-count]").TextContent.ShouldBe("200"));cut.FindAll("tbody tr").ShouldBeEmpty(); + cut.Find("[data-testid=tail-clear]").Click();cut.Find("[data-testid=tail-pause]").GetAttribute("aria-pressed").ShouldBe("true");cut.Find("[data-testid=tail-retained-count]").TextContent.ShouldBe("0"); + feed.Publish(Alarm("after-clear"));cut.WaitForAssertion(()=>cut.Find("[data-testid=tail-retained-count]").TextContent.ShouldBe("1"));cut.FindAll("tbody tr").ShouldBeEmpty(); + cut.Find("[data-testid=tail-pause]").Click();cut.WaitForAssertion(()=>cut.Find("tbody").TextContent.ShouldContain("after-clear"));cut.FindAll("tbody tr").Count.ShouldBe(1); + } + [Fact] + public void ConnectionAndPauseAnnouncements_ExcludeIndividualLogPayloads() + { + var feed=new InProcessBroadcaster();Services.AddSingleton>(feed);var cut=Render(); + feed.SetConnected(true);cut.WaitForAssertion(()=>cut.Find("[data-testid=tail-status]").TextContent.ShouldContain("Connected")); + cut.Find("[data-testid=tail-pause]").Click();feed.SetConnected(false);cut.WaitForAssertion(()=>cut.Find("[data-testid=tail-status]").TextContent.ShouldContain("Disconnected")); + feed.Publish(Log("PRIVATE-ENTRY-CONTENT"));cut.WaitForAssertion(()=>cut.Find("[data-testid=tail-retained-count]").TextContent.ShouldBe("1")); + cut.Find("[data-testid=tail-status]").TextContent.ShouldContain("Paused");cut.FindAll("[role=status]").ShouldAllBe(e=>!e.TextContent.Contains("PRIVATE-ENTRY-CONTENT")); + } + [Fact] + public void ScriptFilterWhilePaused_OnlyFiltersFrozenSnapshotUntilResume() + { + var feed=new InProcessBroadcaster();Services.AddSingleton>(feed);var cut=Render(); + feed.Publish(Log("frozen-info"));cut.WaitForAssertion(()=>cut.Find("tbody").TextContent.ShouldContain("frozen-info")); + cut.Find("[data-testid=tail-pause]").Click();cut.Find("select").Change("Error"); + feed.Publish(new("script-a","Error","retained-error",DateTime.UtcNow,null,null,null)); + cut.WaitForAssertion(()=>cut.Find("[data-testid=tail-retained-count]").TextContent.ShouldBe("2")); + cut.FindAll("tbody tr").ShouldBeEmpty();cut.Markup.ShouldContain("No entries match the current filter"); + cut.Find("[data-testid=tail-pause]").Click();cut.WaitForAssertion(()=>cut.Find("tbody").TextContent.ShouldContain("retained-error"));cut.Find("tbody").TextContent.ShouldNotContain("frozen-info"); + } + public class NoOperations:DispatchProxy {protected override object? Invoke(MethodInfo? m,object?[]? a)=>throw new InvalidOperationException("Live-tail presentation tests refuse domain operations.");} +}