diff --git a/docs/ui-consistency/evidence/ot13-collection-inline/1440-invalid.png b/docs/ui-consistency/evidence/ot13-collection-inline/1440-invalid.png new file mode 100644 index 000000000..de4e25ffd Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-collection-inline/1440-invalid.png differ diff --git a/docs/ui-consistency/evidence/ot13-collection-inline/390-invalid.png b/docs/ui-consistency/evidence/ot13-collection-inline/390-invalid.png new file mode 100644 index 000000000..2f317e198 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-collection-inline/390-invalid.png differ diff --git a/docs/ui-consistency/evidence/ot13-collection-inline/README.md b/docs/ui-consistency/evidence/ot13-collection-inline/README.md new file mode 100644 index 000000000..e06166ba2 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-collection-inline/README.md @@ -0,0 +1,23 @@ +# OT-13 inline collection editor acceptance + +CollectionEditor now renders a named inline edit group within the existing driver dialog. It creates no second backdrop, modal, focus trap or native Escape owner. Local Save commits the cloned working row into the parent draft; Cancel discards it. The existing outer driver Save remains the persistent configuration action. Parent Escape closes that outer dialog and discards the uncommitted local row, with the existing invoker restoration. + +## Preserved contracts and corrections + +Public parameter declarations are unchanged. NewRow/Clone/Validate, mutable List ownership, default rows and OPC UA serializer/URL validation remain. The sole current production consumer is unchanged OpcUaClientDriverForm. The editor captures its list, row identity, cloned working copy, validation/template and ItemsChanged callback. Target/callback replacement and disposal retire old handlers; queued A Save/Cancel cannot commit/close B. Delete resolves its original row rather than a captured index after reorder. A removed original cannot overwrite a different row. + +Local notifications are single-flight. Already committed originating A draft notifications continue, but old success/exception cleanup cannot unlock B; current notification errors retain propagation. This does not claim to guard arbitrary caller code inside its own awaited callback. Current anchors return to the originating Edit/Add control (including a newly rendered row after replacement); heading/error focus remains inside the parent dialog. Removed-row recovery falls back to Add. No shared JS/package/API/schema/auth change. + +The actual expanded OPC UA form also reproduced lost parent chrome: at1440 the header y=-224/footer bottom2539 exceeded the900px viewport;390 was likewise outside. DriverConfigModal receives only the existing modal-dialog-scrollable class. Its entire @code body remains byte-identical. Final header/footer geometry fits1440/390 and actual200%720/195 viewports. + +## Verification + +- baseline.log/baseline.trx:3valid behavior failures and1positive before production edits: legacy nested shell, captured A Save committing B, reordered Delete targeting the wrong row. Actual rendered callbacks are captured before retirement; this is not a stale bUnit event-ID test. +- acceptance.log/acceptance.trx:24passed/0skipped, comprising9new lifecycle cases plus15existing OPC UA serialization cases. Covers clone/cancel/validation, captured Save/Cancel, reordered/removed rows, pending A/B callback success+exception and actual disposal. The earlier expanded23pass/1failure was a dispatcher misuse in the disposal test; retained and corrected by invoking its captured callback on the renderer, without a production change. +- Native browser-confirmation.log/browser-results.json:4actual DriverConfigModal > OpcUaClientDriverForm > CollectionEditor scenes,14checks each at1440/390 and real Chromium200%720/195 CSS pixels/DPR2. Names/relationships, one dialog/backdrop, heading/error focus, clone discard, Add/Edit/Delete draft-only behavior, exact trigger return, one captured parent write, preserved endpoint URL list/scalar ownership, outer Escape/discard/reopen, fixed parent chrome, no document overflow or page errors all pass. The fake service accepts only fixture driver read/update; no device, probe, broker, database or real fleet operation. +- Native first run retained a harness timeout seeking parent Save rather than the real Save changes label; earlier local assertions had passed. Correcting that selector did not change production save behavior. chrome-before.json and two actual CDP captures retain the separate measured geometry defect; the one-class parent correction is explicit. +- Actual viewport PNGs use direct CDP fromSurface=true/captureBeyondViewport=false, including native zoom. Root visually inspected the195px invalid view; full identity and parent footer remain available while the body scrolls. +- Initial fixture build had one nullable fixture cast error (initial-fixture-nullability.log), fixed with explicit type matching; corrected/final Release builds have0warnings/errors. +- source-boundaries.json records exact production/test hashes, unchanged public parameters, parent code parity and exact served/source frozen dialog-focus module bytes. Primary independently reviewed source and final test/native evidence without a blocker. + +All dotnet tests used the private SQL environment runner; this focused filter does not claim to execute the SQL collections. The owned loopback18143 runtime is stopped (cleanup.json); shared private SQL, other canaries and existing rigs were untouched. VoiceOver testing is excluded by the user. Final whole-consumer acceptance remains the primary OT-14 gate. diff --git a/docs/ui-consistency/evidence/ot13-collection-inline/acceptance.log b/docs/ui-consistency/evidence/ot13-collection-inline/acceptance.log new file mode 100644 index 000000000..93112c942 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-collection-inline/acceptance.log @@ -0,0 +1,53 @@ + + 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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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. +Results File: /Users/dohertj2/Desktop/OtOpcUa/docs/ui-consistency/evidence/ot13-collection-inline/acceptance.trx + +Passed! - Failed: 0, Passed: 24, Skipped: 0, Total: 24, Duration: 248 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0) diff --git a/docs/ui-consistency/evidence/ot13-collection-inline/acceptance.trx b/docs/ui-consistency/evidence/ot13-collection-inline/acceptance.trx new file mode 100644 index 000000000..ea06ad70e --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-collection-inline/acceptance.trx @@ -0,0 +1,172 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v3.0.2+dd36e86129 (64-bit .NET 10.0.14) +[xUnit.net 00:00:00.39] Discovering: ZB.MOM.WW.OtOpcUa.AdminUI.Tests +[xUnit.net 00:00:02.35] Discovered: ZB.MOM.WW.OtOpcUa.AdminUI.Tests +[xUnit.net 00:00:02.48] Starting: ZB.MOM.WW.OtOpcUa.AdminUI.Tests +[xUnit.net 00:00:02.76] Finished: ZB.MOM.WW.OtOpcUa.AdminUI.Tests + + + + \ No newline at end of file diff --git a/docs/ui-consistency/evidence/ot13-collection-inline/baseline.log b/docs/ui-consistency/evidence/ot13-collection-inline/baseline.log new file mode 100644 index 000000000..c710b37b7 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-collection-inline/baseline.log @@ -0,0 +1,109 @@ + + 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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.24] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CollectionEditorLifecycleTests.CapturedDelete_FollowsOriginalRowAfterReorder [FAIL] +[xUnit.net 00:00:01.29] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CollectionEditorLifecycleTests.CapturedSaveA_CannotCommitOrCloseReplacementB [FAIL] +[xUnit.net 00:00:01.30] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CollectionEditorLifecycleTests.LocalEditor_IsNamedInlineWithoutNestedDialogOrBackdrop [FAIL] + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CollectionEditorLifecycleTests.CapturedDelete_FollowsOriginalRowAfterReorder [170 ms] + Error Message: + Shouldly.ShouldAssertException : rows.Reverse();cut.Render();await cut.InvokeAsync(removeA);cut.Render();rows + should be +[ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CollectionEditorLifecycleTests+Row (9247418)] + but was +[ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CollectionEditorLifecycleTests+Row (55857246)] + difference +[*ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CollectionEditorLifecycleTests+Row (55857246)*] + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CollectionEditorLifecycleTests.CapturedDelete_FollowsOriginalRowAfterReorder() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CollectionEditorLifecycleTests.cs:line 41 + 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.CollectionEditorLifecycleTests.CapturedSaveA_CannotCommitOrCloseReplacementB [45 ms] + Error Message: + Shouldly.ShouldAssertException : await cut.InvokeAsync(oldSave);cut.Render();b[0].Text + should be +"B" + but was +"B draft" + difference +Difference | | | | | | | + | \|/ \|/ \|/ \|/ \|/ \|/ +Index | 0 1 2 3 4 5 6 +Expected Value | B +Actual Value | B \s d r a f t +Expected Code | 66 +Actual Code | 66 32 100 114 97 102 116 + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CollectionEditorLifecycleTests.CapturedSaveA_CannotCommitOrCloseReplacementB() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CollectionEditorLifecycleTests.cs:line 34 + 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.CollectionEditorLifecycleTests.LocalEditor_IsNamedInlineWithoutNestedDialogOrBackdrop [3 ms] + Error Message: + Shouldly.ShouldAssertException : cut.FindAll("[role=dialog],.modal-backdrop") + should be empty but had +2 + items and was +[AngleSharp.Html.Dom.HtmlDivElement (19967849), AngleSharp.Html.Dom.HtmlDivElement (42196733)] + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CollectionEditorLifecycleTests.LocalEditor_IsNamedInlineWithoutNestedDialogOrBackdrop() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CollectionEditorLifecycleTests.cs:line 25 + at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) + at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) +Results File: /Users/dohertj2/Desktop/OtOpcUa/docs/ui-consistency/evidence/ot13-collection-inline/baseline.trx + +Failed! - Failed: 3, Passed: 1, Skipped: 0, Total: 4, Duration: 235 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0) diff --git a/docs/ui-consistency/evidence/ot13-collection-inline/baseline.trx b/docs/ui-consistency/evidence/ot13-collection-inline/baseline.trx new file mode 100644 index 000000000..016a8f77d --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-collection-inline/baseline.trx @@ -0,0 +1,169 @@ + + + + + + + + + + + + Shouldly.ShouldAssertException : await cut.InvokeAsync(oldSave);cut.Render();b[0].Text + should be +"B" + but was +"B draft" + difference +Difference | | | | | | | + | \|/ \|/ \|/ \|/ \|/ \|/ +Index | 0 1 2 3 4 5 6 +Expected Value | B +Actual Value | B \s d r a f t +Expected Code | 66 +Actual Code | 66 32 100 114 97 102 116 + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CollectionEditorLifecycleTests.CapturedSaveA_CannotCommitOrCloseReplacementB() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CollectionEditorLifecycleTests.cs:line 34 + 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) + + + + + + + Shouldly.ShouldAssertException : rows.Reverse();cut.Render();await cut.InvokeAsync(removeA);cut.Render();rows + should be +[ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CollectionEditorLifecycleTests+Row (9247418)] + but was +[ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CollectionEditorLifecycleTests+Row (55857246)] + difference +[*ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CollectionEditorLifecycleTests+Row (55857246)*] + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CollectionEditorLifecycleTests.CapturedDelete_FollowsOriginalRowAfterReorder() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CollectionEditorLifecycleTests.cs:line 41 + 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) + + + + + + + Shouldly.ShouldAssertException : cut.FindAll("[role=dialog],.modal-backdrop") + should be empty but had +2 + items and was +[AngleSharp.Html.Dom.HtmlDivElement (19967849), AngleSharp.Html.Dom.HtmlDivElement (42196733)] + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CollectionEditorLifecycleTests.LocalEditor_IsNamedInlineWithoutNestedDialogOrBackdrop() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CollectionEditorLifecycleTests.cs:line 25 + at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) + at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v3.0.2+dd36e86129 (64-bit .NET 10.0.14) +[xUnit.net 00:00:00.27] Discovering: ZB.MOM.WW.OtOpcUa.AdminUI.Tests +[xUnit.net 00:00:00.92] Discovered: ZB.MOM.WW.OtOpcUa.AdminUI.Tests +[xUnit.net 00:00:01.03] Starting: ZB.MOM.WW.OtOpcUa.AdminUI.Tests +[xUnit.net 00:00:01.24] Shouldly.ShouldAssertException : rows.Reverse();cut.Render();await cut.InvokeAsync(removeA);cut.Render();rows +[xUnit.net 00:00:01.24] should be +[xUnit.net 00:00:01.24] [ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CollectionEditorLifecycleTests+Row (9247418)] +[xUnit.net 00:00:01.24] but was +[xUnit.net 00:00:01.24] [ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CollectionEditorLifecycleTests+Row (55857246)] +[xUnit.net 00:00:01.24] difference +[xUnit.net 00:00:01.24] [*ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CollectionEditorLifecycleTests+Row (55857246)*] +[xUnit.net 00:00:01.24] Stack Trace: +[xUnit.net 00:00:01.24] /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CollectionEditorLifecycleTests.cs(41,0): at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CollectionEditorLifecycleTests.CapturedDelete_FollowsOriginalRowAfterReorder() +[xUnit.net 00:00:01.24] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +[xUnit.net 00:00:01.24] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +[xUnit.net 00:00:01.24] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options) +[xUnit.net 00:00:01.24] --- End of stack trace from previous location --- +[xUnit.net 00:00:01.24] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +[xUnit.net 00:00:01.24] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +[xUnit.net 00:00:01.24] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options) +[xUnit.net 00:00:01.29] Shouldly.ShouldAssertException : await cut.InvokeAsync(oldSave);cut.Render();b[0].Text +[xUnit.net 00:00:01.29] should be +[xUnit.net 00:00:01.29] "B" +[xUnit.net 00:00:01.29] but was +[xUnit.net 00:00:01.29] "B draft" +[xUnit.net 00:00:01.29] difference +[xUnit.net 00:00:01.29] Difference | | | | | | | +[xUnit.net 00:00:01.29] | \|/ \|/ \|/ \|/ \|/ \|/ +[xUnit.net 00:00:01.29] Index | 0 1 2 3 4 5 6 +[xUnit.net 00:00:01.29] Expected Value | B +[xUnit.net 00:00:01.29] Actual Value | B \s d r a f t +[xUnit.net 00:00:01.29] Expected Code | 66 +[xUnit.net 00:00:01.29] Actual Code | 66 32 100 114 97 102 116 +[xUnit.net 00:00:01.29] Stack Trace: +[xUnit.net 00:00:01.29] /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CollectionEditorLifecycleTests.cs(34,0): at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CollectionEditorLifecycleTests.CapturedSaveA_CannotCommitOrCloseReplacementB() +[xUnit.net 00:00:01.29] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +[xUnit.net 00:00:01.29] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +[xUnit.net 00:00:01.29] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options) +[xUnit.net 00:00:01.29] --- End of stack trace from previous location --- +[xUnit.net 00:00:01.29] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +[xUnit.net 00:00:01.29] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +[xUnit.net 00:00:01.29] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options) +[xUnit.net 00:00:01.30] Shouldly.ShouldAssertException : cut.FindAll("[role=dialog],.modal-backdrop") +[xUnit.net 00:00:01.30] should be empty but had +[xUnit.net 00:00:01.30] 2 +[xUnit.net 00:00:01.30] items and was +[xUnit.net 00:00:01.30] [AngleSharp.Html.Dom.HtmlDivElement (19967849), AngleSharp.Html.Dom.HtmlDivElement (42196733)] +[xUnit.net 00:00:01.30] Stack Trace: +[xUnit.net 00:00:01.30] /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CollectionEditorLifecycleTests.cs(25,0): at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CollectionEditorLifecycleTests.LocalEditor_IsNamedInlineWithoutNestedDialogOrBackdrop() +[xUnit.net 00:00:01.30] at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) +[xUnit.net 00:00:01.30] at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) +[xUnit.net 00:00:01.30] Finished: ZB.MOM.WW.OtOpcUa.AdminUI.Tests + + + + + [xUnit.net 00:00:01.24] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CollectionEditorLifecycleTests.CapturedDelete_FollowsOriginalRowAfterReorder [FAIL] + + + [xUnit.net 00:00:01.29] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CollectionEditorLifecycleTests.CapturedSaveA_CannotCommitOrCloseReplacementB [FAIL] + + + [xUnit.net 00:00:01.30] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CollectionEditorLifecycleTests.LocalEditor_IsNamedInlineWithoutNestedDialogOrBackdrop [FAIL] + + + + \ No newline at end of file diff --git a/docs/ui-consistency/evidence/ot13-collection-inline/browser-confirmation.log b/docs/ui-consistency/evidence/ot13-collection-inline/browser-confirmation.log new file mode 100644 index 000000000..5024da200 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-collection-inline/browser-confirmation.log @@ -0,0 +1 @@ +PASS 4 actual parent/OPC UA collection scenes diff --git a/docs/ui-consistency/evidence/ot13-collection-inline/browser-first.log b/docs/ui-consistency/evidence/ot13-collection-inline/browser-first.log new file mode 100644 index 000000000..5a34db225 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-collection-inline/browser-first.log @@ -0,0 +1,37 @@ +Traceback (most recent call last): + File "/Users/dohertj2/Desktop/OtOpcUa/docs/ui-consistency/evidence/ot13-collection-inline/browser.py", line 34, in + c=b.new_context(viewport={'width':width,'height':900});scene(c.new_page(),str(width));c.close() + ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/Users/dohertj2/Desktop/OtOpcUa/docs/ui-consistency/evidence/ot13-collection-inline/browser.py", line 24, in scene + d.locator('.modal-footer').get_by_role('button',name='Save',exact=True).click();expect(d).to_have_count(0);expect(opener).to_be_focused();expect(page.locator('#requests')).to_have_text('1') + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ + File "/opt/homebrew/lib/python3.14/site-packages/playwright/sync_api/_generated.py", line 15631, in click + self._sync( + ~~~~~~~~~~^ + self._impl_obj.click( + ^^^^^^^^^^^^^^^^^^^^^ + ...<10 lines>... + ) + ^ + ) + ^ + 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/_locator.py", line 162, in click + return await self._frame._click(self._selector, strict=True, **params) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_frame.py", line 566, in _click + await self._channel.send("click", self._timeout, locals_to_params(locals())) + File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_connection.py", line 69, in send + return await self._connection.wrap_api_call( + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + ...<3 lines>... + ) + ^ + File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_connection.py", line 559, in wrap_api_call + raise rewrite_error(error, f"{parsed_st['apiName']}: {error}") from None +playwright._impl._errors.TimeoutError: Locator.click: Timeout 30000ms exceeded. +Call log: + - waiting for get_by_role("dialog").locator(".modal-footer").get_by_role("button", name="Save", exact=True) + diff --git a/docs/ui-consistency/evidence/ot13-collection-inline/browser-results.json b/docs/ui-consistency/evidence/ot13-collection-inline/browser-results.json new file mode 100644 index 000000000..31bc6012b --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-collection-inline/browser-results.json @@ -0,0 +1,178 @@ +[ + { + "name": "1440", + "actualViewport": { + "width": 1440, + "height": 900, + "dpr": 1, + "document": 1440 + }, + "chrome": [ + { + "y": 29, + "bottom": 92, + "x": 151, + "right": 1289 + }, + { + "y": 805.78125, + "bottom": 871, + "x": 151, + "right": 1289 + } + ], + "checks": { + "singleParentDialog": true, + "fixedParentChrome": true, + "namedInlineEditor": true, + "safeHeadingFocus": true, + "cancelDiscardsCloneAndReturnsTrigger": true, + "validationAssociatedAndVisible": true, + "addChangesOnlyParentDraft": true, + "editReturnsReplacementRowTrigger": true, + "deleteChangesOnlyParentDraft": true, + "oneCapturedParentWrite": true, + "serializedEndpointOwnershipPreserved": true, + "parentEscapeDiscardsLocalDraft": true, + "noPageOverflow": true, + "noPageErrors": true + }, + "payloadEndpointUrls": [ + "opc.tcp://fixture-a-updated:4840", + "opc.tcp://fixture-c:4840" + ], + "errors": [] + }, + { + "name": "390", + "actualViewport": { + "width": 390, + "height": 900, + "dpr": 1, + "document": 390 + }, + "chrome": [ + { + "y": 9, + "bottom": 72, + "x": 9, + "right": 381 + }, + { + "y": 825.78125, + "bottom": 891, + "x": 9, + "right": 381 + } + ], + "checks": { + "singleParentDialog": true, + "fixedParentChrome": true, + "namedInlineEditor": true, + "safeHeadingFocus": true, + "cancelDiscardsCloneAndReturnsTrigger": true, + "validationAssociatedAndVisible": true, + "addChangesOnlyParentDraft": true, + "editReturnsReplacementRowTrigger": true, + "deleteChangesOnlyParentDraft": true, + "oneCapturedParentWrite": true, + "serializedEndpointOwnershipPreserved": true, + "parentEscapeDiscardsLocalDraft": true, + "noPageOverflow": true, + "noPageErrors": true + }, + "payloadEndpointUrls": [ + "opc.tcp://fixture-a-updated:4840", + "opc.tcp://fixture-c:4840" + ], + "errors": [] + }, + { + "name": "real200-720", + "actualViewport": { + "width": 720, + "height": 450, + "dpr": 2, + "document": 720 + }, + "chrome": [ + { + "y": 29, + "bottom": 92, + "x": 111, + "right": 609 + }, + { + "y": 355.7734375, + "bottom": 421, + "x": 111, + "right": 609 + } + ], + "checks": { + "singleParentDialog": true, + "fixedParentChrome": true, + "namedInlineEditor": true, + "safeHeadingFocus": true, + "cancelDiscardsCloneAndReturnsTrigger": true, + "validationAssociatedAndVisible": true, + "addChangesOnlyParentDraft": true, + "editReturnsReplacementRowTrigger": true, + "deleteChangesOnlyParentDraft": true, + "oneCapturedParentWrite": true, + "serializedEndpointOwnershipPreserved": true, + "parentEscapeDiscardsLocalDraft": true, + "noPageOverflow": true, + "noPageErrors": true + }, + "payloadEndpointUrls": [ + "opc.tcp://fixture-a-updated:4840", + "opc.tcp://fixture-c:4840" + ], + "errors": [] + }, + { + "name": "real200-195", + "actualViewport": { + "width": 195, + "height": 450, + "dpr": 2, + "document": 195 + }, + "chrome": [ + { + "y": 9, + "bottom": 132, + "x": 9, + "right": 186 + }, + { + "y": 356.734375, + "bottom": 441, + "x": 9, + "right": 186 + } + ], + "checks": { + "singleParentDialog": true, + "fixedParentChrome": true, + "namedInlineEditor": true, + "safeHeadingFocus": true, + "cancelDiscardsCloneAndReturnsTrigger": true, + "validationAssociatedAndVisible": true, + "addChangesOnlyParentDraft": true, + "editReturnsReplacementRowTrigger": true, + "deleteChangesOnlyParentDraft": true, + "oneCapturedParentWrite": true, + "serializedEndpointOwnershipPreserved": true, + "parentEscapeDiscardsLocalDraft": true, + "noPageOverflow": true, + "noPageErrors": true + }, + "payloadEndpointUrls": [ + "opc.tcp://fixture-a-updated:4840", + "opc.tcp://fixture-c:4840" + ], + "errors": [] + } +] diff --git a/docs/ui-consistency/evidence/ot13-collection-inline/browser.py b/docs/ui-consistency/evidence/ot13-collection-inline/browser.py new file mode 100644 index 000000000..6a4276c0e --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-collection-inline/browser.py @@ -0,0 +1,40 @@ +"""Actual DriverConfigModal > OpcUaClientDriverForm > CollectionEditor; local fake service only.""" +import sys,json,base64 +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 +BASE='http://127.0.0.1:18143';results=[] +def scene(page,name): + errors=[];page.on('pageerror',lambda e:errors.append(str(e))) + page.goto(BASE);expect(page.locator('#ready')).to_have_text('True');opener=page.locator('#open');opener.click();d=page.get_by_role('dialog');expect(d).to_have_count(1);expect(page.locator('.modal-backdrop')).to_have_count(1) + table=d.get_by_role('region',name='Endpoint URLs',exact=True);expect(table.locator('tbody tr')).to_have_count(2) + edit=lambda n:d.get_by_role('button',name='Edit endpoint '+str(n),exact=True) + group=lambda:d.get_by_role('group',name='Edit endpoint',exact=True) + edit(1).click();g=group();expect(g).to_have_count(1);expect(g.get_by_role('heading')).to_be_focused();expect(page.get_by_role('dialog')).to_have_count(1) + inp=g.get_by_label('Endpoint URL',exact=True);expect(inp).to_have_value('opc.tcp://fixture-a:4840');inp.fill('discard');g.get_by_role('button',name='Cancel',exact=True).click();expect(g).to_have_count(0);expect(edit(1)).to_be_focused();expect(table).to_contain_text('opc.tcp://fixture-a:4840');expect(page.locator('#requests')).to_have_text('0') + add=d.get_by_role('button',name='+ Add endpoint',exact=True);add.click();g=d.get_by_role('group',name='Add endpoint',exact=True);expect(g.get_by_role('heading')).to_be_focused();g.get_by_role('button',name='Save',exact=True).click();error=g.get_by_role('alert');expect(error).to_have_text('URL is required.');expect(error).to_be_focused();expect(g).to_have_attribute('aria-describedby',error.get_attribute('id')) + viewport=page.evaluate('({width:innerWidth,height:innerHeight,dpr:devicePixelRatio,document:document.documentElement.scrollWidth})');chrome=d.locator('.modal-header,.modal-footer').evaluate_all('(es)=>es.map(e=>{const b=e.getBoundingClientRect();return {y:b.y,bottom:b.bottom,x:b.x,right:b.right};})');assert all(c['y']>=0 and c['bottom']<=viewport['height']+1 and c['x']>=0 and c['right']<=viewport['width']+1 for c in chrome),(chrome,viewport);box=error.bounding_box();assert box['y']>=0 and box['y']+box['height']<=viewport['height']+1,(box,viewport) + capture=page.context.new_cdp_session(page).send('Page.captureScreenshot',{'format':'png','fromSurface':True,'captureBeyondViewport':False});(HERE/(name+'-invalid.png')).write_bytes(base64.b64decode(capture['data'])) + g.get_by_label('Endpoint URL',exact=True).fill('opc.tcp://fixture-c:4840');g.get_by_role('button',name='Save',exact=True).click();expect(g).to_have_count(0);expect(table.locator('tbody tr')).to_have_count(3);expect(add).to_be_focused();expect(page.locator('#requests')).to_have_text('0') + edit(1).click();g=group();g.get_by_label('Endpoint URL',exact=True).fill('opc.tcp://fixture-a-updated:4840');g.get_by_role('button',name='Save',exact=True).click();expect(g).to_have_count(0);expect(edit(1)).to_be_focused();expect(table).to_contain_text('opc.tcp://fixture-a-updated:4840') + d.get_by_role('button',name='Delete endpoint 2',exact=True).click();expect(table.locator('tbody tr')).to_have_count(2);expect(add).to_be_focused();expect(table).not_to_contain_text('opc.tcp://fixture-b:4840');expect(page.locator('#requests')).to_have_text('0') + assert page.evaluate('document.documentElement.scrollWidth<=innerWidth'),viewport + d.locator('.modal-footer').get_by_role('button',name='Save changes',exact=True).click();expect(d).to_have_count(0);expect(opener).to_be_focused();expect(page.locator('#requests')).to_have_text('1') + payload=json.loads(page.locator('#payload').inner_text());assert payload['endpointUrls']==['opc.tcp://fixture-a-updated:4840','opc.tcp://fixture-c:4840'],payload;assert 'endpointUrl' not in payload + opener.click();d=page.get_by_role('dialog');edit(1).click();g=group();g.get_by_label('Endpoint URL',exact=True).fill('discard-by-parent-Escape');page.keyboard.press('Escape');expect(d).to_have_count(0);expect(opener).to_be_focused();expect(page.locator('#requests')).to_have_text('1') + opener.click();d=page.get_by_role('dialog');expect(d.get_by_role('region',name='Endpoint URLs',exact=True)).to_contain_text('opc.tcp://fixture-a-updated:4840');expect(d).not_to_contain_text('discard-by-parent-Escape');page.keyboard.press('Escape');expect(d).to_have_count(0) + assert not errors,errors + results.append({'name':name,'actualViewport':viewport,'chrome':chrome,'checks':{'singleParentDialog':True,'fixedParentChrome':True,'namedInlineEditor':True,'safeHeadingFocus':True,'cancelDiscardsCloneAndReturnsTrigger':True,'validationAssociatedAndVisible':True,'addChangesOnlyParentDraft':True,'editReturnsReplacementRowTrigger':True,'deleteChangesOnlyParentDraft':True,'oneCapturedParentWrite':True,'serializedEndpointOwnershipPreserved':True,'parentEscapeDiscardsLocalDraft':True,'noPageOverflow':True,'noPageErrors':True},'payloadEndpointUrls':payload['endpointUrls'],'errors':errors});(HERE/'browser-results.json').write_text(json.dumps(results,indent=2)+'\n') +if __name__=='__main__': + with sync_playwright() as p: + b=p.chromium.launch() + for width in [1440,390]: + c=b.new_context(viewport={'width':width,'height':900});scene(c.new_page(),str(width));c.close() + b.close() + with zoom_browser(p) as (c,worker): + page=c.new_page() + for width in [1440,390]: + page.set_viewport_size({'width':width,'height':900});page.goto(BASE);assert set_browser_zoom(worker,page,2)==2;scene(page,'real200-'+str(width//2));set_browser_zoom(worker,page,1) + print('PASS',len(results),'actual parent/OPC UA collection scenes') diff --git a/docs/ui-consistency/evidence/ot13-collection-inline/canary-build.log b/docs/ui-consistency/evidence/ot13-collection-inline/canary-build.log new file mode 100644 index 000000000..aa31ab122 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-collection-inline/canary-build.log @@ -0,0 +1,47 @@ + + Determining projects to restore... + All projects are up-to-date for restore. + ZB.MOM.WW.OtOpcUa.Analyzers -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Analyzers.dll + ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Commons -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Commons.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll + ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll + ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll + ZB.MOM.WW.OtOpcUa.Configuration -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Configuration.dll + ZB.MOM.WW.OtOpcUa.Cluster -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Cluster.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll + ZB.MOM.WW.OtOpcUa.Security -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Security.dll + ZB.MOM.WW.OtOpcUa.Core -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Core.dll + ZB.MOM.WW.OtOpcUa.OpcUaServer -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll + ZB.MOM.WW.OtOpcUa.ControlPlane -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.ControlPlane.dll + ZB.MOM.WW.OtOpcUa.Runtime -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Runtime.dll + ZB.MOM.WW.OtOpcUa.AdminUI -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.AdminUI.dll + CollectionCanary -> /tmp/ot13-collection-root-canary/CollectionCanary.dll + +Build succeeded. + 0 Warning(s) + 0 Error(s) + +Time Elapsed 00:00:04.21 diff --git a/docs/ui-consistency/evidence/ot13-collection-inline/canary/CollectionCanary.csproj b/docs/ui-consistency/evidence/ot13-collection-inline/canary/CollectionCanary.csproj new file mode 100644 index 000000000..8ebf2be16 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-collection-inline/canary/CollectionCanary.csproj @@ -0,0 +1 @@ +net10.0enableenableCollectionCanary \ No newline at end of file diff --git a/docs/ui-consistency/evidence/ot13-collection-inline/canary/Components/App.razor b/docs/ui-consistency/evidence/ot13-collection-inline/canary/Components/App.razor new file mode 100644 index 000000000..d019c5111 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-collection-inline/canary/Components/App.razor @@ -0,0 +1,3 @@ + + + diff --git a/docs/ui-consistency/evidence/ot13-collection-inline/canary/Components/Fixture.razor b/docs/ui-consistency/evidence/ot13-collection-inline/canary/Components/Fixture.razor new file mode 100644 index 000000000..22e2df068 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-collection-inline/canary/Components/Fixture.razor @@ -0,0 +1,10 @@ +@page "/" +@rendermode InteractiveServer +@inject FixtureState State +
+

Synthetic collection editor; all reads and writes are local. No OPC UA session or fleet command.

+ +@_ready@State.Requests@State.Json + +
+@code {private bool _open,_ready;protected override void OnAfterRender(bool firstRender){if(firstRender){_ready=true;StateHasChanged();}}} diff --git a/docs/ui-consistency/evidence/ot13-collection-inline/canary/Components/_Imports.razor b/docs/ui-consistency/evidence/ot13-collection-inline/canary/Components/_Imports.razor new file mode 100644 index 000000000..1e4ac2c5e --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-collection-inline/canary/Components/_Imports.razor @@ -0,0 +1,9 @@ +@using Microsoft.AspNetCore.Components +@using Microsoft.AspNetCore.Components.Routing +@using Microsoft.AspNetCore.Components.Web +@using static Microsoft.AspNetCore.Components.Web.RenderMode +@using ZB.MOM.WW.Theme +@using ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Raw +@using ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Uns +@using ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers +@using ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Acls diff --git a/docs/ui-consistency/evidence/ot13-collection-inline/canary/Program.cs b/docs/ui-consistency/evidence/ot13-collection-inline/canary/Program.cs new file mode 100644 index 000000000..8bfa18de1 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-collection-inline/canary/Program.cs @@ -0,0 +1,18 @@ +using System.Reflection; +using CollectionCanary.Components; +using Microsoft.AspNetCore.DataProtection; +using ZB.MOM.WW.OtOpcUa.AdminUI.Uns; +var builder=WebApplication.CreateBuilder(args);builder.WebHost.UseStaticWebAssets();builder.Services.AddRazorComponents().AddInteractiveServerComponents();builder.Services.AddDataProtection().UseEphemeralDataProtectionProvider();builder.Services.AddScoped();builder.Services.AddScoped(sp=>{var proxy=DispatchProxy.Create();((FixtureRaw)(object)proxy).State=sp.GetRequiredService();return proxy;}); +var app=builder.Build();app.UseAntiforgery();app.MapStaticAssets();app.MapRazorComponents().AddInteractiveServerRenderMode();app.Run(); +public sealed class FixtureState {public int Requests;public string Json="{\"endpointUrls\":[\"opc.tcp://fixture-a:4840\",\"opc.tcp://fixture-b:4840\"]}";} +public class FixtureRaw:DispatchProxy +{ + public FixtureState State=null!; + protected override object? Invoke(MethodInfo? method,object?[]? args)=>method?.Name switch + { + "LoadDriverForEditAsync"=>Task.FromResult(new("fixture-driver","fixture-driver","OpcUaClient",State.Json,null,[1,2])), + "UpdateDriverAsync"=>Update(args!), + _=>throw new InvalidOperationException("Synthetic fixture refuses "+method?.Name) + }; + private Task Update(object?[] args){if(args[0] is not string target || target!="fixture-driver")throw new InvalidOperationException("Unknown fixture target");State.Requests++;State.Json=(string)args[2]!;return Task.FromResult(new UnsMutationResult(true,null));} +} diff --git a/docs/ui-consistency/evidence/ot13-collection-inline/capture-chrome-before.py b/docs/ui-consistency/evidence/ot13-collection-inline/capture-chrome-before.py new file mode 100644 index 000000000..693fd4c18 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-collection-inline/capture-chrome-before.py @@ -0,0 +1,12 @@ +import json,base64 +from pathlib import Path +from playwright.sync_api import sync_playwright,expect +out=Path(__file__).resolve().parent;results=[] +with sync_playwright() as p: + b=p.chromium.launch() + for width in [1440,390]: + page=b.new_page(viewport={'width':width,'height':900});page.goto('http://127.0.0.1:18143');expect(page.locator('#ready')).to_have_text('True');page.locator('#open').click();d=page.get_by_role('dialog');d.get_by_role('button',name='+ Add endpoint',exact=True).click();g=d.get_by_role('group',name='Add endpoint',exact=True);g.get_by_role('button',name='Save',exact=True).click();expect(g.get_by_role('alert')).to_be_focused() + x=page.evaluate('''()=>({width:innerWidth,height:innerHeight,chrome:[...document.querySelectorAll('.modal-header,.modal-footer')].map(e=>{const b=e.getBoundingClientRect();return {class:e.className,y:b.y,bottom:b.bottom};})})''');assert any(c['y']<0 or c['bottom']>x['height'] for c in x['chrome']);results.append(x) + raw=page.context.new_cdp_session(page).send('Page.captureScreenshot',{'format':'png','fromSurface':True,'captureBeyondViewport':False});(out/('chrome-before-'+str(width)+'.png')).write_bytes(base64.b64decode(raw['data']));page.close() + b.close() +(out/'chrome-before.json').write_text(json.dumps(results,indent=2)+'\n') diff --git a/docs/ui-consistency/evidence/ot13-collection-inline/chrome-before-1440.png b/docs/ui-consistency/evidence/ot13-collection-inline/chrome-before-1440.png new file mode 100644 index 000000000..769edd179 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-collection-inline/chrome-before-1440.png differ diff --git a/docs/ui-consistency/evidence/ot13-collection-inline/chrome-before-390.png b/docs/ui-consistency/evidence/ot13-collection-inline/chrome-before-390.png new file mode 100644 index 000000000..11047abc4 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-collection-inline/chrome-before-390.png differ diff --git a/docs/ui-consistency/evidence/ot13-collection-inline/chrome-before.json b/docs/ui-consistency/evidence/ot13-collection-inline/chrome-before.json new file mode 100644 index 000000000..4b79a16b2 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-collection-inline/chrome-before.json @@ -0,0 +1,34 @@ +[ + { + "width": 1440, + "height": 900, + "chrome": [ + { + "class": "modal-header", + "y": -224, + "bottom": -161 + }, + { + "class": "modal-footer", + "y": 2474.1875, + "bottom": 2539.40625 + } + ] + }, + { + "width": 390, + "height": 900, + "chrome": [ + { + "class": "modal-header", + "y": -776, + "bottom": -713 + }, + { + "class": "modal-footer", + "y": 3532, + "bottom": 3597.21875 + } + ] + } +] diff --git a/docs/ui-consistency/evidence/ot13-collection-inline/chrome-before.log b/docs/ui-consistency/evidence/ot13-collection-inline/chrome-before.log new file mode 100644 index 000000000..e69de29bb diff --git a/docs/ui-consistency/evidence/ot13-collection-inline/cleanup.json b/docs/ui-consistency/evidence/ot13-collection-inline/cleanup.json new file mode 100644 index 000000000..31b0318e3 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-collection-inline/cleanup.json @@ -0,0 +1,5 @@ +{ + "ownedPort": 18143, + "listenerStopped": true, + "otherCanariesSqlAndRigsUntouched": true +} diff --git a/docs/ui-consistency/evidence/ot13-collection-inline/expanded.log b/docs/ui-consistency/evidence/ot13-collection-inline/expanded.log new file mode 100644 index 000000000..097839111 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-collection-inline/expanded.log @@ -0,0 +1,65 @@ + + 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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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 -> /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.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.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.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.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.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.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.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.40] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CollectionEditorLifecycleTests.DisposedEditor_RefusesCapturedSave [FAIL] + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CollectionEditorLifecycleTests.DisposedEditor_RefusesCapturedSave [2 ms] + Error Message: + System.InvalidOperationException : The current thread is not associated with the Dispatcher. Use InvokeAsync() to switch execution to the Dispatcher when triggering rendering or component state. + Stack Trace: + at Microsoft.AspNetCore.Components.Dispatcher.AssertAccess() + at Microsoft.AspNetCore.Components.RenderTree.Renderer.AddToRenderQueue(Int32 componentId, RenderFragment renderFragment) + at Microsoft.AspNetCore.Components.ComponentBase.StateHasChanged() + at Microsoft.AspNetCore.Components.ComponentBase.Microsoft.AspNetCore.Components.IHandleEvent.HandleEventAsync(EventCallbackWorkItem callback, Object arg) + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CollectionEditorLifecycleTests.<>c__DisplayClass18_1.b__1() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CollectionEditorLifecycleTests.cs:line 91 + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CollectionEditorLifecycleTests.DisposedEditor_RefusesCapturedSave() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CollectionEditorLifecycleTests.cs:line 80 +--- End of stack trace from previous location --- +Results File: /Users/dohertj2/Desktop/OtOpcUa/docs/ui-consistency/evidence/ot13-collection-inline/expanded.trx + +Failed! - Failed: 1, Passed: 23, Skipped: 0, Total: 24, Duration: 244 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0) diff --git a/docs/ui-consistency/evidence/ot13-collection-inline/expanded.trx b/docs/ui-consistency/evidence/ot13-collection-inline/expanded.trx new file mode 100644 index 000000000..76cdb6c92 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-collection-inline/expanded.trx @@ -0,0 +1,199 @@ + + + + + + + + + + + + + + + System.InvalidOperationException : The current thread is not associated with the Dispatcher. Use InvokeAsync() to switch execution to the Dispatcher when triggering rendering or component state. + at Microsoft.AspNetCore.Components.Dispatcher.AssertAccess() + at Microsoft.AspNetCore.Components.RenderTree.Renderer.AddToRenderQueue(Int32 componentId, RenderFragment renderFragment) + at Microsoft.AspNetCore.Components.ComponentBase.StateHasChanged() + at Microsoft.AspNetCore.Components.ComponentBase.Microsoft.AspNetCore.Components.IHandleEvent.HandleEventAsync(EventCallbackWorkItem callback, Object arg) + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CollectionEditorLifecycleTests.<>c__DisplayClass18_1.<Capture>b__1() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CollectionEditorLifecycleTests.cs:line 91 + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CollectionEditorLifecycleTests.DisposedEditor_RefusesCapturedSave() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CollectionEditorLifecycleTests.cs:line 80 +--- End of stack trace from previous location --- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v3.0.2+dd36e86129 (64-bit .NET 10.0.14) +[xUnit.net 00:00:00.30] Discovering: ZB.MOM.WW.OtOpcUa.AdminUI.Tests +[xUnit.net 00:00:01.02] Discovered: ZB.MOM.WW.OtOpcUa.AdminUI.Tests +[xUnit.net 00:00:01.14] Starting: ZB.MOM.WW.OtOpcUa.AdminUI.Tests +[xUnit.net 00:00:01.40] System.InvalidOperationException : The current thread is not associated with the Dispatcher. Use InvokeAsync() to switch execution to the Dispatcher when triggering rendering or component state. +[xUnit.net 00:00:01.40] Stack Trace: +[xUnit.net 00:00:01.40] at Microsoft.AspNetCore.Components.Dispatcher.AssertAccess() +[xUnit.net 00:00:01.40] at Microsoft.AspNetCore.Components.RenderTree.Renderer.AddToRenderQueue(Int32 componentId, RenderFragment renderFragment) +[xUnit.net 00:00:01.40] at Microsoft.AspNetCore.Components.ComponentBase.StateHasChanged() +[xUnit.net 00:00:01.40] at Microsoft.AspNetCore.Components.ComponentBase.Microsoft.AspNetCore.Components.IHandleEvent.HandleEventAsync(EventCallbackWorkItem callback, Object arg) +[xUnit.net 00:00:01.40] /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CollectionEditorLifecycleTests.cs(91,0): at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CollectionEditorLifecycleTests.<>c__DisplayClass18_1.<Capture>b__1() +[xUnit.net 00:00:01.40] /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CollectionEditorLifecycleTests.cs(80,0): at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CollectionEditorLifecycleTests.DisposedEditor_RefusesCapturedSave() +[xUnit.net 00:00:01.40] --- End of stack trace from previous location --- +[xUnit.net 00:00:01.41] Finished: ZB.MOM.WW.OtOpcUa.AdminUI.Tests + + + + + [xUnit.net 00:00:01.40] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CollectionEditorLifecycleTests.DisposedEditor_RefusesCapturedSave [FAIL] + + + + \ No newline at end of file diff --git a/docs/ui-consistency/evidence/ot13-collection-inline/final-canary-build.log b/docs/ui-consistency/evidence/ot13-collection-inline/final-canary-build.log new file mode 100644 index 000000000..1cd468df7 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-collection-inline/final-canary-build.log @@ -0,0 +1,47 @@ + + Determining projects to restore... + All projects are up-to-date for restore. + ZB.MOM.WW.OtOpcUa.Analyzers -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Analyzers.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll + ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll + ZB.MOM.WW.OtOpcUa.Commons -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Commons.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll + ZB.MOM.WW.OtOpcUa.Cluster -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Cluster.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll + ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll + ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll + ZB.MOM.WW.OtOpcUa.Configuration -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Configuration.dll + ZB.MOM.WW.OtOpcUa.Core -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Core.dll + ZB.MOM.WW.OtOpcUa.Security -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Security.dll + ZB.MOM.WW.OtOpcUa.ControlPlane -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.ControlPlane.dll + ZB.MOM.WW.OtOpcUa.OpcUaServer -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll + ZB.MOM.WW.OtOpcUa.Runtime -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Runtime.dll + ZB.MOM.WW.OtOpcUa.AdminUI -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.AdminUI.dll + CollectionCanary -> /tmp/ot13-collection-root-canary/CollectionCanary.dll + +Build succeeded. + 0 Warning(s) + 0 Error(s) + +Time Elapsed 00:00:08.91 diff --git a/docs/ui-consistency/evidence/ot13-collection-inline/green.log b/docs/ui-consistency/evidence/ot13-collection-inline/green.log new file mode 100644 index 000000000..88fe08450 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-collection-inline/green.log @@ -0,0 +1,53 @@ + + 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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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. +Results File: /Users/dohertj2/Desktop/OtOpcUa/docs/ui-consistency/evidence/ot13-collection-inline/green.trx + +Passed! - Failed: 0, Passed: 19, Skipped: 0, Total: 19, Duration: 194 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0) diff --git a/docs/ui-consistency/evidence/ot13-collection-inline/green.trx b/docs/ui-consistency/evidence/ot13-collection-inline/green.trx new file mode 100644 index 000000000..5069068c7 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-collection-inline/green.trx @@ -0,0 +1,142 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v3.0.2+dd36e86129 (64-bit .NET 10.0.14) +[xUnit.net 00:00:00.37] Discovering: ZB.MOM.WW.OtOpcUa.AdminUI.Tests +[xUnit.net 00:00:01.04] Discovered: ZB.MOM.WW.OtOpcUa.AdminUI.Tests +[xUnit.net 00:00:01.16] Starting: ZB.MOM.WW.OtOpcUa.AdminUI.Tests +[xUnit.net 00:00:01.38] Finished: ZB.MOM.WW.OtOpcUa.AdminUI.Tests + + + + \ No newline at end of file diff --git a/docs/ui-consistency/evidence/ot13-collection-inline/initial-fixture-nullability.log b/docs/ui-consistency/evidence/ot13-collection-inline/initial-fixture-nullability.log new file mode 100644 index 000000000..4154a6ea0 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-collection-inline/initial-fixture-nullability.log @@ -0,0 +1,86 @@ + + Determining projects to restore... + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.csproj (in 118 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.csproj (in 118 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.csproj (in 115 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.csproj (in 115 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.csproj (in 9 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Abstractions/ZB.MOM.WW.OtOpcUa.Core.Abstractions.csproj (in 0.8 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.csproj (in 222 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.csproj (in 222 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.csproj (in 222 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.csproj (in 2 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.csproj (in 1 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.csproj (in 0.7 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Commons/ZB.MOM.WW.OtOpcUa.Commons.csproj (in 240 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.csproj (in 76 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.csproj (in 240 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.csproj (in 240 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.csproj (in 0.8 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.csproj (in 1 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.csproj (in 0.7 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.csproj (in 1 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.csproj (in 264 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.csproj (in 47 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.csproj (in 4 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.csproj (in 150 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting/ZB.MOM.WW.OtOpcUa.Core.Scripting.csproj (in 62 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.csproj (in 188 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core/ZB.MOM.WW.OtOpcUa.Core.csproj (in 351 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Tooling/ZB.MOM.WW.OtOpcUa.Analyzers/ZB.MOM.WW.OtOpcUa.Analyzers.csproj (in 179 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.csproj (in 105 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.csproj (in 168 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Security/ZB.MOM.WW.OtOpcUa.Security.csproj (in 181 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer/ZB.MOM.WW.OtOpcUa.OpcUaServer.csproj (in 419 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/ZB.MOM.WW.OtOpcUa.Runtime.csproj (in 420 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.ControlPlane/ZB.MOM.WW.OtOpcUa.ControlPlane.csproj (in 266 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Cluster/ZB.MOM.WW.OtOpcUa.Cluster.csproj (in 10 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/ZB.MOM.WW.OtOpcUa.AdminUI.csproj (in 195 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/docs/ui-consistency/evidence/ot13-collection-inline/canary/CollectionCanary.csproj (in 107 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Configuration/ZB.MOM.WW.OtOpcUa.Configuration.csproj (in 191 ms). + ZB.MOM.WW.OtOpcUa.Analyzers -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Analyzers.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll + ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll + ZB.MOM.WW.OtOpcUa.Commons -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Commons.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll + ZB.MOM.WW.OtOpcUa.Cluster -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Cluster.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll + ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll + ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll + ZB.MOM.WW.OtOpcUa.Configuration -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Configuration.dll + ZB.MOM.WW.OtOpcUa.Core -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Core.dll + ZB.MOM.WW.OtOpcUa.Security -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Security.dll + ZB.MOM.WW.OtOpcUa.ControlPlane -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.ControlPlane.dll + ZB.MOM.WW.OtOpcUa.OpcUaServer -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll + ZB.MOM.WW.OtOpcUa.Runtime -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.Runtime.dll + ZB.MOM.WW.OtOpcUa.AdminUI -> /tmp/ot13-collection-root-canary/ZB.MOM.WW.OtOpcUa.AdminUI.dll +/Users/dohertj2/Desktop/OtOpcUa/docs/ui-consistency/evidence/ot13-collection-inline/canary/Program.cs(17,60): error CS8600: Converting null literal or possible null value to non-nullable type. [/Users/dohertj2/Desktop/OtOpcUa/docs/ui-consistency/evidence/ot13-collection-inline/canary/CollectionCanary.csproj] + +Build FAILED. + +/Users/dohertj2/Desktop/OtOpcUa/docs/ui-consistency/evidence/ot13-collection-inline/canary/Program.cs(17,60): error CS8600: Converting null literal or possible null value to non-nullable type. [/Users/dohertj2/Desktop/OtOpcUa/docs/ui-consistency/evidence/ot13-collection-inline/canary/CollectionCanary.csproj] + 0 Warning(s) + 1 Error(s) + +Time Elapsed 00:00:33.73 diff --git a/docs/ui-consistency/evidence/ot13-collection-inline/real200-195-invalid.png b/docs/ui-consistency/evidence/ot13-collection-inline/real200-195-invalid.png new file mode 100644 index 000000000..9b565d9f9 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-collection-inline/real200-195-invalid.png differ diff --git a/docs/ui-consistency/evidence/ot13-collection-inline/real200-720-invalid.png b/docs/ui-consistency/evidence/ot13-collection-inline/real200-720-invalid.png new file mode 100644 index 000000000..780abe292 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-collection-inline/real200-720-invalid.png differ diff --git a/docs/ui-consistency/evidence/ot13-collection-inline/source-boundaries.json b/docs/ui-consistency/evidence/ot13-collection-inline/source-boundaries.json new file mode 100644 index 000000000..d5e0ce354 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-collection-inline/source-boundaries.json @@ -0,0 +1,13 @@ +{ + "files": { + "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/CollectionEditor.razor": "4e5ed80338215b2c0b63d3d47499ffd64ecb2a1fc8d2d6d5e10c79bd26554ee1", + "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DriverConfigModal.razor": "1e6f13a26893a8ecd5900cd26e9e94c4ad4b7bae37f9e22bb8ef653b02e8328a", + "tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CollectionEditorLifecycleTests.cs": "a599ae584f50d5a702dce408e63fb2dd927bf7f75525c6cb648963b357781dbd" + }, + "publicParametersUnchanged": true, + "parentCodeByteEqual": true, + "soleProductionConsumer": "OpcUaClientDriverForm.razor (unchanged)", + "servedAndSourceDialogFocusSha256": "7f63bd6c5181d0b70edc2e87e086fab4dfba96adabd7a19737f9b3b4f18296d5", + "nativeScenes": 4, + "checksPerScene": 14 +} diff --git a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/CollectionEditor.razor b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/CollectionEditor.razor index 3b62a1fdb..3a8904ca9 100644 --- a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/CollectionEditor.razor +++ b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/CollectionEditor.razor @@ -1,14 +1,12 @@ -@* Generic modal-per-row list editor. The parent owns the List (a MUTABLE row VM, - because driver contracts are immutable records). This renders a read-only table with - Add/Edit/Delete and a modal that edits a CLONED working copy — commit on Save, discard - on Cancel. NewRow builds a default VM; Clone copies one for the working copy; Validate - (optional) returns an error string to block commit or null to allow. *@ +@* Parent-owned mutable rows use a cloned inline working copy: Save commits to the parent + draft; Cancel discards it. The surrounding driver dialog owns focus trapping and Escape. *@ @typeparam TRow - +@implements IDisposable +@{ var generation = _generation; var items = Items; var changed = ItemsChanged; _anchors.RemoveAll(a => IndexOf(items, a) < 0); }
-
+
@Title (@Items.Count) - +
@if (Items.Count == 0) { @@ -16,19 +14,21 @@ } else { -
+
@HeaderTemplate @for (var i = 0; i < Items.Count; i++) { var idx = i; - - @RowTemplate(Items[idx]) + var row = Items[idx]; + var anchor = AnchorFor(row, idx); + + @RowTemplate(row) @@ -39,32 +39,22 @@ } -@if (_modalOpen && _working is not null) +@if (_session is { } session) { - - "); + private static RenderFragment Display=>r=>b=>{b.OpenElement(0,"td");b.AddContent(1,r.Text);b.CloseElement();}; + private static RenderFragment Editor=>r=>b=>{b.OpenElement(0,"label");b.AddAttribute(1,"for","fixture-value");b.AddContent(2,"Value");b.CloseElement();b.OpenElement(3,"input");b.AddAttribute(4,"id","fixture-value");b.AddAttribute(5,"value",r.Text);b.AddAttribute(6,"onchange",EventCallback.Factory.Create(r,e=>r.Text=e.Value?.ToString()??""));b.CloseElement();}; + private IRenderedComponent> Page(List rows,Action changed)=>Render>(p=>p.Add(x=>x.Items,rows).Add(x=>x.ItemsChanged,changed).Add(x=>x.Title,"Endpoints").Add(x=>x.ItemNoun,"endpoint").Add(x=>x.HeaderTemplate,Header).Add(x=>x.RowTemplate,Display).Add(x=>x.EditTemplate,Editor).Add(x=>x.NewRow,()=>new Row()).Add(x=>x.Clone,r=>new Row{Text=r.Text}).Add(x=>x.Validate,(r,_,_)=>string.IsNullOrWhiteSpace(r.Text)?"Value is required.":null)); + private static AngleSharp.Dom.IElement Button(IRenderedComponent> cut,string text)=>cut.FindAll("button").First(b=>b.TextContent.Trim()==text); + [Fact] + public void LocalEditor_IsNamedInlineWithoutNestedDialogOrBackdrop() + { + var cut=Page([new(){Text="A"}],()=>{});Button(cut,"Edit").Click(); + cut.FindAll("[role=dialog],.modal-backdrop").ShouldBeEmpty();var group=cut.Find("[role=group][aria-labelledby]"); + cut.Find("#"+group.GetAttribute("aria-labelledby")).TextContent.ShouldContain("Edit endpoint"); + } + [Fact] + public async Task CapturedSaveA_CannotCommitOrCloseReplacementB() + { + var a=new List{new(){Text="A"}};var b=new List{new(){Text="B"}};var callsA=0;var callsB=0; + var cut=Page(a,()=>callsA++);Button(cut,"Edit").Click();var oldSave=Capture(cut,"Save"); + cut.Render(p=>p.Add(x=>x.Items,b).Add(x=>x.ItemsChanged,()=>callsB++));Button(cut,"Edit").Click();cut.Find("input").Change("B draft"); + await cut.InvokeAsync(oldSave);cut.Render();b[0].Text.ShouldBe("B");callsA.ShouldBe(0);callsB.ShouldBe(0);cut.Find("input").GetAttribute("value").ShouldBe("B draft"); + Button(cut,"Save").Click();cut.WaitForAssertion(()=>callsB.ShouldBe(1));b[0].Text.ShouldBe("B draft");a[0].Text.ShouldBe("A"); + } + [Fact] + public async Task CapturedDelete_FollowsOriginalRowAfterReorder() + { + var a=new Row{Text="A"};var b=new Row{Text="B"};var rows=new List{a,b};var calls=0;var cut=Page(rows,()=>calls++);var removeA=Capture(cut,"Delete"); + rows.Reverse();cut.Render();await cut.InvokeAsync(removeA);cut.Render();rows.ShouldBe(new[]{b});calls.ShouldBe(1); + } + [Fact] + public void CloneCancelAndValidation_PreserveParentDraftUntilLocalSave() + { + var rows=new List{new(){Text="A"}};var calls=0;var cut=Page(rows,()=>calls++);Button(cut,"Edit").Click();cut.Find("input").Change("discard");rows[0].Text.ShouldBe("A");Button(cut,"Cancel").Click();rows[0].Text.ShouldBe("A");calls.ShouldBe(0); + Button(cut,"+ Add endpoint").Click();Button(cut,"Save").Click();cut.Markup.ShouldContain("Value is required.");rows.Count.ShouldBe(1);calls.ShouldBe(0);cut.Find("input").Change("new");Button(cut,"Save").Click();cut.WaitForAssertion(()=>calls.ShouldBe(1));rows.Select(r=>r.Text).ShouldBe(new[]{"A","new"}); + } + [Fact] + public async Task CapturedCancelA_CannotDiscardReplacementB() + { + var a=new List{new(){Text="A"}};var b=new List{new(){Text="B"}};var cut=Page(a,()=>{});Button(cut,"Edit").Click();var closeA=Capture(cut,"Cancel"); + cut.Render(p=>p.Add(x=>x.Items,b));Button(cut,"Edit").Click();cut.Find("input").Change("B draft");await cut.InvokeAsync(closeA);cut.Render();cut.Find("input").GetAttribute("value").ShouldBe("B draft");b[0].Text.ShouldBe("B"); + } + [Fact] + public void RemovedOriginal_CannotOverwriteAnotherRow() + { + var a=new Row{Text="A"};var b=new Row{Text="B"};var rows=new List{a,b};var calls=0;var cut=Page(rows,()=>calls++);Button(cut,"Edit").Click();cut.Find("input").Change("A draft");rows.Remove(a);cut.Render();Button(cut,"Save").Click(); + rows.ShouldBe(new[]{b});b.Text.ShouldBe("B");calls.ShouldBe(0);cut.Find("[role=alert]").TextContent.ShouldContain("no longer available"); + } + [Theory] + [InlineData(false)] + [InlineData(true)] + public async Task RetiredNotificationCompletion_CannotUnlockReplacementOperation(bool throws) + { + var a=new List{new(){Text="A"}};var b=new List{new(){Text="B"}};var pendingA=new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously);var pendingB=new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously);var callsA=0;var callsB=0; + var cut=Page(a,()=>{});cut.Render(p=>p.Add(x=>x.ItemsChanged,(Func)(async()=>{callsA++;await pendingA.Task;})));Button(cut,"Edit").Click();cut.Find("input").Change("A draft");var workA=Button(cut,"Save").ClickAsync(new());cut.WaitForAssertion(()=>callsA.ShouldBe(1)); + cut.Render(p=>p.Add(x=>x.Items,b).Add(x=>x.ItemsChanged,(Func)(async()=>{callsB++;await pendingB.Task;})));Button(cut,"Edit").HasAttribute("disabled").ShouldBeFalse();Button(cut,"Edit").Click();cut.Find("input").Change("B draft");var workB=Button(cut,"Save").ClickAsync(new());cut.WaitForAssertion(()=>callsB.ShouldBe(1)); + try + { + if(throws)pendingA.TrySetException(new InvalidOperationException("Old originating callback failure"));else pendingA.TrySetResult(true);await workA; + Button(cut,"Edit").HasAttribute("disabled").ShouldBeTrue();callsB.ShouldBe(1);a[0].Text.ShouldBe("A draft");b[0].Text.ShouldBe("B draft"); + } + finally {pendingA.TrySetResult(true);pendingB.TrySetResult(true);await workB;} + Button(cut,"Edit").HasAttribute("disabled").ShouldBeFalse(); + } + [Fact] + public async Task DisposedEditor_RefusesCapturedSave() + { + var rows=new List{new(){Text="A"}};var calls=0;var cut=Page(rows,()=>calls++);Button(cut,"Edit").Click();cut.Find("input").Change("discard");var save=Capture(cut,"Save");await DisposeComponentsAsync();await cut.InvokeAsync(save);rows[0].Text.ShouldBe("A");calls.ShouldBe(0); + } +#pragma warning disable BL0006 // Capture real rendered callbacks before their event IDs retire. + private static Func Capture(IRenderedComponent> cut,string text) + { + using var builder=new RenderTreeBuilder();typeof(CollectionEditor).GetMethod("BuildRenderTree",BindingFlags.Instance|BindingFlags.NonPublic)!.Invoke(cut.Instance,[builder]);var range=builder.GetFrames();var frames=range.Array; + for(var i=0;if.FrameType==RenderTreeFrameType.Text&&f.TextContent.Trim()==text))continue; + var action=child.Single(f=>f.FrameType==RenderTreeFrameType.Attribute&&f.AttributeName=="onclick").AttributeValue; + return ()=>action switch {EventCallback e=>e.InvokeAsync(new MouseEventArgs()),EventCallback e=>e.InvokeAsync(new()),Action a=>EventCallback.Factory.Create(cut.Instance,a).InvokeAsync(),Func a=>EventCallback.Factory.Create(cut.Instance,a).InvokeAsync(),_=>throw new InvalidOperationException("Unknown callback")}; + } + throw new InvalidOperationException("Rendered button not found: "+text); + } +#pragma warning restore BL0006 +}
-
- - +
+ +
ValueActions