Harden Hosts driver-controls dialog lifecycle and reflow

This commit is contained in:
Joseph Doherty
2026-11-14 01:18:22 -05:00
parent aa919ceef2
commit fc4053f0c9
63 changed files with 1574 additions and 42 deletions
@@ -0,0 +1,20 @@
# Hosts driver controls acceptance (OT-13)
The actual Hosts page now uses the shared ModalFrame for its single outer driver-controls dialog. The panel keeps restart confirmation inline. Each presentation captures driver, Enabled and cluster identity, and busy/close callbacks reject retired presentations. Ordinary health/name refresh retains the panel; changed identity or a vanished driver retires it. The eight existing read, subscription and disposal bodies are unchanged (independently reviewed; see read-state-boundaries.json). No command API, read semantics or device behavior changes in this parent slice.
## Verification
- acceptance.log: 45 passed, zero failures/skips (six new actual parent cases, 24 panel cases and 15 prior read/diagnostic/wiring cases). The valid pre-change three-failure proof is close-render-red.log; earlier harness/reflection corrections are retained separately.
- browser-confirmation.log and browser/results.json: 12 actual Hosts contexts over synthetic services: Operator Reconnect, Operator Restart and Reader, each at 1440, 390 and native Chromium 200% (720 and 195 CSS pixels). Assertions cover one dialog, names/context, focus trap, inert background, safe inline Cancel, current captured dispatch, busy Escape/close denial, result, idle Escape and trigger restoration, no overflow and zero page errors. No real actor/device/broker mutations.
- native-zoom/: two final direct Chromium surface screenshots and measured header/footer geometry, with native Escape/trigger-return checks. The long-ID header previously clipped the chrome at 195 CSS pixels. The short title and complete wrapped body description repair that real failure without truncating identity.
- runtime-parity.json records exact current dialog-focus HTTP/source parity. Independent peer review approved source and evidence without a blocker.
The browser/ screenshots at real zoom can show a Playwright clip-framing artifact when the background document is scrolled. The final native-zoom/ images use CDP Page.captureScreenshot with fromSurface=true and captureBeyondViewport=false and show the actual viewport; intermediate zoom-captures/ and cdp-captures/ are retained as harness diagnostics. An exploratory fromSurface=false request was unsupported; no product patch follows from that capture failure.
opacity-observation.json records an actual stale-panel opacity finding handed to the final OT accessibility batch; this parent slice does not claim that separate contrast issue is resolved. VoiceOver tests are excluded at the user’s instruction; no speech-output result is claimed.
## Reproduction and cleanup
The checked-in canary mounts the production Hosts and DriverStatusPanel with synthetic health/config and a delayed typed command responder, operator/reader claims, and local in-memory data. It binds only loopback 18142. Build with a separate artifacts/output directory, then run browser.py and capture-native-zoom.py using the installed Playwright runtime. All dotnet test invocations must use infra/tools/ui-consistency/with_private_sql.py and the owned private SQL state; SQL readiness probes occur before filtering.
The fixture runtime is stopped after acceptance. No production server, existing rig container or external SQL was modified by this fixture.
@@ -0,0 +1,52 @@
ZB.MOM.WW.OtOpcUa.Analyzers -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Analyzers/debug/ZB.MOM.WW.OtOpcUa.Analyzers.dll
ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Core.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/debug/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll
ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll
ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport/debug/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.dll
ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll
ZB.MOM.WW.OtOpcUa.Commons -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Commons/debug/ZB.MOM.WW.OtOpcUa.Commons.dll
ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll
ZB.MOM.WW.OtOpcUa.Cluster -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Cluster/debug/ZB.MOM.WW.OtOpcUa.Cluster.dll
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll
ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll
ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/debug/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll
ZB.MOM.WW.OtOpcUa.Core.Scripting -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll
ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll
ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/debug/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll
ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/debug/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll
ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll
ZB.MOM.WW.OtOpcUa.Configuration -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Configuration/debug/ZB.MOM.WW.OtOpcUa.Configuration.dll
ZB.MOM.WW.OtOpcUa.Core -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Core/debug/ZB.MOM.WW.OtOpcUa.Core.dll
ZB.MOM.WW.OtOpcUa.Security -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Security/debug/ZB.MOM.WW.OtOpcUa.Security.dll
ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll
ZB.MOM.WW.OtOpcUa.Driver.Sql -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/debug/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll
ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/debug/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll
ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.AbCip/debug/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll
ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/debug/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll
ZB.MOM.WW.OtOpcUa.ControlPlane -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.ControlPlane/debug/ZB.MOM.WW.OtOpcUa.ControlPlane.dll
ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/debug/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll
ZB.MOM.WW.OtOpcUa.OpcUaServer -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.OpcUaServer/debug/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll
ZB.MOM.WW.OtOpcUa.Runtime -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Runtime/debug/ZB.MOM.WW.OtOpcUa.Runtime.dll
ZB.MOM.WW.OtOpcUa.AdminUI -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.AdminUI/debug/ZB.MOM.WW.OtOpcUa.AdminUI.dll
ZB.MOM.WW.OtOpcUa.AdminUI.Tests -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/debug/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll
Test run for /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/debug/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (.NETCoreApp,Version=v10.0)
A total of 1 test files matched the specified pattern.
Passed! - Failed: 0, Passed: 45, Skipped: 0, Total: 45, Duration: 1 s - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0)
@@ -0,0 +1,92 @@
ZB.MOM.WW.OtOpcUa.Analyzers -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Analyzers/debug/ZB.MOM.WW.OtOpcUa.Analyzers.dll
ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Core.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll
ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport/debug/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.dll
ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/debug/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll
ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll
ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/debug/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll
ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll
ZB.MOM.WW.OtOpcUa.Commons -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Commons/debug/ZB.MOM.WW.OtOpcUa.Commons.dll
ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll
ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll
ZB.MOM.WW.OtOpcUa.Cluster -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Cluster/debug/ZB.MOM.WW.OtOpcUa.Cluster.dll
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll
ZB.MOM.WW.OtOpcUa.Core.Scripting -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll
ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll
ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/debug/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll
ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/debug/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll
ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll
ZB.MOM.WW.OtOpcUa.Configuration -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Configuration/debug/ZB.MOM.WW.OtOpcUa.Configuration.dll
ZB.MOM.WW.OtOpcUa.Core -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Core/debug/ZB.MOM.WW.OtOpcUa.Core.dll
ZB.MOM.WW.OtOpcUa.Security -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Security/debug/ZB.MOM.WW.OtOpcUa.Security.dll
ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/debug/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll
ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/debug/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll
ZB.MOM.WW.OtOpcUa.OpcUaServer -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.OpcUaServer/debug/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll
ZB.MOM.WW.OtOpcUa.Driver.Sql -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll
ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/debug/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll
ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.AbCip/debug/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll
ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/debug/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll
ZB.MOM.WW.OtOpcUa.ControlPlane -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.ControlPlane/debug/ZB.MOM.WW.OtOpcUa.ControlPlane.dll
ZB.MOM.WW.OtOpcUa.Runtime -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Runtime/debug/ZB.MOM.WW.OtOpcUa.Runtime.dll
ZB.MOM.WW.OtOpcUa.AdminUI -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.AdminUI/debug/ZB.MOM.WW.OtOpcUa.AdminUI.dll
ZB.MOM.WW.OtOpcUa.AdminUI.Tests -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/debug/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll
Test run for /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/debug/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:02.11] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.HostsControlsModalTests.PendingRealPanelCommand_BlocksParentCloseUntilCompletion [FAIL]
[xUnit.net 00:00:02.13] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.HostsControlsModalTests.Controls_IsNamedWithSafeCloseAndPreservesDriverContext [FAIL]
Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.HostsControlsModalTests.PendingRealPanelCommand_BlocksParentCloseUntilCompletion [758 ms]
Error Message:
Shouldly.ShouldAssertException : cut.Find("[role=dialog]").GetAttribute("aria-busy")
should be
"true"
but was
null
Stack Trace:
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.HostsControlsModalTests.PendingRealPanelCommand_BlocksParentCloseUntilCompletion() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/HostsControlsModalTests.cs:line 96
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.HostsControlsModalTests.PendingRealPanelCommand_BlocksParentCloseUntilCompletion() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/HostsControlsModalTests.cs:line 98
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.HostsControlsModalTests.PendingRealPanelCommand_BlocksParentCloseUntilCompletion() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/HostsControlsModalTests.cs:line 102
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
--- End of stack trace from previous location ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.HostsControlsModalTests.Controls_IsNamedWithSafeCloseAndPreservesDriverContext [16 ms]
Error Message:
Shouldly.ShouldAssertException : dialog.GetAttribute("aria-modal")
should be
"true"
but was
null
Stack Trace:
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.HostsControlsModalTests.Controls_IsNamedWithSafeCloseAndPreservesDriverContext() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/HostsControlsModalTests.cs:line 63
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.HostsControlsModalTests.Controls_IsNamedWithSafeCloseAndPreservesDriverContext() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/HostsControlsModalTests.cs:line 67
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
--- End of stack trace from previous location ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
Failed! - Failed: 2, Passed: 1, Skipped: 0, Total: 3, Duration: 799 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0)
Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

@@ -0,0 +1,128 @@
[
{
"mode": "reconnect",
"name": "1440",
"geometry": {
"width": 1440,
"height": 900,
"dpr": 1,
"scroll": 1440
},
"singleOuterDialog": true,
"inlineSafeCancel": false,
"busyCloseGuard": true,
"errors": []
},
{
"mode": "restart",
"name": "1440",
"geometry": {
"width": 1440,
"height": 900,
"dpr": 1,
"scroll": 1440
},
"singleOuterDialog": true,
"inlineSafeCancel": true,
"busyCloseGuard": true,
"errors": []
},
{
"mode": "reader",
"name": "1440",
"geometry": {
"width": 1440,
"height": 900,
"dpr": 1,
"scroll": 1440
},
"singleOuterDialog": true,
"inlineSafeCancel": false,
"busyCloseGuard": false,
"errors": []
},
{
"mode": "reconnect",
"name": "390",
"geometry": {
"width": 390,
"height": 900,
"dpr": 1,
"scroll": 390
},
"singleOuterDialog": true,
"inlineSafeCancel": false,
"busyCloseGuard": true,
"errors": []
},
{
"mode": "restart",
"name": "390",
"geometry": {
"width": 390,
"height": 900,
"dpr": 1,
"scroll": 390
},
"singleOuterDialog": true,
"inlineSafeCancel": true,
"busyCloseGuard": true,
"errors": []
},
{
"mode": "reader",
"name": "390",
"geometry": {
"width": 390,
"height": 900,
"dpr": 1,
"scroll": 390
},
"singleOuterDialog": true,
"inlineSafeCancel": false,
"busyCloseGuard": false,
"errors": []
},
{
"mode": "reconnect",
"name": "real200-720",
"geometry": {
"width": 720,
"height": 450,
"dpr": 2,
"scroll": 720
},
"singleOuterDialog": true,
"inlineSafeCancel": false,
"busyCloseGuard": true,
"errors": []
},
{
"mode": "restart",
"name": "real200-720",
"geometry": {
"width": 720,
"height": 450,
"dpr": 2,
"scroll": 720
},
"singleOuterDialog": true,
"inlineSafeCancel": true,
"busyCloseGuard": true,
"errors": []
},
{
"mode": "reader",
"name": "real200-720",
"geometry": {
"width": 720,
"height": 450,
"dpr": 2,
"scroll": 720
},
"singleOuterDialog": true,
"inlineSafeCancel": false,
"busyCloseGuard": false,
"errors": []
}
]
@@ -0,0 +1 @@
PASS 12 actual Hosts control contexts
@@ -0,0 +1,8 @@
Traceback (most recent call last):
File "/Users/dohertj2/Desktop/OtOpcUa/docs/ui-consistency/ot13-host-controls/browser.py", line 52, in <module>
for mode in ['reconnect','restart','reader']:case(page,mode,'real200-'+str(w//2))
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/dohertj2/Desktop/OtOpcUa/docs/ui-consistency/ot13-host-controls/browser.py", line 37, in case
box=chrome.bounding_box();assert box['x']>=0 and box['x']+box['width']<=geometry['width']+1 and box['y']>=0 and box['y']+box['height']<=geometry['height']+1,(box,geometry)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: ({'x': 9, 'y': 440.859375, 'width': 177, 'height': 65.2265625}, {'width': 195, 'height': 450, 'dpr': 2, 'scroll': 195})
@@ -0,0 +1,55 @@
"""Actual Hosts + DriverStatusPanel over synthetic health/command services."""
import sys,json,re
from pathlib import Path
from playwright.sync_api import sync_playwright,expect
HERE=Path(__file__).resolve().parent
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
OUT=HERE/'browser';OUT.mkdir(exist_ok=True);results=[]
BASE='http://127.0.0.1:18142'
def case(page,mode,name):
errors=[];page.on('pageerror',lambda e:errors.append(str(e)))
page.goto(BASE+('/?role=Reader' if mode=='reader' else '/'));expect(page.locator('#ready')).to_have_text('True')
trigger=page.get_by_role('button',name=re.compile('^Controls for Synthetic driver 1'))
trigger.click();d=page.get_by_role('dialog');expect(d).to_have_count(1);expect(d).to_have_attribute('aria-modal','true')
expect(d).to_have_accessible_name('Driver controls');expect(d).to_have_accessible_description(re.compile('Synthetic driver 1'))
close=d.get_by_role('button',name='Close',exact=True);expect(close).to_be_focused()
for _ in range(12):
page.keyboard.press('Tab');assert d.evaluate('(e)=>e.contains(document.activeElement)')
page.get_by_role('button',name='Refresh',exact=True).evaluate('(e)=>e.focus()');assert d.evaluate('(e)=>e.contains(document.activeElement)')
if mode=='reader':
expect(d.get_by_role('button',name='Reconnect',exact=True)).to_have_count(0);expect(d.get_by_role('button',name='Restart',exact=True)).to_have_count(0);expect(page.locator('#requests')).to_have_text('0')
else:
if mode=='restart':
restart=d.get_by_role('button',name='Restart',exact=True);restart.click();group=d.get_by_role('group',name=re.compile('^Restart driver'))
cancel=group.get_by_role('button',name='Cancel',exact=True);expect(cancel).to_be_focused();cancel.click();expect(group).to_have_count(0);expect(restart).to_be_focused();expect(page.locator('#requests')).to_have_text('0')
restart.click();group=d.get_by_role('group',name=re.compile('^Restart driver'));expect(group.get_by_role('button',name='Cancel',exact=True)).to_be_focused();group.get_by_role('button',name='Confirm restart',exact=True).click()
else:d.get_by_role('button',name='Reconnect',exact=True).click()
expect(d).to_have_attribute('aria-busy','true');expect(close).to_be_disabled();expect(d.get_by_role('button',name='Close Driver controls',exact=True)).to_be_disabled()
page.wait_for_function("document.querySelector('[role=dialog]').contains(document.activeElement)")
for _ in range(3):page.keyboard.press('Tab');assert d.evaluate('(e)=>e.contains(document.activeElement)')
page.keyboard.press('Escape');expect(d).to_have_count(1)
expect(d).to_have_attribute('aria-busy','false',timeout=10000);expect(close).to_be_enabled();expect(page.locator('#requests')).to_have_text('1')
expect(page.locator('#operation')).to_have_text(re.compile(('Restart' if mode=='restart' else 'Reconnect')+':synthetic-driver-with-a-deliberately-long-identifier-for-local-reflow-a'))
expect(d.get_by_role('status')).to_have_text(('Restart' if mode=='restart' else 'Reconnect')+' dispatched')
geometry=page.evaluate('({width:innerWidth,height:innerHeight,dpr:devicePixelRatio,scroll:document.documentElement.scrollWidth})');assert geometry['scroll']<=geometry['width'],geometry
for chrome in d.locator('.modal-header,.modal-footer').all():
box=chrome.bounding_box();assert box['x']>=0 and box['x']+box['width']<=geometry['width']+1 and box['y']>=0 and box['y']+box['height']<=geometry['height']+1,(box,geometry)
page.screenshot(path=str(OUT/(mode+'-'+name+'.png')))
page.keyboard.press('Escape');expect(d).to_have_count(0);expect(trigger).to_be_focused()
assert not errors,errors
results.append(dict(mode=mode,name=name,geometry=geometry,singleOuterDialog=True,inlineSafeCancel=(mode=='restart'),busyCloseGuard=(mode!='reader'),errors=errors));(OUT/'results.json').write_text(json.dumps(results,indent=2)+'\n')
if __name__=='__main__':
with sync_playwright() as p:
b=p.chromium.launch()
for w in [1440,390]:
for mode in ['reconnect','restart','reader']:
c=b.new_context(viewport={'width':w,'height':900});case(c.new_page(),mode,str(w));c.close()
b.close()
with zoom_browser(p) as (c,worker):
page=c.new_page()
for w in [1440,390]:
page.set_viewport_size({'width':w,'height':900});page.goto(BASE);assert set_browser_zoom(worker,page,2)==2
for mode in ['reconnect','restart','reader']:case(page,mode,'real200-'+str(w//2))
set_browser_zoom(worker,page,1)
print('PASS',len(results),'actual Hosts control contexts')
Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

@@ -0,0 +1,170 @@
[
{
"mode": "reconnect",
"name": "1440",
"geometry": {
"width": 1440,
"height": 900,
"dpr": 1,
"scroll": 1440
},
"singleOuterDialog": true,
"inlineSafeCancel": false,
"busyCloseGuard": true,
"errors": []
},
{
"mode": "restart",
"name": "1440",
"geometry": {
"width": 1440,
"height": 900,
"dpr": 1,
"scroll": 1440
},
"singleOuterDialog": true,
"inlineSafeCancel": true,
"busyCloseGuard": true,
"errors": []
},
{
"mode": "reader",
"name": "1440",
"geometry": {
"width": 1440,
"height": 900,
"dpr": 1,
"scroll": 1440
},
"singleOuterDialog": true,
"inlineSafeCancel": false,
"busyCloseGuard": false,
"errors": []
},
{
"mode": "reconnect",
"name": "390",
"geometry": {
"width": 390,
"height": 900,
"dpr": 1,
"scroll": 390
},
"singleOuterDialog": true,
"inlineSafeCancel": false,
"busyCloseGuard": true,
"errors": []
},
{
"mode": "restart",
"name": "390",
"geometry": {
"width": 390,
"height": 900,
"dpr": 1,
"scroll": 390
},
"singleOuterDialog": true,
"inlineSafeCancel": true,
"busyCloseGuard": true,
"errors": []
},
{
"mode": "reader",
"name": "390",
"geometry": {
"width": 390,
"height": 900,
"dpr": 1,
"scroll": 390
},
"singleOuterDialog": true,
"inlineSafeCancel": false,
"busyCloseGuard": false,
"errors": []
},
{
"mode": "reconnect",
"name": "real200-720",
"geometry": {
"width": 720,
"height": 450,
"dpr": 2,
"scroll": 720
},
"singleOuterDialog": true,
"inlineSafeCancel": false,
"busyCloseGuard": true,
"errors": []
},
{
"mode": "restart",
"name": "real200-720",
"geometry": {
"width": 720,
"height": 450,
"dpr": 2,
"scroll": 720
},
"singleOuterDialog": true,
"inlineSafeCancel": true,
"busyCloseGuard": true,
"errors": []
},
{
"mode": "reader",
"name": "real200-720",
"geometry": {
"width": 720,
"height": 450,
"dpr": 2,
"scroll": 720
},
"singleOuterDialog": true,
"inlineSafeCancel": false,
"busyCloseGuard": false,
"errors": []
},
{
"mode": "reconnect",
"name": "real200-195",
"geometry": {
"width": 195,
"height": 450,
"dpr": 2,
"scroll": 195
},
"singleOuterDialog": true,
"inlineSafeCancel": false,
"busyCloseGuard": true,
"errors": []
},
{
"mode": "restart",
"name": "real200-195",
"geometry": {
"width": 195,
"height": 450,
"dpr": 2,
"scroll": 195
},
"singleOuterDialog": true,
"inlineSafeCancel": true,
"busyCloseGuard": true,
"errors": []
},
{
"mode": "reader",
"name": "real200-195",
"geometry": {
"width": 195,
"height": 450,
"dpr": 2,
"scroll": 195
},
"singleOuterDialog": true,
"inlineSafeCancel": false,
"busyCloseGuard": false,
"errors": []
}
]
@@ -0,0 +1,4 @@
<!DOCTYPE html>
<html lang="en"><head><meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" /><base href="/" /><title>Local raw workflow fixture</title>
<link rel="stylesheet" href="_content/ZB.MOM.WW.OtOpcUa.AdminUI/lib/bootstrap/css/bootstrap.min.css" /><ThemeHead /><link rel="stylesheet" href="_content/ZB.MOM.WW.OtOpcUa.AdminUI/css/site.css" />
</head><body><Router AppAssembly="typeof(App).Assembly"><Found Context="route"><RouteView RouteData="route" /></Found></Router><script src="_content/ZB.MOM.WW.OtOpcUa.AdminUI/js/dialog-focus.js"></script><script src="_framework/blazor.web.js"></script></body></html>
@@ -0,0 +1,18 @@
@page "/"
@rendermode InteractiveServer
@implements IDisposable
@inject FixtureState State
<ThemeShell Product="Host controls fixture">
<main class="p-3"><p class="notice">Local synthetic driver health and commands. No device, broker, SQL, deployment or real actor operations.</p>
<output id="ready">@_ready</output><output id="requests">@State.Requests</output><output id="operation">@State.LastOperation</output>
<ZB.MOM.WW.OtOpcUa.AdminUI.Components.Pages.Hosts />
</main>
</ThemeShell>
@code {
[SupplyParameterFromQuery(Name="role")]public string? Role {get;set;}
private bool _ready;
protected override void OnInitialized(){State.Role=Role??"Operator";State.Changed+=Changed;}
private void Changed()=>_=InvokeAsync(StateHasChanged);
protected override void OnAfterRender(bool firstRender){if(firstRender){_ready=true;StateHasChanged();}}
public void Dispose()=>State.Changed-=Changed;
}
@@ -0,0 +1,6 @@
@using Microsoft.AspNetCore.Components
@using Microsoft.AspNetCore.Components.Web
@using Microsoft.AspNetCore.Components.Routing
@using static Microsoft.AspNetCore.Components.Web.RenderMode
@using ZB.MOM.WW.Theme
@using HostControlsCanary
@@ -0,0 +1 @@
<Project Sdk="Microsoft.NET.Sdk.Web"><PropertyGroup><TargetFramework>net10.0</TargetFramework><Nullable>enable</Nullable><ImplicitUsings>enable</ImplicitUsings><RootNamespace>HostControlsCanary</RootNamespace></PropertyGroup><ItemGroup><ProjectReference Include="../../../../src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/ZB.MOM.WW.OtOpcUa.AdminUI.csproj"/><PackageReference Include="Microsoft.EntityFrameworkCore.InMemory"/></ItemGroup></Project>
@@ -0,0 +1,64 @@
using System.Reflection;
using System.Security.Claims;
using Akka.Actor;
using Akka.Configuration;
using HostControlsCanary;
using HostControlsCanary.Components;
using Microsoft.AspNetCore.Components.Authorization;
using Microsoft.AspNetCore.DataProtection;
using Microsoft.EntityFrameworkCore;
using ZB.MOM.WW.OtOpcUa.AdminUI.Hosts;
using ZB.MOM.WW.OtOpcUa.AdminUI.Hubs;
using ZB.MOM.WW.OtOpcUa.Commons.Interfaces;
using ZB.MOM.WW.OtOpcUa.Commons.Messages.Admin;
using ZB.MOM.WW.OtOpcUa.Configuration;
var builder=WebApplication.CreateBuilder(args);builder.WebHost.UseStaticWebAssets();
builder.Services.AddRazorComponents().AddInteractiveServerComponents();builder.Services.AddDataProtection().UseEphemeralDataProtectionProvider();
builder.Services.AddAuthorizationCore(o=>o.AddPolicy(ZB.MOM.WW.OtOpcUa.Security.Auth.AdminUiPolicies.DriverOperator,p=>p.RequireRole("Operator","Administrator")));
builder.Services.AddScoped<FixtureState>();builder.Services.AddScoped<AuthenticationStateProvider,FixturePrincipal>();
builder.Services.AddScoped<IAdminOperationsClient>(sp=>FixtureOperations.Create(sp.GetRequiredService<FixtureState>()));
builder.Services.AddDbContextFactory<OtOpcUaConfigDbContext>(o=>o.UseInMemoryDatabase("host-controls-local"));
builder.Services.AddScoped<DeployedDriverSet>();builder.Services.AddSingleton<IDriverResilienceStatusStore,InMemoryDriverResilienceStatusStore>();
var status=new InMemoryDriverStatusSnapshotStore();
foreach(var id in FixtureState.DriverIds)status.Upsert(new("synthetic-cluster",id,"Healthy",DateTime.UtcNow,null,0,DateTime.UtcNow));
builder.Services.AddSingleton<IDriverStatusSnapshotStore>(status);
var actors=ActorSystem.Create("host-controls-local",ConfigurationFactory.ParseString("""
akka.actor.provider = cluster
akka.remote.dot-netty.tcp.hostname = "127.0.0.1"
akka.remote.dot-netty.tcp.port = 0
akka.cluster.seed-nodes = []
akka.loglevel = ERROR
"""));builder.Services.AddSingleton(actors);
var app=builder.Build();app.Lifetime.ApplicationStopping.Register(()=>_=actors.Terminate());
using(var scope=app.Services.CreateScope())
{
using var db=scope.ServiceProvider.GetRequiredService<IDbContextFactory<OtOpcUaConfigDbContext>>().CreateDbContext();
for(var i=0;i<FixtureState.DriverIds.Length;i++)db.DriverInstances.Add(new(){DriverInstanceId=FixtureState.DriverIds[i],ClusterId="synthetic-cluster",Name="Synthetic driver "+(i+1),DriverType="Modbus",DriverConfig="{}",Enabled=true});
db.SaveChanges();
}
app.UseStaticFiles();app.UseAntiforgery();app.MapRazorComponents<App>().AddInteractiveServerRenderMode();app.Run();
namespace HostControlsCanary
{
public sealed class FixtureState
{
public static readonly string[] DriverIds=["synthetic-driver-with-a-deliberately-long-identifier-for-local-reflow-a","synthetic-driver-b"];
public string Role {get;set;}="Operator";public int Requests {get;set;}public string? LastOperation {get;set;}public event Action? Changed;public void Notify()=>Changed?.Invoke();
}
public sealed class FixturePrincipal(FixtureState state):AuthenticationStateProvider
{public override Task<AuthenticationState> GetAuthenticationStateAsync()=>Task.FromResult(new AuthenticationState(new ClaimsPrincipal(new ClaimsIdentity([new(ClaimTypes.Name,"synthetic-operator"),new(ClaimTypes.Role,state.Role)],"fixture"))));}
public class FixtureOperations:DispatchProxy
{
private FixtureState _state=null!;
public static IAdminOperationsClient Create(FixtureState state){var proxy=Create<IAdminOperationsClient,FixtureOperations>();((FixtureOperations)proxy)._state=state;return proxy;}
protected override object? Invoke(MethodInfo? method,object?[]? args)
{
if(method!.Name!="AskAsync")throw new NotSupportedException("Fixture refuses "+method.Name);
var result=method.GetGenericArguments().Single();
if(result==typeof(ReconnectDriverResult)&&args![0] is ReconnectDriver reconnect)return Reconnect(reconnect);
if(result==typeof(RestartDriverResult)&&args![0] is RestartDriver restart)return Restart(restart);
throw new NotSupportedException("Fixture refuses operation message");
}
private async Task<ReconnectDriverResult> Reconnect(ReconnectDriver command){_state.Requests++;_state.LastOperation="Reconnect:"+command.DriverInstanceId;_state.Notify();await Task.Delay(900);return new(true,null,command.CorrelationId);}
private async Task<RestartDriverResult> Restart(RestartDriver command){_state.Requests++;_state.LastOperation="Restart:"+command.DriverInstanceId;_state.Notify();await Task.Delay(900);return new(true,null,command.CorrelationId);}
}
}
@@ -0,0 +1,17 @@
"""Capture the still-running pre-correction fixture's actual narrow footer defect."""
import browser
from playwright.sync_api import sync_playwright
with sync_playwright() as p:
with browser.zoom_browser(p) as (ctx,worker):
page=ctx.new_page();page.set_viewport_size({'width':390,'height':900});page.goto(browser.BASE);assert browser.set_browser_zoom(worker,page,2)==2
# The running old DLL still exposes metadata in its header. It predates the description fix.
page.wait_for_selector('#ready');page.get_by_role('button',name=browser.re.compile('^Controls for Synthetic driver 1')).click()
d=page.get_by_role('dialog');browser.expect(d.get_by_role('button',name='Close',exact=True)).to_be_focused()
assert 'synthetic-driver-with-a-deliberately-long' in d.locator('.modal-header').inner_text()
d.get_by_role('button',name='Reconnect',exact=True).click();browser.expect(d).to_have_attribute('aria-busy','false',timeout=10000)
browser.expect(d.get_by_role('status')).to_have_text('Reconnect dispatched')
data=page.evaluate('''()=>({viewport:{width:innerWidth,height:innerHeight,dpr:devicePixelRatio},chrome:[...document.querySelectorAll('.modal-header,.modal-footer')].map(e=>({class:e.className,y:e.getBoundingClientRect().y,bottom:e.getBoundingClientRect().bottom}))})''')
page.screenshot(path=str(browser.HERE/'footer-real200-red.png'));(browser.HERE/'footer-real200-red.json').write_text(browser.json.dumps(data,indent=2)+'\n')
assert any(c['y']<0 or c['bottom']>data['viewport']['height'] for c in data['chrome']),data
browser.set_browser_zoom(worker,page,1)
print('CONFIRMED old header metadata clips narrow footer')
@@ -0,0 +1,18 @@
"""Capture the actual Chromium surface at native zoom without Playwright's clip framing."""
import browser,base64
from playwright.sync_api import sync_playwright
out=browser.HERE/'native-zoom';out.mkdir(exist_ok=True);results=[]
with sync_playwright() as p:
with browser.zoom_browser(p) as (ctx,worker):
page=ctx.new_page();cdp=ctx.new_cdp_session(page)
for width in [1440,390]:
page.set_viewport_size({'width':width,'height':900});page.goto(browser.BASE+'/?role=Reader');assert browser.set_browser_zoom(worker,page,2)==2
browser.expect(page.locator('#ready')).to_have_text('True');trigger=page.get_by_role('button',name=browser.re.compile('^Controls for Synthetic driver 1'));trigger.click();d=page.get_by_role('dialog');browser.expect(d.get_by_role('button',name='Close',exact=True)).to_be_focused();page.wait_for_timeout(600)
geometry=page.evaluate('''()=>({width:innerWidth,height:innerHeight,dpr:devicePixelRatio,scrollY,chrome:[...document.querySelectorAll('.modal-header,.modal-footer')].map(e=>({class:e.className,x:e.getBoundingClientRect().x,y:e.getBoundingClientRect().y,width:e.getBoundingClientRect().width,bottom:e.getBoundingClientRect().bottom}))})''')
assert geometry['width']==width//2 and geometry['dpr']==2
assert all(c['y']>=0 and c['bottom']<=geometry['height']+1 for c in geometry['chrome']),geometry
raw=cdp.send('Page.captureScreenshot',{'format':'png','fromSurface':True,'captureBeyondViewport':False});(out/(str(width//2)+'.png')).write_bytes(base64.b64decode(raw['data']))
page.keyboard.press('Escape');browser.expect(d).to_have_count(0);browser.expect(trigger).to_be_focused();results.append(geometry)
browser.set_browser_zoom(worker,page,1)
(out/'results.json').write_text(browser.json.dumps(results,indent=2)+'\n')
print('PASS2 native Chromium surface captures with fixed chrome and keyboard return')
@@ -0,0 +1,19 @@
"""Confirm the fixed dialog geometry and preserve native-zoom viewport captures."""
import browser
from playwright.sync_api import sync_playwright
out=browser.HERE/'zoom-captures';out.mkdir(exist_ok=True);results=[]
with sync_playwright() as p:
with browser.zoom_browser(p) as (ctx,worker):
page=ctx.new_page()
for width in [1440,390]:
page.set_viewport_size({'width':width,'height':900});page.goto(browser.BASE+'/?role=Reader');assert browser.set_browser_zoom(worker,page,2)==2
browser.expect(page.locator('#ready')).to_have_text('True');page.get_by_role('button',name=browser.re.compile('^Controls for Synthetic driver 1')).click();d=page.get_by_role('dialog');browser.expect(d.get_by_role('button',name='Close',exact=True)).to_be_focused();page.wait_for_timeout(600)
measure=lambda:page.evaluate('''()=>({scrollY,viewport:{width:innerWidth,height:innerHeight,dpr:devicePixelRatio},chrome:[...document.querySelectorAll('.modal-header,.modal-footer')].map(e=>({class:e.className,x:e.getBoundingClientRect().x,y:e.getBoundingClientRect().y,width:e.getBoundingClientRect().width,bottom:e.getBoundingClientRect().bottom}))})''')
before=measure();page.screenshot(path=str(out/(str(width//2)+'-before-scroll-normalization.png')))
page.evaluate('window.scrollTo(0,0)');page.wait_for_timeout(100);after=measure()
assert before['chrome']==after['chrome'],(before,after)
assert all(c['y']>=0 and c['bottom']<=after['viewport']['height']+1 for c in after['chrome']),after
page.screenshot(path=str(out/(str(width//2)+'-viewport.png')));results.append(dict(before=before,after=after))
browser.set_browser_zoom(worker,page,1)
(out/'results.json').write_text(browser.json.dumps(results,indent=2)+'\n')
print('PASS2 fixed-header/footer zoom capture confirmations; geometry unchanged by background scroll normalization')
Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

@@ -0,0 +1,92 @@
ZB.MOM.WW.OtOpcUa.Analyzers -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Analyzers/debug/ZB.MOM.WW.OtOpcUa.Analyzers.dll
ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Core.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll
ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport/debug/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.dll
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/debug/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll
ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll
ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/debug/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll
ZB.MOM.WW.OtOpcUa.Commons -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Commons/debug/ZB.MOM.WW.OtOpcUa.Commons.dll
ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll
ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll
ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll
ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll
ZB.MOM.WW.OtOpcUa.Cluster -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Cluster/debug/ZB.MOM.WW.OtOpcUa.Cluster.dll
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll
ZB.MOM.WW.OtOpcUa.Core.Scripting -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll
ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll
ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/debug/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll
ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll
ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/debug/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll
ZB.MOM.WW.OtOpcUa.Configuration -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Configuration/debug/ZB.MOM.WW.OtOpcUa.Configuration.dll
ZB.MOM.WW.OtOpcUa.Core -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Core/debug/ZB.MOM.WW.OtOpcUa.Core.dll
ZB.MOM.WW.OtOpcUa.Security -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Security/debug/ZB.MOM.WW.OtOpcUa.Security.dll
ZB.MOM.WW.OtOpcUa.OpcUaServer -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.OpcUaServer/debug/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/debug/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll
ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/debug/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll
ZB.MOM.WW.OtOpcUa.Driver.Sql -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll
ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/debug/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll
ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll
ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/debug/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll
ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.AbCip/debug/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll
ZB.MOM.WW.OtOpcUa.ControlPlane -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.ControlPlane/debug/ZB.MOM.WW.OtOpcUa.ControlPlane.dll
ZB.MOM.WW.OtOpcUa.Runtime -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Runtime/debug/ZB.MOM.WW.OtOpcUa.Runtime.dll
ZB.MOM.WW.OtOpcUa.AdminUI -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.AdminUI/debug/ZB.MOM.WW.OtOpcUa.AdminUI.dll
ZB.MOM.WW.OtOpcUa.AdminUI.Tests -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/debug/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll
Test run for /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/debug/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.81] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.HostsControlsModalTests.PendingRealPanelCommand_BlocksParentCloseUntilCompletion [FAIL]
[xUnit.net 00:00:01.84] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.HostsControlsModalTests.Controls_IsNamedWithSafeCloseAndPreservesDriverContext [FAIL]
[xUnit.net 00:00:01.86] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.HostsControlsModalTests.RetainedCloseFromA_CannotCloseReplacementB [FAIL]
Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.HostsControlsModalTests.PendingRealPanelCommand_BlocksParentCloseUntilCompletion [683 ms]
Error Message:
Bunit.ElementNotFoundException : No elements were found that matches the selector '[role=dialog]'
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.HostsControlsModalTests.PendingRealPanelCommand_BlocksParentCloseUntilCompletion() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/HostsControlsModalTests.cs:line 96
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.HostsControlsModalTests.PendingRealPanelCommand_BlocksParentCloseUntilCompletion() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/HostsControlsModalTests.cs:line 98
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.HostsControlsModalTests.PendingRealPanelCommand_BlocksParentCloseUntilCompletion() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/HostsControlsModalTests.cs:line 102
--- End of stack trace from previous location ---
Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.HostsControlsModalTests.Controls_IsNamedWithSafeCloseAndPreservesDriverContext [33 ms]
Error Message:
Shouldly.ShouldAssertException : dialog.GetAttribute("aria-modal")
should be
"true"
but was
null
Stack Trace:
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.HostsControlsModalTests.Controls_IsNamedWithSafeCloseAndPreservesDriverContext() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/HostsControlsModalTests.cs:line 63
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.HostsControlsModalTests.Controls_IsNamedWithSafeCloseAndPreservesDriverContext() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/HostsControlsModalTests.cs:line 67
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
--- End of stack trace from previous location ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.HostsControlsModalTests.RetainedCloseFromA_CannotCloseReplacementB [12 ms]
Error Message:
Bunit.ElementNotFoundException : No elements were found that matches the selector '[role=dialog]'
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.HostsControlsModalTests.RetainedCloseFromA_CannotCloseReplacementB() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/HostsControlsModalTests.cs:line 78
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.HostsControlsModalTests.RetainedCloseFromA_CannotCloseReplacementB() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/HostsControlsModalTests.cs:line 80
--- End of stack trace from previous location ---
Failed! - Failed: 3, Passed: 0, Skipped: 0, Total: 3, Duration: 748 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0)
@@ -0,0 +1,45 @@
ZB.MOM.WW.OtOpcUa.Analyzers -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Analyzers.dll
ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll
ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll
ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll
ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll
ZB.MOM.WW.OtOpcUa.Commons -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Commons.dll
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll
ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll
ZB.MOM.WW.OtOpcUa.Cluster -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Cluster.dll
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll
ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll
ZB.MOM.WW.OtOpcUa.Core.Scripting -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll
ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll
ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll
ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll
ZB.MOM.WW.OtOpcUa.Configuration -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Configuration.dll
ZB.MOM.WW.OtOpcUa.Core -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Core.dll
ZB.MOM.WW.OtOpcUa.Security -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Security.dll
ZB.MOM.WW.OtOpcUa.ControlPlane -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.ControlPlane.dll
ZB.MOM.WW.OtOpcUa.OpcUaServer -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll
ZB.MOM.WW.OtOpcUa.Runtime -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Runtime.dll
ZB.MOM.WW.OtOpcUa.AdminUI -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.AdminUI.dll
HostControlsCanary -> /tmp/ot13-host-root-canary-out/HostControlsCanary.dll
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:10.33
@@ -0,0 +1,84 @@
Determining projects to restore...
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.csproj (in 72 ms).
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Abstractions/ZB.MOM.WW.OtOpcUa.Core.Abstractions.csproj (in 76 ms).
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.csproj (in 73 ms).
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.csproj (in 87 ms).
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.csproj (in 86 ms).
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.csproj (in 87 ms).
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.csproj (in 79 ms).
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.csproj (in 13 ms).
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.csproj (in 3 ms).
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.csproj (in 170 ms).
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.csproj (in 63 ms).
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.csproj (in 2 ms).
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.csproj (in 1 ms).
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.csproj (in 195 ms).
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Commons/ZB.MOM.WW.OtOpcUa.Commons.csproj (in 195 ms).
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.csproj (in 7 ms).
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Tooling/ZB.MOM.WW.OtOpcUa.Analyzers/ZB.MOM.WW.OtOpcUa.Analyzers.csproj (in 111 ms).
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.csproj (in 39 ms).
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.csproj (in 115 ms).
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting/ZB.MOM.WW.OtOpcUa.Core.Scripting.csproj (in 234 ms).
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.csproj (in 236 ms).
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.csproj (in 16 ms).
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.csproj (in 61 ms).
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core/ZB.MOM.WW.OtOpcUa.Core.csproj (in 261 ms).
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.csproj (in 39 ms).
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer/ZB.MOM.WW.OtOpcUa.OpcUaServer.csproj (in 155 ms).
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.csproj (in 8 ms).
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.csproj (in 125 ms).
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Cluster/ZB.MOM.WW.OtOpcUa.Cluster.csproj (in 54 ms).
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Security/ZB.MOM.WW.OtOpcUa.Security.csproj (in 139 ms).
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.ControlPlane/ZB.MOM.WW.OtOpcUa.ControlPlane.csproj (in 28 ms).
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.csproj (in 21 ms).
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.csproj (in 23 ms).
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/ZB.MOM.WW.OtOpcUa.Runtime.csproj (in 185 ms).
Restored /Users/dohertj2/Desktop/OtOpcUa/docs/ui-consistency/ot13-host-controls/canary/HostControlsCanary.csproj (in 281 ms).
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.csproj (in 49 ms).
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/ZB.MOM.WW.OtOpcUa.AdminUI.csproj (in 60 ms).
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Configuration/ZB.MOM.WW.OtOpcUa.Configuration.csproj (in 122 ms).
ZB.MOM.WW.OtOpcUa.Analyzers -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Analyzers.dll
ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll
ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll
ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll
ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll
ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll
ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll
ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll
ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll
ZB.MOM.WW.OtOpcUa.Commons -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Commons.dll
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll
ZB.MOM.WW.OtOpcUa.Cluster -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Cluster.dll
ZB.MOM.WW.OtOpcUa.Core.Scripting -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll
ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll
ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll
ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll
ZB.MOM.WW.OtOpcUa.Configuration -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Configuration.dll
ZB.MOM.WW.OtOpcUa.Security -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Security.dll
ZB.MOM.WW.OtOpcUa.Core -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Core.dll
ZB.MOM.WW.OtOpcUa.ControlPlane -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.ControlPlane.dll
ZB.MOM.WW.OtOpcUa.OpcUaServer -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll
ZB.MOM.WW.OtOpcUa.Runtime -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.Runtime.dll
ZB.MOM.WW.OtOpcUa.AdminUI -> /tmp/ot13-host-root-canary-out/ZB.MOM.WW.OtOpcUa.AdminUI.dll
HostControlsCanary -> /tmp/ot13-host-root-canary-out/HostControlsCanary.dll
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:10.92
@@ -0,0 +1 @@
CONFIRMED old header metadata clips narrow footer
@@ -0,0 +1,39 @@
Traceback (most recent call last):
File "/Users/dohertj2/Desktop/OtOpcUa/docs/ui-consistency/ot13-host-controls/capture-footer-red.py", line 2, in <module>
import browser
File "/Users/dohertj2/Desktop/OtOpcUa/docs/ui-consistency/ot13-host-controls/browser.py", line 46, in <module>
c=b.new_context(viewport={'width':w,'height':900});case(c.new_page(),mode,str(w));c.close()
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/dohertj2/Desktop/OtOpcUa/docs/ui-consistency/ot13-host-controls/browser.py", line 15, in case
expect(d).to_have_accessible_name('Driver controls');expect(d).to_have_accessible_description(re.compile('Synthetic driver 1'))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.14/site-packages/playwright/sync_api/_generated.py", line 20756, in to_have_accessible_name
self._sync(
~~~~~~~~~~^
self._impl_obj.to_have_accessible_name(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
name=name, ignoreCase=ignore_case, timeout=timeout
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
)
^
File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_sync_base.py", line 115, in _sync
return task.result()
~~~~~~~~~~~^^
File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_assertions.py", line 858, in to_have_accessible_name
await self._expect_impl(
...<5 lines>...
)
File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_assertions.py", line 85, in _expect_impl
raise AssertionError(
f"{out_message}\nActual value: {actual}{error_message} {format_call_log(result.get('log'))}"
)
AssertionError: Locator expected to have accessible name
Actual value: Driver controls · Synthetic driver 1 synthetic-driver-with-a-deliberately-long-identifier-for-local-reflow-a synthetic-cluster
Call log:
- Expect "to_have_accessible_name" with timeout 5000ms
- waiting for get_by_role("dialog")
9 × locator resolved to <div tabindex="-1" role="dialog" aria-modal="true" aria-busy="false" class="modal fade show" id="ot-modal-661b6a8d3dc440e48fb5b48d9c745bc0" aria-labelledby="ot-modal-661b6a8d3dc440e48fb5b48d9c745bc0-title">…</div>
- unexpected value "Driver controls · Synthetic driver 1 synthetic-driver-with-a-deliberately-long-identifier-for-local-reflow-a synthetic-cluster"
@@ -0,0 +1,5 @@
Traceback (most recent call last):
File "/Users/dohertj2/Desktop/OtOpcUa/docs/ui-consistency/ot13-host-controls/capture-footer-red.py", line 15, in <module>
assert data['chrome'][1]['bottom']>data['viewport']['height'],data
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: {'viewport': {'width': 195, 'height': 450, 'dpr': 2}, 'chrome': [{'class': 'modal-header', 'y': -60.5, 'bottom': 343.859375}, {'class': 'modal-footer', 'y': 375.859375, 'bottom': 441.0859375}]}
@@ -0,0 +1,19 @@
{
"viewport": {
"width": 195,
"height": 450,
"dpr": 2
},
"chrome": [
{
"class": "modal-header",
"y": -60.5,
"bottom": 343.859375
},
{
"class": "modal-footer",
"y": 375.859375,
"bottom": 441.0859375
}
]
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

@@ -0,0 +1,52 @@
ZB.MOM.WW.OtOpcUa.Analyzers -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Analyzers/debug/ZB.MOM.WW.OtOpcUa.Analyzers.dll
ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Core.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll
ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll
ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll
ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/debug/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll
ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport/debug/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.dll
ZB.MOM.WW.OtOpcUa.Commons -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Commons/debug/ZB.MOM.WW.OtOpcUa.Commons.dll
ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/debug/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll
ZB.MOM.WW.OtOpcUa.Core.Scripting -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll
ZB.MOM.WW.OtOpcUa.Cluster -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Cluster/debug/ZB.MOM.WW.OtOpcUa.Cluster.dll
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll
ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll
ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/debug/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll
ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/debug/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll
ZB.MOM.WW.OtOpcUa.Configuration -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Configuration/debug/ZB.MOM.WW.OtOpcUa.Configuration.dll
ZB.MOM.WW.OtOpcUa.Security -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Security/debug/ZB.MOM.WW.OtOpcUa.Security.dll
ZB.MOM.WW.OtOpcUa.Core -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Core/debug/ZB.MOM.WW.OtOpcUa.Core.dll
ZB.MOM.WW.OtOpcUa.ControlPlane -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.ControlPlane/debug/ZB.MOM.WW.OtOpcUa.ControlPlane.dll
ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/debug/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/debug/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll
ZB.MOM.WW.OtOpcUa.OpcUaServer -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.OpcUaServer/debug/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll
ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll
ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/debug/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll
ZB.MOM.WW.OtOpcUa.Driver.Sql -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll
ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.AbCip/debug/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll
ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/debug/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll
ZB.MOM.WW.OtOpcUa.Runtime -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Runtime/debug/ZB.MOM.WW.OtOpcUa.Runtime.dll
ZB.MOM.WW.OtOpcUa.AdminUI -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.AdminUI/debug/ZB.MOM.WW.OtOpcUa.AdminUI.dll
ZB.MOM.WW.OtOpcUa.AdminUI.Tests -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/debug/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll
Test run for /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/debug/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (.NETCoreApp,Version=v10.0)
A total of 1 test files matched the specified pattern.
Passed! - Failed: 0, Passed: 21, Skipped: 0, Total: 21, Duration: 1 s - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0)
@@ -0,0 +1 @@
PASS2 native Chromium surface captures with fixed chrome and keyboard return
Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

@@ -0,0 +1,46 @@
[
{
"width": 720,
"height": 450,
"dpr": 2,
"scrollY": 130,
"chrome": [
{
"class": "modal-header",
"x": 111,
"y": 29,
"width": 498,
"bottom": 92
},
{
"class": "modal-footer",
"x": 111,
"y": 321.9296875,
"width": 498,
"bottom": 387.15625
}
]
},
{
"width": 195,
"height": 450,
"dpr": 2,
"scrollY": 660,
"chrome": [
{
"class": "modal-header",
"x": 9,
"y": 9,
"width": 177,
"bottom": 102
},
{
"class": "modal-footer",
"x": 9,
"y": 375.7734375,
"width": 177,
"bottom": 441
}
]
}
]
@@ -0,0 +1,41 @@
[
{
"text": "Healthy",
"style": "opacity:0.5;",
"color": "rgb(35, 111, 52)",
"background": "rgb(233, 246, 236)",
"ancestors": [
{
"tag": "SPAN",
"cls": "chip chip-ok",
"opacity": "0.5"
}
]
},
{
"text": "Healthy",
"style": null,
"color": "rgb(35, 111, 52)",
"background": "rgb(233, 246, 236)",
"ancestors": [
{
"tag": "DIV",
"cls": "",
"opacity": "0.5"
}
]
},
{
"text": "stale",
"style": null,
"color": "rgb(83, 93, 102)",
"background": "rgb(238, 240, 242)",
"ancestors": [
{
"tag": "DIV",
"cls": "",
"opacity": "0.5"
}
]
}
]
@@ -0,0 +1,15 @@
{
"source": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Hosts.razor",
"sha256": "34c12139f540ed5abeea87709a34ee44c87a239e855e22edc67cb99ceb3216fa",
"checks": {
"protected override async Task OnInitializedAsync()": true,
"private async Task TickAsync()": true,
"private async Task RefreshAsync()": true,
"private async Task<bool> LoadConfigAsync()": true,
"private void RebuildDriverGroups()": true,
"private (HostsClusterGroup? Group, HostsDriverRow? Driver) FindControlsDriver()": true,
"private void Refresh()": true,
"public async ValueTask DisposeAsync()": true
},
"review": "Independent peer comparison approved all eight read/lifecycle bodies, including expression-bodied RebuildDriverGroups."
}
@@ -0,0 +1,90 @@
ZB.MOM.WW.OtOpcUa.Analyzers -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Analyzers/debug/ZB.MOM.WW.OtOpcUa.Analyzers.dll
ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Core.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll
ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll
ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll
ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport/debug/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.dll
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/debug/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll
ZB.MOM.WW.OtOpcUa.Commons -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Commons/debug/ZB.MOM.WW.OtOpcUa.Commons.dll
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll
ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/debug/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll
ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll
ZB.MOM.WW.OtOpcUa.Cluster -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Cluster/debug/ZB.MOM.WW.OtOpcUa.Cluster.dll
ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll
ZB.MOM.WW.OtOpcUa.Core.Scripting -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll
ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/debug/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll
ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll
ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/debug/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll
ZB.MOM.WW.OtOpcUa.Configuration -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Configuration/debug/ZB.MOM.WW.OtOpcUa.Configuration.dll
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll
ZB.MOM.WW.OtOpcUa.Core -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Core/debug/ZB.MOM.WW.OtOpcUa.Core.dll
ZB.MOM.WW.OtOpcUa.ControlPlane -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.ControlPlane/debug/ZB.MOM.WW.OtOpcUa.ControlPlane.dll
ZB.MOM.WW.OtOpcUa.Security -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Security/debug/ZB.MOM.WW.OtOpcUa.Security.dll
ZB.MOM.WW.OtOpcUa.Driver.Sql -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/debug/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll
ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/debug/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll
ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll
ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/debug/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll
ZB.MOM.WW.OtOpcUa.OpcUaServer -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.OpcUaServer/debug/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll
ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/debug/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll
ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Driver.AbCip/debug/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll
ZB.MOM.WW.OtOpcUa.Runtime -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.Runtime/debug/ZB.MOM.WW.OtOpcUa.Runtime.dll
ZB.MOM.WW.OtOpcUa.AdminUI -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.AdminUI/debug/ZB.MOM.WW.OtOpcUa.AdminUI.dll
ZB.MOM.WW.OtOpcUa.AdminUI.Tests -> /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/debug/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll
Test run for /Users/dohertj2/Desktop/OtOpcUa/artifacts/ot11-root/bin/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/debug/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.85] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.HostsControlsModalTests.PendingRealPanelCommand_BlocksParentCloseUntilCompletion [FAIL]
[xUnit.net 00:00:01.89] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.HostsControlsModalTests.Controls_IsNamedWithSafeCloseAndPreservesDriverContext [FAIL]
[xUnit.net 00:00:01.90] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.HostsControlsModalTests.RetainedCloseFromA_CannotCloseReplacementB [FAIL]
Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.HostsControlsModalTests.PendingRealPanelCommand_BlocksParentCloseUntilCompletion [703 ms]
Error Message:
System.InvalidOperationException : No actual close callback was captured
Stack Trace:
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.HostsControlsModalTests.CaptureClose(Hosts instance) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/HostsControlsModalTests.cs:line 123
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.HostsControlsModalTests.PendingRealPanelCommand_BlocksParentCloseUntilCompletion() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/HostsControlsModalTests.cs:line 95
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.HostsControlsModalTests.PendingRealPanelCommand_BlocksParentCloseUntilCompletion() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/HostsControlsModalTests.cs:line 98
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.HostsControlsModalTests.PendingRealPanelCommand_BlocksParentCloseUntilCompletion() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/HostsControlsModalTests.cs:line 102
--- End of stack trace from previous location ---
Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.HostsControlsModalTests.Controls_IsNamedWithSafeCloseAndPreservesDriverContext [38 ms]
Error Message:
Shouldly.ShouldAssertException : dialog.GetAttribute("aria-modal")
should be
"true"
but was
null
Stack Trace:
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.HostsControlsModalTests.Controls_IsNamedWithSafeCloseAndPreservesDriverContext() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/HostsControlsModalTests.cs:line 63
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.HostsControlsModalTests.Controls_IsNamedWithSafeCloseAndPreservesDriverContext() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/HostsControlsModalTests.cs:line 67
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
--- End of stack trace from previous location ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.HostsControlsModalTests.RetainedCloseFromA_CannotCloseReplacementB [10 ms]
Error Message:
System.InvalidOperationException : No actual close callback was captured
Stack Trace:
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.HostsControlsModalTests.CaptureClose(Hosts instance) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/HostsControlsModalTests.cs:line 123
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.HostsControlsModalTests.RetainedCloseFromA_CannotCloseReplacementB() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/HostsControlsModalTests.cs:line 76
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.HostsControlsModalTests.RetainedCloseFromA_CannotCloseReplacementB() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/HostsControlsModalTests.cs:line 80
--- End of stack trace from previous location ---
Failed! - Failed: 3, Passed: 0, Skipped: 0, Total: 3, Duration: 769 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0)
@@ -0,0 +1,5 @@
{
"dialogFocusSourceAndHttpSha256": "7f63bd6c5181d0b70edc2e87e086fab4dfba96adabd7a19737f9b3b4f18296d5",
"hostsSourceSha256": "34c12139f540ed5abeea87709a34ee44c87a239e855e22edc67cb99ceb3216fa",
"privateFixtureOnly": true
}
@@ -0,0 +1 @@
PASS2 fixed-header/footer zoom capture confirmations; geometry unchanged by background scroll normalization
Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

@@ -0,0 +1,102 @@
[
{
"before": {
"scrollY": 130,
"viewport": {
"width": 720,
"height": 450,
"dpr": 2
},
"chrome": [
{
"class": "modal-header",
"x": 111,
"y": 29,
"width": 498,
"bottom": 92
},
{
"class": "modal-footer",
"x": 111,
"y": 321.9296875,
"width": 498,
"bottom": 387.15625
}
]
},
"after": {
"scrollY": 43,
"viewport": {
"width": 720,
"height": 450,
"dpr": 2
},
"chrome": [
{
"class": "modal-header",
"x": 111,
"y": 29,
"width": 498,
"bottom": 92
},
{
"class": "modal-footer",
"x": 111,
"y": 321.9296875,
"width": 498,
"bottom": 387.15625
}
]
}
},
{
"before": {
"scrollY": 660,
"viewport": {
"width": 195,
"height": 450,
"dpr": 2
},
"chrome": [
{
"class": "modal-header",
"x": 9,
"y": 9,
"width": 177,
"bottom": 102
},
{
"class": "modal-footer",
"x": 9,
"y": 375.7734375,
"width": 177,
"bottom": 441
}
]
},
"after": {
"scrollY": 587,
"viewport": {
"width": 195,
"height": 450,
"dpr": 2
},
"chrome": [
{
"class": "modal-header",
"x": 9,
"y": 9,
"width": 177,
"bottom": 102
},
{
"class": "modal-footer",
"x": 9,
"y": 375.7734375,
"width": 177,
"bottom": 441
}
]
}
}
]
@@ -295,6 +295,7 @@ else
Reconnect/Restart buttons on DriverOperator. *@
<button type="button"
class="btn btn-sm btn-outline-secondary"
aria-label="@($"Controls for {d.Name ?? d.DriverInstanceId} ({d.DriverInstanceId})")"
@onclick="() => OpenControls(d.DriverInstanceId)"
title="Show live status, resilience and driver controls">
Controls
@@ -309,47 +310,34 @@ else
</section>
}
@* Controls dialog (#546, reworked from an inline expander row — the full-width panel inside the
table made an already-dense page unreadable). Only one dialog at a time; the id survives the
5 s RebuildDriverGroups because it is held on the component, and the row is re-resolved from
the CURRENT groups each render so the header/Enabled always track live state. A driver that
vanishes from the snapshot (undeployed) closes the dialog by rendering nothing.
Enabled participates in the panel's key on purpose. The panel decides whether to subscribe
ONCE, in OnInitializedAsync (`if (!Enabled) return;`), and has no OnParametersSet hook — so a
live config edit that flips Enabled (surfaced by the 5 s LoadConfigAsync refresh) would
re-render the panel's "Disabled — not deployed" markup while its two store subscriptions and
its staleness timer stayed wired underneath. Keying on the flag recycles the component:
the old instance is disposed (unsubscribing both stores, draining both timers) and a fresh
one mounts against the new value. Closing the dialog disposes the panel the same way. *@
@if (FindControlsDriver() is var (cg, cd) && cd is not null && cg is not null)
{
<div class="modal-backdrop fade show" style="display:block"></div>
<div class="modal fade show" tabindex="-1" role="dialog" style="display:block">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">
@(cd.Name ?? cd.DriverInstanceId)
<span class="mono small text-muted ms-2">@cd.DriverInstanceId</span>
<span class="chip chip-idle ms-2">@cg.ClusterId</span>
</h5>
<button type="button" class="btn-close" aria-label="Close" @onclick="CloseControls"></button>
</div>
<div class="modal-body">
<DriverStatusPanel @key="@($"detail-{cd.DriverInstanceId}-{cd.Enabled}")"
DriverInstanceId="@cd.DriverInstanceId"
ClusterId="@cg.ClusterId"
Enabled="@cd.Enabled" />
</div>
<div class="modal-footer">
<button type="button" class="btn btn-outline-secondary" @onclick="CloseControls">Close</button>
</div>
</div>
</div>
</div>
}
}
@* The identity survives ordinary health/config refreshes, but a changed driver/Enabled context
retires both the control panel and its callbacks. Only this outer dialog owns focus trapping;
the panel's restart confirmation remains an inline group. *@
@{
var (cg, cd) = FindControlsDriver();
var controlsPresentation = PrepareControls(cg, cd);
var controlsIdentity = _controlsIdentity;
}
@if (cd is not null && cg is not null)
{
<ModalFrame Visible="true" Title="Driver controls" DialogClass="modal-lg modal-dialog-scrollable text-break"
Description="@($"{cd.Name ?? cd.DriverInstanceId} · Driver {cd.DriverInstanceId} · Cluster {cg.ClusterId}")"
Target="@controlsPresentation" Busy="@_controlsBusy" OnClose="() => CloseControls(controlsPresentation)">
<ChildContent>
<DriverStatusPanel @key="@($"detail-{controlsPresentation}-{cd.DriverInstanceId}-{cd.Enabled}")"
DriverInstanceId="@cd.DriverInstanceId"
ClusterId="@cg.ClusterId"
Enabled="@cd.Enabled"
BusyChanged="busy => ControlsBusyChanged(controlsPresentation, controlsIdentity, busy)" />
</ChildContent>
<Footer>
<button type="button" class="btn btn-outline-secondary" data-initial-focus="true" disabled="@_controlsBusy" @onclick="() => CloseControls(controlsPresentation)">Close</button>
</Footer>
</ModalFrame>
}
</PageErrorBoundary>
@code {
@@ -378,6 +366,9 @@ else
// the row records, so it survives the 5 s timer's RebuildDriverGroups — which replaces every
// HostsDriverRow instance and would otherwise close a dialog an operator just opened.
private string? _controlsDriverId;
private long _controlsGeneration;
private object? _controlsIdentity;
private bool _controlsBusy;
// Overlap guard: a tick whose config load outruns the 5 s interval must not stack behind the
// next one. A manual Refresh landing on top of an in-flight tick is a no-op by the same guard.
@@ -539,9 +530,42 @@ else
=> _driverGroups = HostsDriverView.Build(DriverStore.GetAll(), _nodes, _instances);
// Open/close the Controls dialog. Ids are globally unique, so no cluster qualifier is needed.
private void OpenControls(string driverInstanceId) => _controlsDriverId = driverInstanceId;
private void OpenControls(string driverInstanceId)
{
if (_disposed || _controlsBusy) return;
++_controlsGeneration;
_controlsDriverId = driverInstanceId;
_controlsIdentity = null;
_controlsBusy = false;
}
private void CloseControls() => _controlsDriverId = null;
private long PrepareControls(HostsClusterGroup? group, HostsDriverRow? driver)
{
object? identity = driver is null || group is null ? null : (driver.DriverInstanceId, driver.Enabled, group.ClusterId);
if (!Equals(_controlsIdentity, identity))
{
_controlsIdentity = identity;
++_controlsGeneration;
_controlsBusy = false;
}
// A vanished driver closes permanently; its later reappearance cannot reopen an old request.
if (driver is null) _controlsDriverId = null;
return _controlsGeneration;
}
private void ControlsBusyChanged(long generation, object? identity, bool busy)
{
if (_disposed || generation != _controlsGeneration || _controlsDriverId is null || !Equals(identity, _controlsIdentity)) return;
_controlsBusy = busy;
}
private void CloseControls(long generation)
{
if (_disposed || generation != _controlsGeneration || _controlsBusy) return;
_controlsDriverId = null;
_controlsIdentity = null;
++_controlsGeneration;
}
// Resolve the open dialog's driver from the CURRENT groups (the row records are replaced on
// every rebuild, so the dialog must never cache one). Null row ⇒ the driver vanished from the
@@ -0,0 +1,197 @@
using System.Reflection;
using Akka.Actor;
using Akka.Configuration;
using Bunit;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Rendering;
using Microsoft.AspNetCore.Components.RenderTree;
using Microsoft.AspNetCore.Components.Web;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using Shouldly;
using Xunit;
using ZB.MOM.WW.OtOpcUa.AdminUI.Hosts;
using ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers;
using ZB.MOM.WW.OtOpcUa.AdminUI.Hubs;
using ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Uns;
using ZB.MOM.WW.OtOpcUa.Commons.Interfaces;
using ZB.MOM.WW.OtOpcUa.Commons.Messages.Admin;
using ZB.MOM.WW.OtOpcUa.Configuration;
using ZB.MOM.WW.OtOpcUa.Security.Auth;
using HostsPage=ZB.MOM.WW.OtOpcUa.AdminUI.Components.Pages.Hosts;
namespace ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages;
/// <summary>Actual Hosts controls retain their own presentation and pending command boundary.</summary>
[Trait("Category","Unit")]
public sealed class HostsControlsModalTests:BunitContext
{
private ActorSystem Configure()
{
var auth=AddAuthorization();auth.SetAuthorized("fixture");auth.SetPolicies(AdminUiPolicies.DriverOperator);
JSInterop.Setup<bool>("otDialog.activate",_=>true).SetResult(true);
JSInterop.SetupVoid("otDialog.update",_=>true).SetVoidResult();JSInterop.SetupVoid("otDialog.deactivate",_=>true).SetVoidResult();
JSInterop.SetupVoid("Blazor._internal.domWrapper.focus",_=>true).SetVoidResult();
var factory=RawTreeTestDb.Factory("controls-"+Guid.NewGuid().ToString("N"));
using(var db=factory.CreateDbContext())
{
foreach(var id in new[]{"A","B"})db.DriverInstances.Add(new(){DriverInstanceId=id,ClusterId="fixture",Name="Driver "+id,DriverType="Modbus",DriverConfig="{}",Enabled=true});
db.SaveChanges();
}
var store=new InMemoryDriverStatusSnapshotStore();
foreach(var id in new[]{"A","B"})store.Upsert(new("fixture",id,"Healthy",DateTime.UtcNow,null,0,DateTime.UtcNow));
Services.AddSingleton(factory);Services.AddSingleton(new DeployedDriverSet(factory));
Services.AddSingleton<IDriverStatusSnapshotStore>(store);Services.AddSingleton<IDriverResilienceStatusStore,InMemoryDriverResilienceStatusStore>();
Services.AddSingleton(DispatchProxy.Create<IAdminOperationsClient,Operations>());
var actors=ActorSystem.Create("controls-"+Guid.NewGuid().ToString("N"),ConfigurationFactory.ParseString("""
akka.actor.provider = cluster
akka.remote.dot-netty.tcp.hostname = "127.0.0.1"
akka.remote.dot-netty.tcp.port = 0
akka.cluster.seed-nodes = []
akka.loglevel = ERROR
"""));
Services.AddSingleton(actors);return actors;
}
private static AngleSharp.Dom.IElement Controls(IRenderedComponent<HostsPage> cut,int index)=>cut.FindAll("button").Where(b=>b.TextContent.Trim()=="Controls").ElementAt(index);
[Fact]
public async Task Controls_IsNamedWithSafeCloseAndPreservesDriverContext()
{
using var actors=Configure();
try
{
var cut=Render<HostsPage>();Controls(cut,0).Click();var dialog=cut.Find("[role=dialog]");
dialog.GetAttribute("aria-modal").ShouldBe("true");cut.Find("#"+dialog.GetAttribute("aria-labelledby")).TextContent.ShouldBe("Driver controls");
cut.Find("#"+dialog.GetAttribute("aria-describedby")).TextContent.ShouldContain("Driver A");
cut.Find("[data-initial-focus]").TextContent.ShouldBe("Close");
cut.Markup.ShouldContain("Healthy");
}
finally {await DisposeComponentsAsync();await actors.Terminate();}
}
[Fact]
public async Task RetainedCloseFromA_CannotCloseReplacementB()
{
using var actors=Configure();
try
{
var cut=Render<HostsPage>();Controls(cut,0).Click();var close=CaptureClose(cut.Instance);
Controls(cut,1).Click();await cut.InvokeAsync(close);cut.Render();
cut.Find("[role=dialog]").TextContent.ShouldContain("Driver B");
}
finally {await DisposeComponentsAsync();await actors.Terminate();}
}
[Fact]
public async Task PendingRealPanelCommand_BlocksParentCloseUntilCompletion()
{
using var actors=Configure();
var operations=(Operations)Services.GetRequiredService<IAdminOperationsClient>();
try
{
var cut=Render<HostsPage>();Controls(cut,0).Click();
var reconnect=cut.FindAll("button").Single(b=>b.TextContent.Trim()=="Reconnect").TriggerEventAsync("onclick",new MouseEventArgs());
await operations.Entered.Task.WaitAsync(TimeSpan.FromSeconds(10),Xunit.TestContext.Current.CancellationToken);
try
{
await cut.InvokeAsync(CaptureClose(cut.Instance));cut.Render();
cut.Find("[role=dialog]").GetAttribute("aria-busy").ShouldBe("true");
}
finally {operations.Reply.TrySetResult(new(true,null,Guid.Empty));await reconnect;}
cut.Find("[role=dialog]").GetAttribute("aria-busy").ShouldBe("false");
await cut.InvokeAsync(CaptureClose(cut.Instance));cut.Render();cut.FindAll("[role=dialog]").Count.ShouldBe(0);
}
finally {operations.Reply.TrySetResult(new(true,null,Guid.Empty));await DisposeComponentsAsync();await actors.Terminate();}
}
[Fact]
public async Task RetiredBusyCallback_CannotUnlockNewDriverCommand()
{
using var actors=Configure();
try
{
var cut=Render<HostsPage>();Controls(cut,0).Click();var oldBusy=cut.FindComponent<DriverStatusPanel>().Instance.BusyChanged;
Controls(cut,1).Click();var currentBusy=cut.FindComponent<DriverStatusPanel>().Instance.BusyChanged;
await cut.InvokeAsync(()=>currentBusy.InvokeAsync(true));
await cut.InvokeAsync(()=>oldBusy.InvokeAsync(false));
cut.Find("[role=dialog]").GetAttribute("aria-busy").ShouldBe("true");
await cut.InvokeAsync(()=>currentBusy.InvokeAsync(false));
cut.Find("[role=dialog]").GetAttribute("aria-busy").ShouldBe("false");
}
finally {await DisposeComponentsAsync();await actors.Terminate();}
}
[Fact]
public async Task OrdinaryConfigRefresh_PreservesPanelButEnabledChangeRetiresItsBusyCallback()
{
using var actors=Configure();
try
{
var cut=Render<HostsPage>();Controls(cut,0).Click();var panel=cut.FindComponent<DriverStatusPanel>().Instance;
var factory=Services.GetRequiredService<IDbContextFactory<OtOpcUaConfigDbContext>>();
using(var db=factory.CreateDbContext()){db.DriverInstances.Single(d=>d.DriverInstanceId=="A").Name="Updated driver name";db.SaveChanges();}
cut.Find("button").Click();cut.Find("[role=dialog]").TextContent.ShouldContain("Updated driver name");
cut.FindComponent<DriverStatusPanel>().Instance.ShouldBeSameAs(panel);
var oldBusy=panel.BusyChanged;await cut.InvokeAsync(()=>oldBusy.InvokeAsync(true));
using(var db=factory.CreateDbContext()){db.DriverInstances.Single(d=>d.DriverInstanceId=="A").Enabled=false;db.SaveChanges();}
cut.Find("button").Click();
cut.FindComponent<DriverStatusPanel>().Instance.ShouldNotBeSameAs(panel);
cut.Find("[role=dialog]").TextContent.ShouldContain("Disabled");
await cut.InvokeAsync(()=>oldBusy.InvokeAsync(true));
cut.Find("[role=dialog]").GetAttribute("aria-busy").ShouldBe("false");
}
finally {await DisposeComponentsAsync();await actors.Terminate();}
}
[Fact]
public async Task VanishedDriver_ClosesPermanentlyAndCannotReopenFromLaterSnapshot()
{
using var actors=Configure();
try
{
var cut=Render<HostsPage>();Controls(cut,0).Click();var store=Services.GetRequiredService<IDriverStatusSnapshotStore>();
store.EvictUnconfiguredStale(new HashSet<string>(),DateTime.UtcNow.AddSeconds(1));cut.Find("button").Click();
cut.FindAll("[role=dialog]").Count.ShouldBe(0);
store.Upsert(new("fixture","A","Healthy",DateTime.UtcNow,null,0,DateTime.UtcNow));cut.Find("button").Click();
cut.FindAll("[role=dialog]").Count.ShouldBe(0);Controls(cut,0).TextContent.Trim().ShouldBe("Controls");
}
finally {await DisposeComponentsAsync();await actors.Terminate();}
}
// Capture the actual rendered callback, including the original native shell before migration.
#pragma warning disable BL0006
private static Func<Task> CaptureClose(HostsPage instance)
{
object? action=null;
void Visit(RenderFragment fragment)
{
using var builder=new RenderTreeBuilder();fragment(builder);var frames=builder.GetFrames();
for(var i=0;i<frames.Count;i++)
{
var f=frames.Array[i];if(f.FrameType!=RenderTreeFrameType.Attribute)continue;
if(f.AttributeName=="OnClose" || f.AttributeName=="onclick")action=f.AttributeValue;
if(f.AttributeValue is RenderFragment child)Visit(child);
}
}
Visit(builder=>typeof(HostsPage).GetMethod("BuildRenderTree",BindingFlags.Instance|BindingFlags.NonPublic)!.Invoke(instance,[builder]));
return action switch
{
EventCallback callback=>()=>callback.InvokeAsync(),
EventCallback<MouseEventArgs> callback=>()=>callback.InvokeAsync(new()),
Action callback=>()=>{callback();return Task.CompletedTask;},
Func<Task> callback=>callback,
_=>throw new InvalidOperationException("No actual close callback was captured")
};
}
#pragma warning restore BL0006
public class Operations:DispatchProxy
{
public TaskCompletionSource Entered {get;}=new(TaskCreationOptions.RunContinuationsAsynchronously);
public TaskCompletionSource<ReconnectDriverResult> Reply {get;}=new(TaskCreationOptions.RunContinuationsAsynchronously);
protected override object? Invoke(MethodInfo? method,object?[]? args)
{
if(method!.Name=="AskAsync"&&method.GetGenericArguments().Single()==typeof(ReconnectDriverResult)){Entered.TrySetResult();return Reply.Task;}
throw new NotSupportedException("Fixture rejects other operations");
}
}
}