diff --git a/docs/ui-consistency/evidence/ot13-uns-callers/README.md b/docs/ui-consistency/evidence/ot13-uns-callers/README.md new file mode 100644 index 000000000..ea5f629c3 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-uns-callers/README.md @@ -0,0 +1,28 @@ +# OT13 UNS caller isolation and confirmed-write recovery + +Frozen production scope: GlobalUns.razor; GlobalRaw.razor has only the idempotent Dispose guard described below. Tests: UnsCallerPresentationTests.cs and two additional TreeRecovery lifetime cases. No wrapper/service/entity/schema/query-policy changes. Shared Theme1.0.1 and focus helper071148e9 remain adopted. + +## Target and lifetime contracts + +Area/Line/Import callbacks carry the render-local parent generation, and their additive Target changes only when the parent presentation changes. Late area/line edit reads cannot open over a new import or after disposal. The old inline deletion shell now uses ModalFrame, safe Cancel focus, contextual title/description, captured node/generation and busy-close guard. Prerequisite entity reads recheck currentness before dispatching a delete; already-dispatched deletes continue once but cannot put errors/close on replacementB. Cluster/Enterprise/Area/Line/Equipment branches retain their existing service method, scope and row-version semantics. + +Every structure read has a version. Only the latest live request can install roots/errors/acquisition time or release its loading state. An explicit Retry rejects duplicate current reads, but an older superseded initial request cannot block recovery after a newer postcommit failure. Successful acquisition is recorded in UTC; failed reads preserve the last good roots and timestamp. Loaded-name filtering and structural expansion remain local and do not search or fetch unloaded tags. + +## Confirmed write is separate from its later read + +Actual successful Area update followed by a structure-read failure previously entered PageErrorBoundary; an actual successful Delete followed by a failed read rethrew IOException. Both discarded the usable view instead of offering read-only recovery. The parent now records the confirmed result, closes only its origin and says that refresh failed while keeping the last loaded structure/time. Retry reads structure only and cannot replay the write. Missing-entity recovery says target unavailable; import acknowledgement says import processed rather than inventing inserted counts. Initial read unavailability remains distinct from confirmed empty data. Full escaped diagnostic text is outside the short polite outcome region. A superseded postcommit refresh is explicitly marked for read-only recovery. Current mutation and current editor-load failures retain their existing handling; this local read recovery changes no backend operation. + +## Actual evidence + +- caller-valid-red.log:6 behavioral failures for late editor read, stale callback/reload close, pre-dispatch/current-target deletion, already-dispatchedA error, out-of-order structures and disposal. first-caller-fixture-red.log contains an earlier reflection harness that omitted the event's normal render; its selector failures/false-positive disposal case were corrected before valid reds. activation-stub-fixture-error.log records2 failures caused by an unconfigured bUnit activation bool; the valid native adapter result is explicitly configured in the final fixture. +- confirmed-write-read-failure-red.log:2 actual composed producer-success/read-failure reds. An earlier attempt was blocked by an unrelated mid-edit Hosts file, retained separately; it is not counted as a behavioral red. +- initial-read-recovery-owner-red.log:2 failures show the visible recovery button could not issue its read while the superseded initial query remained pending. Final cases also release that old initial query while recovery is pending and assert no false empty state/new loading reset. +- repeat-disposal-red.log:2 failures from calling the page-owned CTS Dispose twice. Both tree pages now return immediately on repeated disposal; first disposal still cancels only view-owned reads. This is a one-line lifecycle correction in GlobalRaw and GlobalUns, with no render or query change. +- tests.log/tests.trx:44 passed,0 failed/skipped (9 caller +2 composed postcommit +2 read-ownership +7 tree recovery +24 standalone UNS modal cases). Exact classes are in test-classes.json. All discovery uses the explicit private SQL runner. Command: `python3 infra/tools/ui-consistency/with_private_sql.py --state -- dotnet test tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.csproj -c Release --no-restore --filter "FullyQualifiedName~UnsPostCommitRecoveryTests|FullyQualifiedName~UnsRecoveryReadOwnershipTests|FullyQualifiedName~UnsCallerPresentationTests|FullyQualifiedName~TreeRecoveryTests|FullyQualifiedName~UnsModalAccessibilityTests" --logger "trx;LogFileName=uns-callers.trx" --results-directory /tmp/ot13-uns-final-results`. +- fixture-build.log:zero warnings/errors. Synthetic per-circuit state models only prefixed local IDs, fabricated result metadata and cloned in-memory structure. No real database/fleet writes. The fixture's supported update changes only its memory display model. +- matrix.json/native.log:FIRST16/16 actual composed scenes: current blocked delete, Area save, Line save, confirmed Area save/failed structure read/read-only recovery ×1440/390 and real200%720/195DPR2. Includes safe Cancel focus,8 actual invalid-name corrections/error associations, unclipped action bounds, full escaped failure, only1 fake mutation per scene, last-good time/data through failure, read-only recovery focus and fresh memory model, no body overflow/page errors. Each verifies served focus helper SHA7f63bd6c5181d0b70edc2e87e086fab4dfba96adabd7a19737f9b3b4f18296d5. Zoom captures use a tall fixture viewport for framing; actual heights are recorded, not represented as a short-phone-height certification. +- The final two idempotent-disposal guards were added after the16-scene UI matrix and are covered by the final44-test result. Rendered/first-disposal behavior is identical; final whole-app acceptance will build the exact combined revision. + +## Remaining gate / scope + +This is a composed synthetic consumer check, not corporate/fleet integration or a deployment. Equipment, ScriptEdit, inline Host/Driver operations and final route/field inventory remain independently owned OT13 slices. Whole combined suite/package graph/runtime/visual acceptance remains OT14. Per user instruction, VoiceOver speech-output testing is excluded; automated accessibility-tree, keyboard and browser checks remain in scope and no speech-output claim is made. Roll back these scoped source changes for regression; preserve published artifacts/data and accepted shared focus fixes. diff --git a/docs/ui-consistency/evidence/ot13-uns-callers/activation-stub-fixture-error.log b/docs/ui-consistency/evidence/ot13-uns-callers/activation-stub-fixture-error.log new file mode 100644 index 000000000..1aecfcebc --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-uns-callers/activation-stub-fixture-error.log @@ -0,0 +1,70 @@ + + ZB.MOM.WW.OtOpcUa.Analyzers -> /Users/dohertj2/Desktop/OtOpcUa/src/Tooling/ZB.MOM.WW.OtOpcUa.Analyzers/bin/Release/netstandard2.0/ZB.MOM.WW.OtOpcUa.Analyzers.dll + ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Abstractions/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll + ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll + ZB.MOM.WW.OtOpcUa.Commons -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Commons/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Commons.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll + ZB.MOM.WW.OtOpcUa.Cluster -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Cluster/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Cluster.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll + ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll + ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll + ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll + ZB.MOM.WW.OtOpcUa.Configuration -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Configuration/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Configuration.dll + ZB.MOM.WW.OtOpcUa.Security -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Security/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Security.dll + ZB.MOM.WW.OtOpcUa.ControlPlane -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.ControlPlane/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.ControlPlane.dll + ZB.MOM.WW.OtOpcUa.Core -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll + ZB.MOM.WW.OtOpcUa.OpcUaServer -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll + ZB.MOM.WW.OtOpcUa.Runtime -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Runtime.dll + ZB.MOM.WW.OtOpcUa.AdminUI -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.dll + ZB.MOM.WW.OtOpcUa.AdminUI.Tests -> /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll +Test run for /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (.NETCoreApp,Version=v10.0) +A total of 1 test files matched the specified pattern. +[xUnit.net 00:00:01.28] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsCallerPresentationTests.ReplacedDelete_DoesNotDispatchAfterItsPrerequisiteReadReturns [FAIL] +[xUnit.net 00:00:01.30] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsCallerPresentationTests.DispatchedDeleteA_CannotPutFailureOnReplacementB [FAIL] + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsCallerPresentationTests.ReplacedDelete_DoesNotDispatchAfterItsPrerequisiteReadReturns [10 ms] + Error Message: + Bunit.ElementNotFoundException : No elements were found that matches the selector 'button.btn-danger' + Stack Trace: + at Bunit.RenderedComponentExtensions.Find[TComponent,TElement](IRenderedComponent`1 renderedComponent, String cssSelector) in /_/src/bunit/Extensions/RenderedComponentExtensions.cs:line 42 + at Bunit.RenderedComponentExtensions.Find[TComponent](IRenderedComponent`1 renderedComponent, String cssSelector) in /_/src/bunit/Extensions/RenderedComponentExtensions.cs:line 21 + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsCallerPresentationTests.ReplacedDelete_DoesNotDispatchAfterItsPrerequisiteReadReturns() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/UnsCallerPresentationTests.cs:line 48 +--- End of stack trace from previous location --- + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsCallerPresentationTests.DispatchedDeleteA_CannotPutFailureOnReplacementB [2 ms] + Error Message: + Bunit.ElementNotFoundException : No elements were found that matches the selector 'button.btn-danger' + Stack Trace: + at Bunit.RenderedComponentExtensions.Find[TComponent,TElement](IRenderedComponent`1 renderedComponent, String cssSelector) in /_/src/bunit/Extensions/RenderedComponentExtensions.cs:line 42 + at Bunit.RenderedComponentExtensions.Find[TComponent](IRenderedComponent`1 renderedComponent, String cssSelector) in /_/src/bunit/Extensions/RenderedComponentExtensions.cs:line 21 + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsCallerPresentationTests.DispatchedDeleteA_CannotPutFailureOnReplacementB() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/UnsCallerPresentationTests.cs:line 55 +--- End of stack trace from previous location --- + +Failed! - Failed: 2, Passed: 9, Skipped: 0, Total: 11, Duration: 214 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0) diff --git a/docs/ui-consistency/evidence/ot13-uns-callers/area-refresh-failed-1440-zoom1.png b/docs/ui-consistency/evidence/ot13-uns-callers/area-refresh-failed-1440-zoom1.png new file mode 100644 index 000000000..c196d721d Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-uns-callers/area-refresh-failed-1440-zoom1.png differ diff --git a/docs/ui-consistency/evidence/ot13-uns-callers/area-refresh-failed-1440-zoom2.png b/docs/ui-consistency/evidence/ot13-uns-callers/area-refresh-failed-1440-zoom2.png new file mode 100644 index 000000000..2766a5c36 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-uns-callers/area-refresh-failed-1440-zoom2.png differ diff --git a/docs/ui-consistency/evidence/ot13-uns-callers/area-refresh-failed-390-zoom1.png b/docs/ui-consistency/evidence/ot13-uns-callers/area-refresh-failed-390-zoom1.png new file mode 100644 index 000000000..688313b7a Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-uns-callers/area-refresh-failed-390-zoom1.png differ diff --git a/docs/ui-consistency/evidence/ot13-uns-callers/area-refresh-failed-390-zoom2.png b/docs/ui-consistency/evidence/ot13-uns-callers/area-refresh-failed-390-zoom2.png new file mode 100644 index 000000000..ba1b7d224 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-uns-callers/area-refresh-failed-390-zoom2.png differ diff --git a/docs/ui-consistency/evidence/ot13-uns-callers/area-refresh-failed-final-1440-zoom1.png b/docs/ui-consistency/evidence/ot13-uns-callers/area-refresh-failed-final-1440-zoom1.png new file mode 100644 index 000000000..2070279d2 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-uns-callers/area-refresh-failed-final-1440-zoom1.png differ diff --git a/docs/ui-consistency/evidence/ot13-uns-callers/area-refresh-failed-final-1440-zoom2.png b/docs/ui-consistency/evidence/ot13-uns-callers/area-refresh-failed-final-1440-zoom2.png new file mode 100644 index 000000000..14109ddec Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-uns-callers/area-refresh-failed-final-1440-zoom2.png differ diff --git a/docs/ui-consistency/evidence/ot13-uns-callers/area-refresh-failed-final-390-zoom1.png b/docs/ui-consistency/evidence/ot13-uns-callers/area-refresh-failed-final-390-zoom1.png new file mode 100644 index 000000000..94a35d622 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-uns-callers/area-refresh-failed-final-390-zoom1.png differ diff --git a/docs/ui-consistency/evidence/ot13-uns-callers/area-refresh-failed-final-390-zoom2.png b/docs/ui-consistency/evidence/ot13-uns-callers/area-refresh-failed-final-390-zoom2.png new file mode 100644 index 000000000..6329233a1 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-uns-callers/area-refresh-failed-final-390-zoom2.png differ diff --git a/docs/ui-consistency/evidence/ot13-uns-callers/area-save-final-1440-zoom1.png b/docs/ui-consistency/evidence/ot13-uns-callers/area-save-final-1440-zoom1.png new file mode 100644 index 000000000..57b27d0dd Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-uns-callers/area-save-final-1440-zoom1.png differ diff --git a/docs/ui-consistency/evidence/ot13-uns-callers/area-save-final-1440-zoom2.png b/docs/ui-consistency/evidence/ot13-uns-callers/area-save-final-1440-zoom2.png new file mode 100644 index 000000000..88392cb8c Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-uns-callers/area-save-final-1440-zoom2.png differ diff --git a/docs/ui-consistency/evidence/ot13-uns-callers/area-save-final-390-zoom1.png b/docs/ui-consistency/evidence/ot13-uns-callers/area-save-final-390-zoom1.png new file mode 100644 index 000000000..ebd6db248 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-uns-callers/area-save-final-390-zoom1.png differ diff --git a/docs/ui-consistency/evidence/ot13-uns-callers/area-save-final-390-zoom2.png b/docs/ui-consistency/evidence/ot13-uns-callers/area-save-final-390-zoom2.png new file mode 100644 index 000000000..6bcaeb82f Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-uns-callers/area-save-final-390-zoom2.png differ diff --git a/docs/ui-consistency/evidence/ot13-uns-callers/caller-valid-red.log b/docs/ui-consistency/evidence/ot13-uns-callers/caller-valid-red.log new file mode 100644 index 000000000..259cab73b --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-uns-callers/caller-valid-red.log @@ -0,0 +1,162 @@ + + ZB.MOM.WW.OtOpcUa.Analyzers -> /Users/dohertj2/Desktop/OtOpcUa/src/Tooling/ZB.MOM.WW.OtOpcUa.Analyzers/bin/Debug/netstandard2.0/ZB.MOM.WW.OtOpcUa.Analyzers.dll + ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Abstractions/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll + ZB.MOM.WW.OtOpcUa.Commons -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Commons/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Commons.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll + ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll + ZB.MOM.WW.OtOpcUa.Cluster -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Cluster/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Cluster.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll + ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll + ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll + ZB.MOM.WW.OtOpcUa.Configuration -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Configuration/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Configuration.dll + ZB.MOM.WW.OtOpcUa.Security -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Security/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Security.dll + ZB.MOM.WW.OtOpcUa.Core -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll + ZB.MOM.WW.OtOpcUa.ControlPlane -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.ControlPlane/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.ControlPlane.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll + ZB.MOM.WW.OtOpcUa.OpcUaServer -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll + ZB.MOM.WW.OtOpcUa.Runtime -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Runtime.dll + ZB.MOM.WW.OtOpcUa.AdminUI -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.dll + ZB.MOM.WW.OtOpcUa.AdminUI.Tests -> /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll +Test run for /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (.NETCoreApp,Version=v10.0) +A total of 1 test files matched the specified pattern. +[xUnit.net 00:00:01.40] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsCallerPresentationTests.ReplacedDelete_DoesNotDispatchAfterItsPrerequisiteReadReturns [FAIL] +[xUnit.net 00:00:01.41] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsCallerPresentationTests.DeferredEditLoad_CannotOpenOverReplacementImport [FAIL] +[xUnit.net 00:00:01.41] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsCallerPresentationTests.SavedA_RefreshCompletionCannotCloseReplacementImportB [FAIL] +[xUnit.net 00:00:01.42] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsCallerPresentationTests.OutOfOrderSavedRefreshes_PreserveTheLatestStructure [FAIL] +[xUnit.net 00:00:01.42] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsCallerPresentationTests.DisposalDuringEditRead_DoesNotOpenALateModal [FAIL] +[xUnit.net 00:00:01.43] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsCallerPresentationTests.DispatchedDeleteA_CannotPutFailureOnReplacementB [FAIL] + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsCallerPresentationTests.ReplacedDelete_DoesNotDispatchAfterItsPrerequisiteReadReturns [225 ms] + Error Message: + Shouldly.ShouldAssertException : pending.SetResult(new("a","Area A",null,"cluster",[1]));await deleting;Service.Deletes + should be empty but had +1 + item and was +["a"] + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsCallerPresentationTests.ReplacedDelete_DoesNotDispatchAfterItsPrerequisiteReadReturns() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/UnsCallerPresentationTests.cs:line 49 + 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.UnsCallerPresentationTests.DeferredEditLoad_CannotOpenOverReplacementImport [8 ms] + Error Message: + Shouldly.ShouldAssertException : cut.FindComponent>().Instance.Parameters.Get(x=>x.Visible) + should be +False + but was +True + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsCallerPresentationTests.DeferredEditLoad_CannotOpenOverReplacementImport() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/UnsCallerPresentationTests.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.UnsCallerPresentationTests.SavedA_RefreshCompletionCannotCloseReplacementImportB [2 ms] + Error Message: + Shouldly.ShouldAssertException : pending.SetResult([]);await saved;cut.FindComponent>().Instance.Parameters.Get(x=>x.Visible) + should be +True + but was +False + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsCallerPresentationTests.SavedA_RefreshCompletionCannotCloseReplacementImportB() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/UnsCallerPresentationTests.cs:line 42 + 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.UnsCallerPresentationTests.OutOfOrderSavedRefreshes_PreserveTheLatestStructure [7 ms] + Error Message: + Shouldly.ShouldAssertException : cut.Markup + should contain (case insensitive comparison) +"Latest structure B" + but was actually +" + +

UNS

+ + >().Instance.Parameters.Get(x=>x.Visible) + should be +False + but was +True + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsCallerPresentationTests.DisposalDuringEditRead_DoesNotOpenALateModal() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/UnsCallerPresentationTests.cs:line 72 + 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.UnsCallerPresentationTests.DispatchedDeleteA_CannotPutFailureOnReplacementB [4 ms] + Error Message: + Shouldly.ShouldAssertException : pending.SetResult(new(false,"Failure belonging only to A"));await deleting;cut.Markup + should not contain (case insensitive comparison) +"Failure belonging only to A" + but was actually +" + +

UNS

+ + /Users/dohertj2/Desktop/OtOpcUa/src/Tooling/ZB.MOM.WW.OtOpcUa.Analyzers/bin/Release/netstandard2.0/ZB.MOM.WW.OtOpcUa.Analyzers.dll + ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Abstractions/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll + ZB.MOM.WW.OtOpcUa.Commons -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Commons/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Commons.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll + ZB.MOM.WW.OtOpcUa.Cluster -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Cluster/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Cluster.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll + ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll + ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll + ZB.MOM.WW.OtOpcUa.Configuration -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Configuration/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Configuration.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll + ZB.MOM.WW.OtOpcUa.Core -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.dll + ZB.MOM.WW.OtOpcUa.Security -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Security/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Security.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll + ZB.MOM.WW.OtOpcUa.ControlPlane -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.ControlPlane/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.ControlPlane.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll + ZB.MOM.WW.OtOpcUa.OpcUaServer -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll + ZB.MOM.WW.OtOpcUa.Runtime -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Runtime.dll +/Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Hosts.razor(26,2): error RZ1034: Found a malformed 'PageErrorBoundary' tag helper. Tag helpers must have a start and end tag or be self closing. [/Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/ZB.MOM.WW.OtOpcUa.AdminUI.csproj] +/Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Hosts.razor(148,1): error RZ1006: The else block is missing a closing "}" character. Make sure you have a matching "}" character for all the "{" characters within this block, and that none of the "}" characters are being interpreted as markup. [/Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/ZB.MOM.WW.OtOpcUa.AdminUI.csproj] +/Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Hosts.razor(316,6): error RZ1010: Unexpected "{" after "@" character. Once inside the body of a code block (@if {}, @{}, etc.) you do not need to use "@{" to switch to code. [/Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/ZB.MOM.WW.OtOpcUa.AdminUI.csproj] +/Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Hosts.razor(343,1): error RZ9981: Unexpected closing tag 'PageErrorBoundary' with no matching start tag. [/Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/ZB.MOM.WW.OtOpcUa.AdminUI.csproj] +/Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Hosts.razor(343,3): error RZ1026: Encountered end tag "PageErrorBoundary" with no matching start tag. Are your start/end tags properly balanced? [/Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/ZB.MOM.WW.OtOpcUa.AdminUI.csproj] +/Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Hosts.razor(343,3): error RZ1034: Found a malformed 'PageErrorBoundary' tag helper. Tag helpers must have a start and end tag or be self closing. [/Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/ZB.MOM.WW.OtOpcUa.AdminUI.csproj] +/Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/obj/Release/net10.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components/Pages/Hosts_razor.g.cs(1914,14): error CS1513: } expected [/Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/ZB.MOM.WW.OtOpcUa.AdminUI.csproj] diff --git a/docs/ui-consistency/evidence/ot13-uns-callers/confirmed-write-read-failure-red.log b/docs/ui-consistency/evidence/ot13-uns-callers/confirmed-write-read-failure-red.log new file mode 100644 index 000000000..dfb1762d9 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-uns-callers/confirmed-write-read-failure-red.log @@ -0,0 +1,87 @@ + + ZB.MOM.WW.OtOpcUa.Analyzers -> /Users/dohertj2/Desktop/OtOpcUa/src/Tooling/ZB.MOM.WW.OtOpcUa.Analyzers/bin/Release/netstandard2.0/ZB.MOM.WW.OtOpcUa.Analyzers.dll + ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Abstractions/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll + ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll + ZB.MOM.WW.OtOpcUa.Commons -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Commons/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Commons.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Cluster -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Cluster/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Cluster.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll + ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll + ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll + ZB.MOM.WW.OtOpcUa.Configuration -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Configuration/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Configuration.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll + ZB.MOM.WW.OtOpcUa.Core -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll + ZB.MOM.WW.OtOpcUa.ControlPlane -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.ControlPlane/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.ControlPlane.dll + ZB.MOM.WW.OtOpcUa.Security -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Security/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Security.dll + ZB.MOM.WW.OtOpcUa.OpcUaServer -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll + ZB.MOM.WW.OtOpcUa.Runtime -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Runtime.dll + ZB.MOM.WW.OtOpcUa.AdminUI -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.dll + ZB.MOM.WW.OtOpcUa.AdminUI.Tests -> /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll +Test run for /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (.NETCoreApp,Version=v10.0) +A total of 1 test files matched the specified pattern. +[xUnit.net 00:00:01.27] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsPostCommitRecoveryTests.SuccessfulDelete_FailedRefreshDoesNotReplayDeletionOrLoseLastLoadedStructure [FAIL] +[xUnit.net 00:00:01.30] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsPostCommitRecoveryTests.SuccessfulAreaWrite_FailedRefreshClosesOnlyOriginAndRetriesOnlyTheRead [FAIL] + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsPostCommitRecoveryTests.SuccessfulDelete_FailedRefreshDoesNotReplayDeletionOrLoseLastLoadedStructure [187 ms] + Error Message: + System.IO.IOException : Synthetic refresh failure after confirmed write + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Components.Pages.Uns.GlobalUns.ReadStructureAsync(Nullable`1 presentation) in /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Uns/GlobalUns.razor:line 212 + at ZB.MOM.WW.OtOpcUa.AdminUI.Components.Pages.Uns.GlobalUns.ReloadAndCloseAsync(Int64 presentation) in /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Uns/GlobalUns.razor:line 446 + at ZB.MOM.WW.OtOpcUa.AdminUI.Components.Pages.Uns.GlobalUns.ConfirmDeleteAsync(Int64 presentation, UnsNode node) in /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Uns/GlobalUns.razor:line 425 + at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task) + at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState) + at Bunit.Rendering.BunitRenderer.AssertNoUnhandledExceptions() in /_/src/bunit/Rendering/BunitRenderer.cs:line 707 + at Bunit.Rendering.BunitRenderer.DispatchEventAsync(UInt64 eventHandlerId, EventFieldInfo fieldInfo, EventArgs eventArgs, Boolean ignoreUnknownEventHandlers) in /_/src/bunit/Rendering/BunitRenderer.cs:line 201 + at Bunit.TriggerEventDispatchExtensions.GetDispatchEventTasks(BunitRenderer renderer, IElement element, String eventName, EventArgs eventArgs) in /_/src/bunit/EventDispatchExtensions/TriggerEventDispatchExtensions.cs:line 135 + at Bunit.TriggerEventDispatchExtensions.TriggerBubblingEventAsync(BunitRenderer renderer, IElement element, String eventName, EventArgs eventArgs) in /_/src/bunit/EventDispatchExtensions/TriggerEventDispatchExtensions.cs:line 110 + at Bunit.TriggerEventDispatchExtensions.TriggerEventsAsync(BunitRenderer renderer, IElement element, String eventName, EventArgs eventArgs) in /_/src/bunit/EventDispatchExtensions/TriggerEventDispatchExtensions.cs:line 86 + at Bunit.TriggerEventDispatchExtensions.<>c__DisplayClass3_0.b__0() in /_/src/bunit/EventDispatchExtensions/TriggerEventDispatchExtensions.cs:line 73 + at Microsoft.AspNetCore.Components.Rendering.RendererSynchronizationContext.<>c.<b__10_0>d.MoveNext() +--- End of stack trace from previous location --- + at Bunit.TriggerEventDispatchExtensions.ThrowIfFailedSynchronously(Task result) in /_/src/bunit/EventDispatchExtensions/TriggerEventDispatchExtensions.cs:line 254 + at Bunit.TriggerEventDispatchExtensions.TriggerEventAsync(IElement element, String eventName, EventArgs eventArgs) in /_/src/bunit/EventDispatchExtensions/TriggerEventDispatchExtensions.cs:line 75 + at Bunit.EventHandlerDispatchExtensions.ClickAsync(IElement element, MouseEventArgs eventArgs) in /_/src/bunit/obj/Release/net10.0/bunit.generators.internal/Bunit.Blazor.EventDispatcherExtensionGenerator/EventHandlerDispatchExtensions.g.cs:line 1209 + at Bunit.EventHandlerDispatchExtensions.Click(IElement element, MouseEventArgs eventArgs) in /_/src/bunit/obj/Release/net10.0/bunit.generators.internal/Bunit.Blazor.EventDispatcherExtensionGenerator/EventHandlerDispatchExtensions.g.cs:line 1200 + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsPostCommitRecoveryTests.SuccessfulDelete_FailedRefreshDoesNotReplayDeletionOrLoseLastLoadedStructure() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/UnsCallerPresentationTests.cs:line 147 + at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) + at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsPostCommitRecoveryTests.SuccessfulAreaWrite_FailedRefreshClosesOnlyOriginAndRetriesOnlyTheRead [29 ms] + Error Message: + Bunit.ElementNotFoundException : No elements were found that matches the selector '[data-testid=uns-refresh-outcome]' + Stack Trace: + at Bunit.RenderedComponentExtensions.Find[TComponent,TElement](IRenderedComponent`1 renderedComponent, String cssSelector) in /_/src/bunit/Extensions/RenderedComponentExtensions.cs:line 42 + at Bunit.RenderedComponentExtensions.Find[TComponent](IRenderedComponent`1 renderedComponent, String cssSelector) in /_/src/bunit/Extensions/RenderedComponentExtensions.cs:line 21 + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsPostCommitRecoveryTests.SuccessfulAreaWrite_FailedRefreshClosesOnlyOriginAndRetriesOnlyTheRead() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/UnsCallerPresentationTests.cs:line 140 + at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) + at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) + +Failed! - Failed: 2, Passed: 0, Skipped: 0, Total: 2, Duration: 232 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0) diff --git a/docs/ui-consistency/evidence/ot13-uns-callers/delete-blocked-1440-zoom1.png b/docs/ui-consistency/evidence/ot13-uns-callers/delete-blocked-1440-zoom1.png new file mode 100644 index 000000000..a29133c69 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-uns-callers/delete-blocked-1440-zoom1.png differ diff --git a/docs/ui-consistency/evidence/ot13-uns-callers/delete-blocked-1440-zoom2.png b/docs/ui-consistency/evidence/ot13-uns-callers/delete-blocked-1440-zoom2.png new file mode 100644 index 000000000..9e738d79a Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-uns-callers/delete-blocked-1440-zoom2.png differ diff --git a/docs/ui-consistency/evidence/ot13-uns-callers/delete-blocked-390-zoom1.png b/docs/ui-consistency/evidence/ot13-uns-callers/delete-blocked-390-zoom1.png new file mode 100644 index 000000000..480c2bc5f Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-uns-callers/delete-blocked-390-zoom1.png differ diff --git a/docs/ui-consistency/evidence/ot13-uns-callers/delete-blocked-390-zoom2.png b/docs/ui-consistency/evidence/ot13-uns-callers/delete-blocked-390-zoom2.png new file mode 100644 index 000000000..88ba25bc4 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-uns-callers/delete-blocked-390-zoom2.png differ diff --git a/docs/ui-consistency/evidence/ot13-uns-callers/delete-blocked-final-1440-zoom1.png b/docs/ui-consistency/evidence/ot13-uns-callers/delete-blocked-final-1440-zoom1.png new file mode 100644 index 000000000..979afc21d Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-uns-callers/delete-blocked-final-1440-zoom1.png differ diff --git a/docs/ui-consistency/evidence/ot13-uns-callers/delete-blocked-final-1440-zoom2.png b/docs/ui-consistency/evidence/ot13-uns-callers/delete-blocked-final-1440-zoom2.png new file mode 100644 index 000000000..1b40e6259 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-uns-callers/delete-blocked-final-1440-zoom2.png differ diff --git a/docs/ui-consistency/evidence/ot13-uns-callers/delete-blocked-final-390-zoom1.png b/docs/ui-consistency/evidence/ot13-uns-callers/delete-blocked-final-390-zoom1.png new file mode 100644 index 000000000..4468de788 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-uns-callers/delete-blocked-final-390-zoom1.png differ diff --git a/docs/ui-consistency/evidence/ot13-uns-callers/delete-blocked-final-390-zoom2.png b/docs/ui-consistency/evidence/ot13-uns-callers/delete-blocked-final-390-zoom2.png new file mode 100644 index 000000000..7e28fa054 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-uns-callers/delete-blocked-final-390-zoom2.png differ diff --git a/docs/ui-consistency/evidence/ot13-uns-callers/first-caller-fixture-red.log b/docs/ui-consistency/evidence/ot13-uns-callers/first-caller-fixture-red.log new file mode 100644 index 000000000..834f1c9ce --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-uns-callers/first-caller-fixture-red.log @@ -0,0 +1,125 @@ + + ZB.MOM.WW.OtOpcUa.Analyzers -> /Users/dohertj2/Desktop/OtOpcUa/src/Tooling/ZB.MOM.WW.OtOpcUa.Analyzers/bin/Release/netstandard2.0/ZB.MOM.WW.OtOpcUa.Analyzers.dll + ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Abstractions/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll + ZB.MOM.WW.OtOpcUa.Commons -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Commons/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Commons.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll + ZB.MOM.WW.OtOpcUa.Cluster -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Cluster/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Cluster.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll + ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll + ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll + ZB.MOM.WW.OtOpcUa.Configuration -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Configuration/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Configuration.dll + ZB.MOM.WW.OtOpcUa.Core -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.dll + ZB.MOM.WW.OtOpcUa.Security -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Security/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Security.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll + ZB.MOM.WW.OtOpcUa.OpcUaServer -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll + ZB.MOM.WW.OtOpcUa.ControlPlane -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.ControlPlane/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.ControlPlane.dll + ZB.MOM.WW.OtOpcUa.Runtime -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Runtime.dll + ZB.MOM.WW.OtOpcUa.AdminUI -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.dll + ZB.MOM.WW.OtOpcUa.AdminUI.Tests -> /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll +Test run for /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (.NETCoreApp,Version=v10.0) +A total of 1 test files matched the specified pattern. +[xUnit.net 00:00:01.57] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsCallerPresentationTests.DeferredEditLoad_CannotOpenOverReplacementImport [FAIL] +[xUnit.net 00:00:01.60] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsCallerPresentationTests.ReplacedDelete_DoesNotDispatchAfterItsPrerequisiteReadReturns [FAIL] +[xUnit.net 00:00:01.61] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsCallerPresentationTests.SavedA_RefreshCompletionCannotCloseReplacementImportB [FAIL] +[xUnit.net 00:00:01.62] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsCallerPresentationTests.OutOfOrderSavedRefreshes_PreserveTheLatestStructure [FAIL] +[xUnit.net 00:00:01.63] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsCallerPresentationTests.DispatchedDeleteA_CannotPutFailureOnReplacementB [FAIL] + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsCallerPresentationTests.DeferredEditLoad_CannotOpenOverReplacementImport [181 ms] + Error Message: + Shouldly.ShouldAssertException : cut.FindComponent>().Instance.Parameters.Get(x=>x.Visible).ShouldBeFalse();cut.FindComponent>().Instance.Parameters.Get(x=>x.Visible) + should be +True + but was +False + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsCallerPresentationTests.DeferredEditLoad_CannotOpenOverReplacementImport() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/UnsCallerPresentationTests.cs:line 30 + 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.UnsCallerPresentationTests.ReplacedDelete_DoesNotDispatchAfterItsPrerequisiteReadReturns [31 ms] + Error Message: + Bunit.ElementNotFoundException : No elements were found that matches the selector 'button.btn-danger' + Stack Trace: + at Bunit.RenderedComponentExtensions.Find[TComponent,TElement](IRenderedComponent`1 renderedComponent, String cssSelector) in /_/src/bunit/Extensions/RenderedComponentExtensions.cs:line 42 + at Bunit.RenderedComponentExtensions.Find[TComponent](IRenderedComponent`1 renderedComponent, String cssSelector) in /_/src/bunit/Extensions/RenderedComponentExtensions.cs:line 21 + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsCallerPresentationTests.ReplacedDelete_DoesNotDispatchAfterItsPrerequisiteReadReturns() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/UnsCallerPresentationTests.cs:line 44 +--- End of stack trace from previous location --- + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsCallerPresentationTests.SavedA_RefreshCompletionCannotCloseReplacementImportB [5 ms] + Error Message: + Shouldly.ShouldAssertException : pending.SetResult([]);await saved;cut.FindComponent>().Instance.Parameters.Get(x=>x.Visible) + should be +True + but was +False + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsCallerPresentationTests.SavedA_RefreshCompletionCannotCloseReplacementImportB() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/UnsCallerPresentationTests.cs:line 38 + 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.UnsCallerPresentationTests.OutOfOrderSavedRefreshes_PreserveTheLatestStructure [12 ms] + Error Message: + Shouldly.ShouldAssertException : cut.Markup + should contain (case insensitive comparison) +"Latest structure B" + but was actually +" + +

UNS

+ + /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Analyzers/debug/ZB.MOM.WW.OtOpcUa.Analyzers.dll + ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/debug/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll + ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/debug/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll + ZB.MOM.WW.OtOpcUa.Commons -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Commons/debug/ZB.MOM.WW.OtOpcUa.Commons.dll + ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Cluster -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Cluster/debug/ZB.MOM.WW.OtOpcUa.Cluster.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll + ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/debug/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll + ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/debug/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll + ZB.MOM.WW.OtOpcUa.Configuration -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Configuration/debug/ZB.MOM.WW.OtOpcUa.Configuration.dll + ZB.MOM.WW.OtOpcUa.Core -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core/debug/ZB.MOM.WW.OtOpcUa.Core.dll + ZB.MOM.WW.OtOpcUa.Security -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Security/debug/ZB.MOM.WW.OtOpcUa.Security.dll + ZB.MOM.WW.OtOpcUa.ControlPlane -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.ControlPlane/debug/ZB.MOM.WW.OtOpcUa.ControlPlane.dll + ZB.MOM.WW.OtOpcUa.OpcUaServer -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.OpcUaServer/debug/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll + ZB.MOM.WW.OtOpcUa.Runtime -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Runtime/debug/ZB.MOM.WW.OtOpcUa.Runtime.dll + ZB.MOM.WW.OtOpcUa.AdminUI -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.AdminUI/debug/ZB.MOM.WW.OtOpcUa.AdminUI.dll + OtUiCanary -> /tmp/ot-ui-canary-artifacts/bin/OtUiCanary/debug/OtUiCanary.dll + +Build succeeded. + 0 Warning(s) + 0 Error(s) + +Time Elapsed 00:00:05.30 diff --git a/docs/ui-consistency/evidence/ot13-uns-callers/initial-read-recovery-owner-red.log b/docs/ui-consistency/evidence/ot13-uns-callers/initial-read-recovery-owner-red.log new file mode 100644 index 000000000..990b613cd --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-uns-callers/initial-read-recovery-owner-red.log @@ -0,0 +1,118 @@ + + ZB.MOM.WW.OtOpcUa.Analyzers -> /Users/dohertj2/Desktop/OtOpcUa/src/Tooling/ZB.MOM.WW.OtOpcUa.Analyzers/bin/Release/netstandard2.0/ZB.MOM.WW.OtOpcUa.Analyzers.dll + ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Abstractions/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll + ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll + ZB.MOM.WW.OtOpcUa.Commons -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Commons/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Commons.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll + ZB.MOM.WW.OtOpcUa.Cluster -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Cluster/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Cluster.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll + ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll + ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll + ZB.MOM.WW.OtOpcUa.Configuration -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Configuration/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Configuration.dll + ZB.MOM.WW.OtOpcUa.Core -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.dll + ZB.MOM.WW.OtOpcUa.Security -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Security/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Security.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll + ZB.MOM.WW.OtOpcUa.ControlPlane -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.ControlPlane/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.ControlPlane.dll + ZB.MOM.WW.OtOpcUa.OpcUaServer -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll + ZB.MOM.WW.OtOpcUa.Runtime -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Runtime.dll + ZB.MOM.WW.OtOpcUa.AdminUI -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.dll + ZB.MOM.WW.OtOpcUa.AdminUI.Tests -> /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll +Test run for /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (.NETCoreApp,Version=v10.0) +A total of 1 test files matched the specified pattern. +[xUnit.net 00:00:02.49] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsRecoveryReadOwnershipTests.PostCommitReadRecovery_IsNotBlockedOrClearedByRetiredInitialRead(initialEndsDuringRetry: True) [FAIL] + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsRecoveryReadOwnershipTests.PostCommitReadRecovery_IsNotBlockedOrClearedByRetiredInitialRead(initialEndsDuringRetry: True) [1 s] + Error Message: + Bunit.Extensions.WaitForHelpers.WaitForFailedException : The assertion did not pass within the timeout period. + +If this test does not fail consistently, the reason may be that +the wait timeout is too short, and the runtime did not have enough +time to complete the necessary number of renders of the component under test. +This can happen on highly utilized or slower hardware, for example. + +To determine if this is the cause, compare the check and render count(s) below +and see if they match what is expected. If they do not, +consider increasing the timeout, either at the individual +method call level, e.g. WaitForElement("div", TimeSpan.FromSeconds(15)), +or via the static TestContext.DefaultWaitTimeout property. + +Check count: 1. +Component render count: 10. +Total render count across all components: 0. +---- Shouldly.ShouldAssertException : ut.Find("button[data-testid=tree-retry]").ClickAsync(new());cut.WaitForAssertion(service.RootReads + should be +3 + but was +2 + Stack Trace: + at Bunit.RenderedComponentWaitForHelperExtensions.WaitForAssertion[TComponent](IRenderedComponent`1 renderedComponent, Action assertion, Nullable`1 timeout) in /_/src/bunit/Extensions/WaitForHelpers/RenderedComponentWaitForHelperExtensions.WaitForState.cs:line 77 + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsRecoveryReadOwnershipTests.PostCommitReadRecovery_IsNotBlockedOrClearedByRetiredInitialRead(Boolean initialEndsDuringRetry) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/UnsCallerPresentationTests.cs:line 172 + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsRecoveryReadOwnershipTests.PostCommitReadRecovery_IsNotBlockedOrClearedByRetiredInitialRead(Boolean initialEndsDuringRetry) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/UnsCallerPresentationTests.cs:line 185 +--- End of stack trace from previous location --- +----- Inner Stack Trace ----- + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsRecoveryReadOwnershipTests.<>c__DisplayClass0_0.b__5() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/UnsCallerPresentationTests.cs:line 172 + at Bunit.Extensions.WaitForHelpers.WaitForAssertionHelper`1.<>c__DisplayClass6_0.<.ctor>b__0() in /_/src/bunit/Extensions/WaitForHelpers/WaitForAssertionHelper.cs:line 35 + at Bunit.Extensions.WaitForHelpers.WaitForHelper`2.OnAfterRender(Object sender, EventArgs args) in /_/src/bunit/Extensions/WaitForHelpers/WaitForHelper.cs:line 173 +[xUnit.net 00:00:03.50] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsRecoveryReadOwnershipTests.PostCommitReadRecovery_IsNotBlockedOrClearedByRetiredInitialRead(initialEndsDuringRetry: False) [FAIL] + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsRecoveryReadOwnershipTests.PostCommitReadRecovery_IsNotBlockedOrClearedByRetiredInitialRead(initialEndsDuringRetry: False) [1 s] + Error Message: + Bunit.Extensions.WaitForHelpers.WaitForFailedException : The assertion did not pass within the timeout period. + +If this test does not fail consistently, the reason may be that +the wait timeout is too short, and the runtime did not have enough +time to complete the necessary number of renders of the component under test. +This can happen on highly utilized or slower hardware, for example. + +To determine if this is the cause, compare the check and render count(s) below +and see if they match what is expected. If they do not, +consider increasing the timeout, either at the individual +method call level, e.g. WaitForElement("div", TimeSpan.FromSeconds(15)), +or via the static TestContext.DefaultWaitTimeout property. + +Check count: 1. +Component render count: 10. +Total render count across all components: 0. +---- Shouldly.ShouldAssertException : ut.Find("button[data-testid=tree-retry]").ClickAsync(new());cut.WaitForAssertion(service.RootReads + should be +3 + but was +2 + Stack Trace: + at Bunit.RenderedComponentWaitForHelperExtensions.WaitForAssertion[TComponent](IRenderedComponent`1 renderedComponent, Action assertion, Nullable`1 timeout) in /_/src/bunit/Extensions/WaitForHelpers/RenderedComponentWaitForHelperExtensions.WaitForState.cs:line 77 + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsRecoveryReadOwnershipTests.PostCommitReadRecovery_IsNotBlockedOrClearedByRetiredInitialRead(Boolean initialEndsDuringRetry) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/UnsCallerPresentationTests.cs:line 172 + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsRecoveryReadOwnershipTests.PostCommitReadRecovery_IsNotBlockedOrClearedByRetiredInitialRead(Boolean initialEndsDuringRetry) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/UnsCallerPresentationTests.cs:line 185 +--- End of stack trace from previous location --- +----- Inner Stack Trace ----- + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsRecoveryReadOwnershipTests.<>c__DisplayClass0_0.b__5() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/UnsCallerPresentationTests.cs:line 172 + at Bunit.Extensions.WaitForHelpers.WaitForAssertionHelper`1.<>c__DisplayClass6_0.<.ctor>b__0() in /_/src/bunit/Extensions/WaitForHelpers/WaitForAssertionHelper.cs:line 35 + at Bunit.Extensions.WaitForHelpers.WaitForHelper`2.OnAfterRender(Object sender, EventArgs args) in /_/src/bunit/Extensions/WaitForHelpers/WaitForHelper.cs:line 173 + +Failed! - Failed: 2, Passed: 0, Skipped: 0, Total: 2, Duration: 2 s - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0) diff --git a/docs/ui-consistency/evidence/ot13-uns-callers/line-save-final-1440-zoom1.png b/docs/ui-consistency/evidence/ot13-uns-callers/line-save-final-1440-zoom1.png new file mode 100644 index 000000000..eba592a72 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-uns-callers/line-save-final-1440-zoom1.png differ diff --git a/docs/ui-consistency/evidence/ot13-uns-callers/line-save-final-1440-zoom2.png b/docs/ui-consistency/evidence/ot13-uns-callers/line-save-final-1440-zoom2.png new file mode 100644 index 000000000..628f532ab Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-uns-callers/line-save-final-1440-zoom2.png differ diff --git a/docs/ui-consistency/evidence/ot13-uns-callers/line-save-final-390-zoom1.png b/docs/ui-consistency/evidence/ot13-uns-callers/line-save-final-390-zoom1.png new file mode 100644 index 000000000..bdbade0b0 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-uns-callers/line-save-final-390-zoom1.png differ diff --git a/docs/ui-consistency/evidence/ot13-uns-callers/line-save-final-390-zoom2.png b/docs/ui-consistency/evidence/ot13-uns-callers/line-save-final-390-zoom2.png new file mode 100644 index 000000000..8edc98b5b Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-uns-callers/line-save-final-390-zoom2.png differ diff --git a/docs/ui-consistency/evidence/ot13-uns-callers/matrix.json b/docs/ui-consistency/evidence/ot13-uns-callers/matrix.json new file mode 100644 index 000000000..db75669aa --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-uns-callers/matrix.json @@ -0,0 +1,386 @@ +[ + { + "sample": "delete-blocked", + "viewport": 1440, + "zoom": 1, + "layout": { + "width": 1440, + "document": 1440, + "dpr": 1, + "height": 1100 + }, + "dialogFocusSha256": "7f63bd6c5181d0b70edc2e87e086fab4dfba96adabd7a19737f9b3b4f18296d5", + "checks": { + "safeInitialFocus": true, + "footerWithinDialog": true, + "failedDeleteKeepsCurrentDialog": true, + "escapedFullFailure": true, + "exactlyOneMemoryMutation": true, + "noBodyOverflow": true, + "noPageErrors": true + }, + "errors": [], + "passed": true + }, + { + "sample": "delete-blocked", + "viewport": 390, + "zoom": 1, + "layout": { + "width": 390, + "document": 390, + "dpr": 1, + "height": 1100 + }, + "dialogFocusSha256": "7f63bd6c5181d0b70edc2e87e086fab4dfba96adabd7a19737f9b3b4f18296d5", + "checks": { + "safeInitialFocus": true, + "footerWithinDialog": true, + "failedDeleteKeepsCurrentDialog": true, + "escapedFullFailure": true, + "exactlyOneMemoryMutation": true, + "noBodyOverflow": true, + "noPageErrors": true + }, + "errors": [], + "passed": true + }, + { + "sample": "delete-blocked", + "viewport": 1440, + "zoom": 2, + "layout": { + "width": 720, + "document": 720, + "dpr": 2, + "height": 1600 + }, + "dialogFocusSha256": "7f63bd6c5181d0b70edc2e87e086fab4dfba96adabd7a19737f9b3b4f18296d5", + "checks": { + "safeInitialFocus": true, + "footerWithinDialog": true, + "failedDeleteKeepsCurrentDialog": true, + "escapedFullFailure": true, + "exactlyOneMemoryMutation": true, + "noBodyOverflow": true, + "noPageErrors": true + }, + "errors": [], + "passed": true + }, + { + "sample": "delete-blocked", + "viewport": 390, + "zoom": 2, + "layout": { + "width": 195, + "document": 195, + "dpr": 2, + "height": 1600 + }, + "dialogFocusSha256": "7f63bd6c5181d0b70edc2e87e086fab4dfba96adabd7a19737f9b3b4f18296d5", + "checks": { + "safeInitialFocus": true, + "footerWithinDialog": true, + "failedDeleteKeepsCurrentDialog": true, + "escapedFullFailure": true, + "exactlyOneMemoryMutation": true, + "noBodyOverflow": true, + "noPageErrors": true + }, + "errors": [], + "passed": true + }, + { + "sample": "area-save", + "viewport": 1440, + "zoom": 1, + "layout": { + "width": 1440, + "document": 1440, + "dpr": 1, + "height": 1100 + }, + "dialogFocusSha256": "7f63bd6c5181d0b70edc2e87e086fab4dfba96adabd7a19737f9b3b4f18296d5", + "checks": { + "safeInitialFocus": true, + "footerWithinDialog": true, + "invalidNameLinkedToError": true, + "freshMemoryStructureVisible": true, + "exactlyOneMemoryMutation": true, + "noBodyOverflow": true, + "noPageErrors": true + }, + "errors": [], + "passed": true + }, + { + "sample": "area-save", + "viewport": 390, + "zoom": 1, + "layout": { + "width": 390, + "document": 390, + "dpr": 1, + "height": 1100 + }, + "dialogFocusSha256": "7f63bd6c5181d0b70edc2e87e086fab4dfba96adabd7a19737f9b3b4f18296d5", + "checks": { + "safeInitialFocus": true, + "footerWithinDialog": true, + "invalidNameLinkedToError": true, + "freshMemoryStructureVisible": true, + "exactlyOneMemoryMutation": true, + "noBodyOverflow": true, + "noPageErrors": true + }, + "errors": [], + "passed": true + }, + { + "sample": "area-save", + "viewport": 1440, + "zoom": 2, + "layout": { + "width": 720, + "document": 720, + "dpr": 2, + "height": 1600 + }, + "dialogFocusSha256": "7f63bd6c5181d0b70edc2e87e086fab4dfba96adabd7a19737f9b3b4f18296d5", + "checks": { + "safeInitialFocus": true, + "footerWithinDialog": true, + "invalidNameLinkedToError": true, + "freshMemoryStructureVisible": true, + "exactlyOneMemoryMutation": true, + "noBodyOverflow": true, + "noPageErrors": true + }, + "errors": [], + "passed": true + }, + { + "sample": "area-save", + "viewport": 390, + "zoom": 2, + "layout": { + "width": 195, + "document": 195, + "dpr": 2, + "height": 1600 + }, + "dialogFocusSha256": "7f63bd6c5181d0b70edc2e87e086fab4dfba96adabd7a19737f9b3b4f18296d5", + "checks": { + "safeInitialFocus": true, + "footerWithinDialog": true, + "invalidNameLinkedToError": true, + "freshMemoryStructureVisible": true, + "exactlyOneMemoryMutation": true, + "noBodyOverflow": true, + "noPageErrors": true + }, + "errors": [], + "passed": true + }, + { + "sample": "line-save", + "viewport": 1440, + "zoom": 1, + "layout": { + "width": 1440, + "document": 1440, + "dpr": 1, + "height": 1100 + }, + "dialogFocusSha256": "7f63bd6c5181d0b70edc2e87e086fab4dfba96adabd7a19737f9b3b4f18296d5", + "checks": { + "safeInitialFocus": true, + "footerWithinDialog": true, + "invalidNameLinkedToError": true, + "freshMemoryStructureVisible": true, + "exactlyOneMemoryMutation": true, + "noBodyOverflow": true, + "noPageErrors": true + }, + "errors": [], + "passed": true + }, + { + "sample": "line-save", + "viewport": 390, + "zoom": 1, + "layout": { + "width": 390, + "document": 390, + "dpr": 1, + "height": 1100 + }, + "dialogFocusSha256": "7f63bd6c5181d0b70edc2e87e086fab4dfba96adabd7a19737f9b3b4f18296d5", + "checks": { + "safeInitialFocus": true, + "footerWithinDialog": true, + "invalidNameLinkedToError": true, + "freshMemoryStructureVisible": true, + "exactlyOneMemoryMutation": true, + "noBodyOverflow": true, + "noPageErrors": true + }, + "errors": [], + "passed": true + }, + { + "sample": "line-save", + "viewport": 1440, + "zoom": 2, + "layout": { + "width": 720, + "document": 720, + "dpr": 2, + "height": 1600 + }, + "dialogFocusSha256": "7f63bd6c5181d0b70edc2e87e086fab4dfba96adabd7a19737f9b3b4f18296d5", + "checks": { + "safeInitialFocus": true, + "footerWithinDialog": true, + "invalidNameLinkedToError": true, + "freshMemoryStructureVisible": true, + "exactlyOneMemoryMutation": true, + "noBodyOverflow": true, + "noPageErrors": true + }, + "errors": [], + "passed": true + }, + { + "sample": "line-save", + "viewport": 390, + "zoom": 2, + "layout": { + "width": 195, + "document": 195, + "dpr": 2, + "height": 1600 + }, + "dialogFocusSha256": "7f63bd6c5181d0b70edc2e87e086fab4dfba96adabd7a19737f9b3b4f18296d5", + "checks": { + "safeInitialFocus": true, + "footerWithinDialog": true, + "invalidNameLinkedToError": true, + "freshMemoryStructureVisible": true, + "exactlyOneMemoryMutation": true, + "noBodyOverflow": true, + "noPageErrors": true + }, + "errors": [], + "passed": true + }, + { + "sample": "area-refresh-failed", + "viewport": 1440, + "zoom": 1, + "layout": { + "width": 1440, + "document": 1440, + "dpr": 1, + "height": 1100 + }, + "dialogFocusSha256": "7f63bd6c5181d0b70edc2e87e086fab4dfba96adabd7a19737f9b3b4f18296d5", + "checks": { + "safeInitialFocus": true, + "footerWithinDialog": true, + "invalidNameLinkedToError": true, + "confirmedWriteNotReportedFailed": true, + "lastGoodTimePreserved": true, + "lastGoodStructurePreserved": true, + "readonlyRecoveryFocus": true, + "freshMemoryStructureVisible": true, + "exactlyOneMemoryMutation": true, + "noBodyOverflow": true, + "noPageErrors": true + }, + "errors": [], + "passed": true + }, + { + "sample": "area-refresh-failed", + "viewport": 390, + "zoom": 1, + "layout": { + "width": 390, + "document": 390, + "dpr": 1, + "height": 1100 + }, + "dialogFocusSha256": "7f63bd6c5181d0b70edc2e87e086fab4dfba96adabd7a19737f9b3b4f18296d5", + "checks": { + "safeInitialFocus": true, + "footerWithinDialog": true, + "invalidNameLinkedToError": true, + "confirmedWriteNotReportedFailed": true, + "lastGoodTimePreserved": true, + "lastGoodStructurePreserved": true, + "readonlyRecoveryFocus": true, + "freshMemoryStructureVisible": true, + "exactlyOneMemoryMutation": true, + "noBodyOverflow": true, + "noPageErrors": true + }, + "errors": [], + "passed": true + }, + { + "sample": "area-refresh-failed", + "viewport": 1440, + "zoom": 2, + "layout": { + "width": 720, + "document": 720, + "dpr": 2, + "height": 1600 + }, + "dialogFocusSha256": "7f63bd6c5181d0b70edc2e87e086fab4dfba96adabd7a19737f9b3b4f18296d5", + "checks": { + "safeInitialFocus": true, + "footerWithinDialog": true, + "invalidNameLinkedToError": true, + "confirmedWriteNotReportedFailed": true, + "lastGoodTimePreserved": true, + "lastGoodStructurePreserved": true, + "readonlyRecoveryFocus": true, + "freshMemoryStructureVisible": true, + "exactlyOneMemoryMutation": true, + "noBodyOverflow": true, + "noPageErrors": true + }, + "errors": [], + "passed": true + }, + { + "sample": "area-refresh-failed", + "viewport": 390, + "zoom": 2, + "layout": { + "width": 195, + "document": 195, + "dpr": 2, + "height": 1600 + }, + "dialogFocusSha256": "7f63bd6c5181d0b70edc2e87e086fab4dfba96adabd7a19737f9b3b4f18296d5", + "checks": { + "safeInitialFocus": true, + "footerWithinDialog": true, + "invalidNameLinkedToError": true, + "confirmedWriteNotReportedFailed": true, + "lastGoodTimePreserved": true, + "lastGoodStructurePreserved": true, + "readonlyRecoveryFocus": true, + "freshMemoryStructureVisible": true, + "exactlyOneMemoryMutation": true, + "noBodyOverflow": true, + "noPageErrors": true + }, + "errors": [], + "passed": true + } +] diff --git a/docs/ui-consistency/evidence/ot13-uns-callers/native.log b/docs/ui-consistency/evidence/ot13-uns-callers/native.log new file mode 100644 index 000000000..1771a8c8e --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-uns-callers/native.log @@ -0,0 +1,6 @@ +{ + "origin": "http://127.0.0.1:58546", + "cases": 16, + "passed": 16, + "failed": [] +} diff --git a/docs/ui-consistency/evidence/ot13-uns-callers/repeat-disposal-red.log b/docs/ui-consistency/evidence/ot13-uns-callers/repeat-disposal-red.log new file mode 100644 index 000000000..93f39457b --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-uns-callers/repeat-disposal-red.log @@ -0,0 +1,76 @@ + + ZB.MOM.WW.OtOpcUa.Analyzers -> /Users/dohertj2/Desktop/OtOpcUa/src/Tooling/ZB.MOM.WW.OtOpcUa.Analyzers/bin/Release/netstandard2.0/ZB.MOM.WW.OtOpcUa.Analyzers.dll + ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Abstractions/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll + ZB.MOM.WW.OtOpcUa.Commons -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Commons/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Commons.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll + ZB.MOM.WW.OtOpcUa.Cluster -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Cluster/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Cluster.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll + ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll + ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll + ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll + ZB.MOM.WW.OtOpcUa.Configuration -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Configuration/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Configuration.dll + ZB.MOM.WW.OtOpcUa.Core -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.dll + ZB.MOM.WW.OtOpcUa.Security -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Security/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Security.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll + ZB.MOM.WW.OtOpcUa.OpcUaServer -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll + ZB.MOM.WW.OtOpcUa.ControlPlane -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.ControlPlane/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.ControlPlane.dll + ZB.MOM.WW.OtOpcUa.Runtime -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Runtime.dll + ZB.MOM.WW.OtOpcUa.AdminUI -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.dll + ZB.MOM.WW.OtOpcUa.AdminUI.Tests -> /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll +Test run for /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (.NETCoreApp,Version=v10.0) +A total of 1 test files matched the specified pattern. +[xUnit.net 00:00:01.37] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.TreeRecoveryTests.ViewReadLifetime_DisposalIsIdempotent(raw: True) [FAIL] +[xUnit.net 00:00:01.37] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.TreeRecoveryTests.ViewReadLifetime_DisposalIsIdempotent(raw: False) [FAIL] + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.TreeRecoveryTests.ViewReadLifetime_DisposalIsIdempotent(raw: True) [141 ms] + Error Message: + System.ObjectDisposedException : The CancellationTokenSource has been disposed. + Stack Trace: + at System.Threading.CancellationTokenSource.Cancel() + at ZB.MOM.WW.OtOpcUa.AdminUI.Components.Pages.Raw.GlobalRaw.Dispose() in /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Raw/GlobalRaw.razor:line 122 + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.TreeRecoveryTests.<>c__DisplayClass6_0.b__0() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/TreeRecoveryTests.cs:line 87 + at Microsoft.AspNetCore.Components.Rendering.RendererSynchronizationContext.g__Execute|8_0(ValueTuple`3 state) +--- End of stack trace from previous location --- + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.TreeRecoveryTests.ViewReadLifetime_DisposalIsIdempotent(Boolean raw) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/TreeRecoveryTests.cs:line 87 +--- End of stack trace from previous location --- + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.TreeRecoveryTests.ViewReadLifetime_DisposalIsIdempotent(raw: False) [7 ms] + Error Message: + System.ObjectDisposedException : The CancellationTokenSource has been disposed. + Stack Trace: + at System.Threading.CancellationTokenSource.Cancel() + at ZB.MOM.WW.OtOpcUa.AdminUI.Components.Pages.Uns.GlobalUns.Dispose() in /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Uns/GlobalUns.razor:line 281 + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.TreeRecoveryTests.<>c__DisplayClass6_1.b__1() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/TreeRecoveryTests.cs:line 92 + at Microsoft.AspNetCore.Components.Rendering.RendererSynchronizationContext.g__Execute|8_0(ValueTuple`3 state) +--- End of stack trace from previous location --- + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.TreeRecoveryTests.ViewReadLifetime_DisposalIsIdempotent(Boolean raw) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/TreeRecoveryTests.cs:line 92 +--- End of stack trace from previous location --- + +Failed! - Failed: 2, Passed: 0, Skipped: 0, Total: 2, Duration: 161 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0) diff --git a/docs/ui-consistency/evidence/ot13-uns-callers/source-freeze.json b/docs/ui-consistency/evidence/ot13-uns-callers/source-freeze.json new file mode 100644 index 000000000..885970b0c --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-uns-callers/source-freeze.json @@ -0,0 +1,6 @@ +{ + "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Uns/GlobalUns.razor": "db8ebbefe9cf9a3f1dfea285447b0c60ac5131fa0015400993cf6f33d502a23f", + "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Raw/GlobalRaw.razor": "9658b26f5e123cb55263a79d6986b4b6c2a71aa8f619115bd230ab0ddce6c5a4", + "tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/UnsCallerPresentationTests.cs": "48a821917c1048cb4bb1f96d7305d02acc06b9ece3ff66c6dd20c94ff902a2fd", + "tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/TreeRecoveryTests.cs": "581ad82a131131fa0b0596091572bd5ec1c16bad42c01d76e0d4a658816dcaef" +} diff --git a/docs/ui-consistency/evidence/ot13-uns-callers/test-classes.json b/docs/ui-consistency/evidence/ot13-uns-callers/test-classes.json new file mode 100644 index 000000000..c456b71b1 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-uns-callers/test-classes.json @@ -0,0 +1,7 @@ +{ + "ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsModalAccessibilityTests": 24, + "ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsCallerPresentationTests": 9, + "ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsPostCommitRecoveryTests": 2, + "ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.TreeRecoveryTests": 7, + "ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsRecoveryReadOwnershipTests": 2 +} diff --git a/docs/ui-consistency/evidence/ot13-uns-callers/tests.log b/docs/ui-consistency/evidence/ot13-uns-callers/tests.log new file mode 100644 index 000000000..340cd3a49 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-uns-callers/tests.log @@ -0,0 +1,53 @@ + + ZB.MOM.WW.OtOpcUa.Analyzers -> /Users/dohertj2/Desktop/OtOpcUa/src/Tooling/ZB.MOM.WW.OtOpcUa.Analyzers/bin/Release/netstandard2.0/ZB.MOM.WW.OtOpcUa.Analyzers.dll + ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Abstractions/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll + ZB.MOM.WW.OtOpcUa.Commons -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Commons/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Commons.dll + ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll + ZB.MOM.WW.OtOpcUa.Cluster -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Cluster/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Cluster.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll + ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll + ZB.MOM.WW.OtOpcUa.Configuration -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Configuration/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Configuration.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll + ZB.MOM.WW.OtOpcUa.Core -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.dll + ZB.MOM.WW.OtOpcUa.Security -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Security/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Security.dll + ZB.MOM.WW.OtOpcUa.OpcUaServer -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll + ZB.MOM.WW.OtOpcUa.ControlPlane -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.ControlPlane/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.ControlPlane.dll + ZB.MOM.WW.OtOpcUa.Runtime -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Runtime.dll + ZB.MOM.WW.OtOpcUa.AdminUI -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.dll + ZB.MOM.WW.OtOpcUa.AdminUI.Tests -> /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll +Test run for /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (.NETCoreApp,Version=v10.0) +A total of 1 test files matched the specified pattern. +Results File: /tmp/ot13-uns-final-results/uns-callers.trx + +Passed! - Failed: 0, Passed: 44, Skipped: 0, Total: 44, Duration: 388 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0) diff --git a/docs/ui-consistency/evidence/ot13-uns-callers/tests.trx b/docs/ui-consistency/evidence/ot13-uns-callers/tests.trx new file mode 100644 index 000000000..b3add07b9 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-uns-callers/tests.trx @@ -0,0 +1,292 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [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.13] Discovering: ZB.MOM.WW.OtOpcUa.AdminUI.Tests +[xUnit.net 00:00:00.77] Discovered: ZB.MOM.WW.OtOpcUa.AdminUI.Tests +[xUnit.net 00:00:00.90] Starting: ZB.MOM.WW.OtOpcUa.AdminUI.Tests +[xUnit.net 00:00:01.32] Finished: ZB.MOM.WW.OtOpcUa.AdminUI.Tests + + + + \ No newline at end of file diff --git a/infra/tools/ui-consistency/check_uns_callers.py b/infra/tools/ui-consistency/check_uns_callers.py new file mode 100644 index 000000000..1f255f603 --- /dev/null +++ b/infra/tools/ui-consistency/check_uns_callers.py @@ -0,0 +1,42 @@ +"""Composed actual UNS page and dialogs over prefixed, per-circuit memory-only replies.""" +import hashlib,json,re,sys +from pathlib import Path +from playwright.sync_api import sync_playwright,expect +sys.path.insert(0,'/Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/components/ui-theme/validation/theme-1.0.0/canary') +from browser_zoom import zoom_browser,set_browser_zoom +origin=re.search(r'Now listening on: (http://127.0.0.1:\d+)',Path('/tmp/ot13-composed-host.log').read_text()).group(1) +out=Path('docs/ui-consistency/evidence/ot13-uns-callers');out.mkdir(parents=True,exist_ok=True);results=[] +with sync_playwright() as p: + with zoom_browser(p) as (context,worker): + for sample in ['delete-blocked','area-save','line-save','area-refresh-failed']: + for width,zoom in [(1440,1),(390,1),(1440,2),(390,2)]: + page=context.new_page();page.set_viewport_size({'width':width,'height':3200 if zoom==2 else 1100});errors=[];page.on('pageerror',lambda e:errors.append(str(e))) + page.goto(origin+'/uns-caller-pilot?failAfterWrite='+str(sample=='area-refresh-failed').lower(),wait_until='networkidle');set_browser_zoom(worker,page,zoom) + page.locator("#fixture-uns-observe").click();expect(page.locator("#fixture-uns-ready")).to_have_text("ready") + served_hash=hashlib.sha256(page.request.get(origin+'/_content/ZB.MOM.WW.OtOpcUa.AdminUI/js/dialog-focus.js').body()).hexdigest();assert served_hash=='7f63bd6c5181d0b70edc2e87e086fab4dfba96adabd7a19737f9b3b4f18296d5' + before=page.locator('[data-testid=uns-last-loaded]').get_attribute('datetime');checks={} + if sample=='delete-blocked': + page.get_by_role('button',name='Delete Local cluster',exact=True).click();dialog=page.get_by_role('dialog',name='Delete Cluster',exact=True) + else: + kind='line' if sample=='line-save' else 'area';page.get_by_role('button',name='Edit local-'+kind,exact=True).click();dialog=page.get_by_role('dialog',name='Edit UNS '+kind,exact=True) + expect(dialog).to_be_visible();expect(dialog.get_by_role('button',name='Cancel',exact=True)).to_be_focused();checks['safeInitialFocus']=True + checks['footerWithinDialog']=dialog.locator('.modal-footer button').evaluate_all('els=>els.every(e=>{const r=e.getBoundingClientRect(),d=e.closest(".modal-content").getBoundingClientRect();return r.left>=d.left&&r.right<=d.right;})') + if sample=='delete-blocked': + dialog.get_by_role('button',name='Delete',exact=True).click();dialog.get_by_role('alert').filter(has_text='Synthetic current cluster blocker').wait_for();checks['failedDeleteKeepsCurrentDialog']=True;checks['escapedFullFailure']='ignored()' in dialog.inner_text() and dialog.locator('script').count()==0 + page.screenshot(path=str(out/f'{sample}-{width}-zoom{zoom}.png'),full_page=False);page.keyboard.press('Escape');expect(page.get_by_role('dialog')).to_have_count(0) + else: + name=dialog.get_by_role('textbox',name='Name',exact=True);name.fill('INVALID NAME');dialog.get_by_role('button',name='Save changes',exact=True).click();expect(name).to_have_attribute('aria-invalid','true') + ids=(name.get_attribute('aria-describedby')or'').split();checks['invalidNameLinkedToError']=any('error' in key and page.locator('#'+key).inner_text().strip() for key in ids) + name.fill('renamed-'+kind);dialog.get_by_role('button',name='Save changes',exact=True).click();expect(page.get_by_role('dialog')).to_have_count(0) + outcome=page.locator('[data-testid=uns-refresh-outcome]');outcome.filter(has_text='Saved').wait_for() + if sample=='area-refresh-failed': + outcome.filter(has_text='refresh failed').wait_for();checks['confirmedWriteNotReportedFailed']='Last confirmed action: Saved changes' in outcome.inner_text();checks['lastGoodTimePreserved']=page.locator('[data-testid=uns-last-loaded]').get_attribute('datetime')==before;checks['lastGoodStructurePreserved']=page.get_by_text('local-area',exact=True).count()>0 + page.screenshot(path=str(out/f'{sample}-{width}-zoom{zoom}.png'),full_page=False);page.locator('#fixture-uns-restore-read').click();page.locator('button[data-testid=tree-retry]').click();outcome.filter(has_text='Structure refreshed').wait_for() + expect(page.get_by_role('textbox',name='Filter loaded UNS names',exact=True)).to_be_focused();checks['readonlyRecoveryFocus']=True + else:outcome.filter(has_text='Structure refreshed').wait_for() + checks['freshMemoryStructureVisible']=page.get_by_text('renamed-'+kind,exact=True).count()>0 + page.locator('#fixture-uns-observe').click();expect(page.locator('#fixture-uns-count')).to_have_text('1');checks['exactlyOneMemoryMutation']=True + layout=page.evaluate('({width:innerWidth,document:document.documentElement.scrollWidth,dpr:devicePixelRatio,height:innerHeight})');checks['noBodyOverflow']=layout['width']==layout['document'];checks['noPageErrors']=not errors + result={'sample':sample,'viewport':width,'zoom':zoom,'layout':layout,'dialogFocusSha256':served_hash,'checks':checks,'errors':errors,'passed':all(checks.values())};results.append(result);page.screenshot(path=str(out/f'{sample}-final-{width}-zoom{zoom}.png'),full_page=False);page.close();(out/'matrix.json').write_text(json.dumps(results,indent=2)+'\n') +print(json.dumps({'origin':origin,'cases':len(results),'passed':sum(x['passed'] for x in results),'failed':[x for x in results if not x['passed']]},indent=2)) +raise SystemExit(0 if all(x['passed'] for x in results) else 1) diff --git a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Raw/GlobalRaw.razor b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Raw/GlobalRaw.razor index 2a9e16099..8b70cdfd0 100644 --- a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Raw/GlobalRaw.razor +++ b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Raw/GlobalRaw.razor @@ -118,6 +118,7 @@ public void Dispose() { + if (_disposed) return; _disposed = true; _readLifetime.Cancel(); _readLifetime.Dispose(); diff --git a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Uns/GlobalUns.razor b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Uns/GlobalUns.razor index 43e510fbe..f05297967 100644 --- a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Uns/GlobalUns.razor +++ b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Uns/GlobalUns.razor @@ -23,14 +23,14 @@
+ @bind="_filter" @bind:event="oninput" disabled="@(!_structureLoaded)" /> @if (!string.IsNullOrWhiteSpace(_filter)) { }
- - + +
@@ -38,13 +38,32 @@

Filters loaded names only. Unloaded tag contents are not searched.

- @if (_loading) + @if (_lastLoadedAtUtc is { } loadedAt) + { +

Last loaded:

+ } + @if (_refreshOutcome is not null) + { +
+

@_refreshOutcome

+ @if (_refreshFailed && _structureLoaded) + { + @if (_loadError is not null) { } + + } +
+ } + @if (_loading && _structureLoaded) + { +

Refreshing the loaded UNS structure…

+ } + @if (_loading && !_structureLoaded) {
Loading UNS tree…
} - else if (_loadError is not null) + else if (_loadError is not null && !_structureLoaded) {

The UNS tree could not be loaded. Retry to read the current structure.

@@ -58,7 +77,7 @@ } else { -
+
- + OnSaved="() => OnModalSavedAsync(modalPresentation)" + OnCancel="() => ClosePresentation(modalPresentation)" /> - + OnSaved="() => OnModalSavedAsync(modalPresentation)" + OnCancel="() => ClosePresentation(modalPresentation)" /> - + -@if (_confirmNode is not null) +@if (deleteNode is not null) { - - + + + @if (deleteNode.Kind == UnsNodeKind.Enterprise) + { +

This will delete every cluster under this enterprise.

+ } + @if (!string.IsNullOrWhiteSpace(_confirmError)) + { + + } +
+
+ + +
+
} @@ -167,10 +176,25 @@ private string? _loadError; private ElementReference _retryControl; private bool _restoreRetryFocus; + private bool _focusFilterAfterRetry; + private bool _structureLoaded; + private DateTime? _lastLoadedAtUtc; + private string? _confirmedOutcome; + private string? _refreshOutcome; + private bool _refreshFailed; + private long? _postRefreshPresentation; + private string OutcomePrefix => _confirmedOutcome is null ? "" : $"Last confirmed action: {_confirmedOutcome}. "; + private string SuccessfulReadMessage() => OutcomePrefix + "Structure refreshed."; + private string FailedReadMessage() => OutcomePrefix + "Structure refresh failed. " + (_structureLoaded ? "Showing the last loaded structure." : "No structure has been loaded."); private async Task RetryAsync() { await LoadStructureAsync(); - if (!_disposed && _loadError is not null) { _restoreRetryFocus = true; } + if (!_disposed && _loadError is not null) _restoreRetryFocus = true; + else if (!_disposed && !_loading) + { + _refreshOutcome = SuccessfulReadMessage(); + _focusFilterAfterRetry = true; + } } protected override async Task OnAfterRenderAsync(bool firstRender) { @@ -179,34 +203,67 @@ _restoreRetryFocus = false; await _retryControl.FocusAsync(); } + if (_focusFilterAfterRetry && !_disposed) + { + _focusFilterAfterRetry = false; + if (!_areaModalVisible && !_lineModalVisible && !_importModalVisible && _confirmNode is null) + await _filterControl.FocusAsync(); + } } private readonly CancellationTokenSource _readLifetime = new(); - private bool _readPending; + private long? _explicitRead; private bool _disposed; protected override Task OnInitializedAsync() => LoadStructureAsync(); private async Task LoadStructureAsync() { - if (_disposed || _readPending) { return; } - _readPending = true; + if (_disposed || _explicitRead == _structureGeneration) return; + var request = _structureGeneration + 1; + _explicitRead = request; + if (!_structureLoaded) _loadError = null; + try { await ReadStructureAsync(); } + finally { if (_explicitRead == request) _explicitRead = null; } + } + + private long _structureGeneration; + private long _modalGeneration; + private bool CurrentModal(long generation) => !_disposed && generation == _modalGeneration; + + private async Task ReadStructureAsync(long? presentation = null) + { + if (_disposed || (presentation is { } target && !CurrentModal(target))) return false; + var request = ++_structureGeneration; _loading = true; - _loadError = null; try { var roots = await Svc.LoadStructureAsync(_readLifetime.Token); - if (!_disposed) { _roots = roots; } + if (_disposed || request != _structureGeneration || (presentation is { } current && !CurrentModal(current))) return false; + _roots = roots; + _structureLoaded = true; + _lastLoadedAtUtc = DateTime.UtcNow; + _refreshFailed = false; + _loadError = null; + if (_refreshOutcome is not null) _refreshOutcome = SuccessfulReadMessage(); + return true; } - catch (OperationCanceledException) when (_disposed) { } catch (Exception ex) { - if (!_disposed) { _loadError = ex.Message; } + if (!_disposed && request == _structureGeneration && (presentation is null || CurrentModal(presentation.Value))) + { + _loadError = ex.Message; + if (_structureLoaded || _confirmedOutcome is not null) + { + _refreshFailed = true; + _refreshOutcome = FailedReadMessage(); + } + } + return false; } finally { - _readPending = false; - if (!_disposed) { _loading = false; } + if (!_disposed && request == _structureGeneration) _loading = false; } } @@ -218,7 +275,10 @@ public void Dispose() { + if (_disposed) return; _disposed = true; + ++_modalGeneration; + ++_structureGeneration; _readLifetime.Cancel(); _readLifetime.Dispose(); } @@ -252,7 +312,7 @@ /// private async Task HandleAddChild(UnsNode node) { - if (_modalBusy) { return; } + if (_disposed || _modalBusy) { return; } _modalBusy = true; try { @@ -292,15 +352,17 @@ /// private async Task HandleEdit(UnsNode node) { - if (_modalBusy) { return; } + if (_disposed || _modalBusy) { return; } _modalBusy = true; + CloseModals(); + var presentation = _modalGeneration; try { - CloseModals(); switch (node.Kind) { case UnsNodeKind.Area: - var area = await Svc.LoadAreaAsync(node.EntityId!); + var area = await Svc.LoadAreaAsync(node.EntityId!, _readLifetime.Token); + if (!CurrentModal(presentation)) return; if (area is null) { return; } _areaModalIsNew = false; _areaModalExisting = area; @@ -309,7 +371,8 @@ break; case UnsNodeKind.Line: - var line = await Svc.LoadLineAsync(node.EntityId!); + var line = await Svc.LoadLineAsync(node.EntityId!, _readLifetime.Token); + if (!CurrentModal(presentation)) return; if (line is null) { return; } _lineModalIsNew = false; _lineModalExisting = line; @@ -319,6 +382,7 @@ break; } } + catch (Exception) when (!CurrentModal(presentation)) { } finally { _modalBusy = false; @@ -328,6 +392,7 @@ /// Opens the bulk equipment-CSV import modal. private void OpenImportModal() { + if (_disposed) return; CloseModals(); _importModalVisible = true; } @@ -336,16 +401,12 @@ /// Handles the import modal's close after a run. A bulk import can add equipment across many /// lines and clusters, so the whole structural tree is reloaded rather than refreshed in place. /// - private async Task OnImportedAsync() - { - _roots = await Svc.LoadStructureAsync(); - CloseModals(); - StateHasChanged(); - } + private Task OnImportedAsync(long presentation) => ReloadAndCloseAsync(presentation, "Import processed"); /// Opens the delete-confirm modal for a node, stashing it as the pending target. private void HandleDelete(UnsNode node) { + if (_disposed) return; CloseModals(); _confirmNode = node; } @@ -354,34 +415,36 @@ /// Performs the pending delete. Loads the entity's RowVersion first, then dispatches on Kind. /// Area/Line/Equipment trigger a full structural reload on success. /// - private async Task ConfirmDeleteAsync() + private async Task ConfirmDeleteAsync(long presentation, UnsNode node) { - if (_confirmNode is null) { return; } + if (!CurrentModal(presentation) || !ReferenceEquals(_confirmNode, node) || _confirmBusy) return; _confirmBusy = true; _confirmError = null; try { - var node = _confirmNode; UnsMutationResult result; switch (node.Kind) { case UnsNodeKind.Area: - var area = await Svc.LoadAreaAsync(node.EntityId!); - if (area is null) { await ReloadAndCloseAsync(); return; } + var area = await Svc.LoadAreaAsync(node.EntityId!, _readLifetime.Token); + if (!CurrentModal(presentation)) return; + if (area is null) { await ReloadAndCloseAsync(presentation, "Target is no longer available"); return; } result = await Svc.DeleteAreaAsync(node.EntityId!, area.RowVersion); break; case UnsNodeKind.Line: - var line = await Svc.LoadLineAsync(node.EntityId!); - if (line is null) { await ReloadAndCloseAsync(); return; } + var line = await Svc.LoadLineAsync(node.EntityId!, _readLifetime.Token); + if (!CurrentModal(presentation)) return; + if (line is null) { await ReloadAndCloseAsync(presentation, "Target is no longer available"); return; } result = await Svc.DeleteLineAsync(node.EntityId!, line.RowVersion); break; case UnsNodeKind.Equipment: - var equipment = await Svc.LoadEquipmentAsync(node.EntityId!); - if (equipment is null) { await ReloadAndCloseAsync(); return; } + var equipment = await Svc.LoadEquipmentAsync(node.EntityId!, _readLifetime.Token); + if (!CurrentModal(presentation)) return; + if (equipment is null) { await ReloadAndCloseAsync(presentation, "Target is no longer available"); return; } result = await Svc.DeleteEquipmentAsync(node.EntityId!, equipment.RowVersion); break; @@ -402,15 +465,17 @@ break; } + if (!CurrentModal(presentation)) return; if (result.Ok) { - await ReloadAndCloseAsync(); + await ReloadAndCloseAsync(presentation, "Deleted"); } else { _confirmError = result.Error; } } + catch (Exception) when (!CurrentModal(presentation)) { } finally { _confirmBusy = false; @@ -418,24 +483,49 @@ } /// Reloads the tree after a successful modal save and closes any open modal. - private async Task OnModalSavedAsync() + private Task OnModalSavedAsync(long presentation) => ReloadAndCloseAsync(presentation, "Saved changes"); + + /// Only a current presentation may apply its reload and close itself. + private async Task ReloadAndCloseAsync(long presentation, string outcome) { - _roots = await Svc.LoadStructureAsync(); - CloseModals(); - StateHasChanged(); + if (!CurrentModal(presentation)) return; + _confirmedOutcome = outcome; + _loadError = null; + _refreshFailed = false; + _refreshOutcome = OutcomePrefix + "Refreshing structure…"; + _postRefreshPresentation = presentation; + try + { + var applied = await ReadStructureAsync(presentation); + if (CurrentModal(presentation) && applied) _refreshOutcome = SuccessfulReadMessage(); + } + finally + { + if (_postRefreshPresentation == presentation) _postRefreshPresentation = null; + } + if (CurrentModal(presentation)) CloseModals(); } - /// Reloads the tree after a successful delete and closes the confirm modal. - private async Task ReloadAndCloseAsync() + private void ClosePresentation(long presentation) { - _roots = await Svc.LoadStructureAsync(); - CloseModals(); - StateHasChanged(); + if (CurrentModal(presentation)) CloseModals(); + } + + private void CancelConfirm(long presentation) + { + if (CurrentModal(presentation) && !_confirmBusy) CloseModals(); } /// Closes every modal and clears its transient state. private void CloseModals() { + if (_postRefreshPresentation == _modalGeneration) + { + _postRefreshPresentation = null; + _refreshFailed = true; + _refreshOutcome = OutcomePrefix + "Structure refresh was superseded. Retry refresh to update the loaded structure."; + } + ++_modalGeneration; _areaModalVisible = false; _areaModalIsNew = false; _areaModalClusterId = null; diff --git a/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/TreeRecoveryTests.cs b/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/TreeRecoveryTests.cs index c052dcfaa..7fe83ea7f 100644 --- a/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/TreeRecoveryTests.cs +++ b/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/TreeRecoveryTests.cs @@ -76,6 +76,22 @@ public sealed class TreeRecoveryTests:BunitContext cut.FindAll("button").Single(b=>b.TextContent=="Clear filter").Click(); cut.Find("input").GetAttribute("value").ShouldBeNullOrEmpty();cut.Markup.ShouldContain("Press 1");reads.Calls.ShouldBe(1);reads.OtherCalls.ShouldBe(0); } + [Theory] + [InlineData(true)] + [InlineData(false)] + public async Task ViewReadLifetime_DisposalIsIdempotent(bool raw) + { + if(raw) + { + Services.AddSingleton(DispatchProxy.Create());var cut=Render(); + await cut.InvokeAsync(()=>{cut.Instance.Dispose();cut.Instance.Dispose();}); + } + else + { + Services.AddSingleton(DispatchProxy.Create());var cut=Render(); + await cut.InvokeAsync(()=>{cut.Instance.Dispose();cut.Instance.Dispose();}); + } + } public class TreeReads:DispatchProxy { public bool Fail=true;public IReadOnlyList UnsRoots=[];public int Calls,OtherCalls;public CancellationToken Token;public TaskCompletionSource>? Hold; diff --git a/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/UnsCallerPresentationTests.cs b/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/UnsCallerPresentationTests.cs new file mode 100644 index 000000000..d3a651624 --- /dev/null +++ b/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/UnsCallerPresentationTests.cs @@ -0,0 +1,188 @@ +using System.Reflection; +using Bunit; +using Bunit.TestDoubles; +using Microsoft.Extensions.DependencyInjection; +using Shouldly; +using Xunit; +using ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Uns; +using ZB.MOM.WW.OtOpcUa.AdminUI.Uns; +using UnsPage=ZB.MOM.WW.OtOpcUa.AdminUI.Components.Pages.Uns.GlobalUns; +namespace ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages; +[Trait("Category","Unit")] +public sealed class UnsCallerPresentationTests:BunitContext +{ + private readonly IUnsTreeService _service; + private Calls Service=>(Calls)(object)_service; + private static UnsNode Cluster(string id)=>new(){Kind=UnsNodeKind.Cluster,Key="cluster:"+id,EntityId=id,ClusterId=id,DisplayName=id}; + private static UnsNode Area(string id)=>new(){Kind=UnsNodeKind.Area,Key="area:"+id,EntityId=id,ClusterId="cluster",DisplayName=id}; + public UnsCallerPresentationTests() + { + JSInterop.Mode=JSRuntimeMode.Loose;JSInterop.Setup("otDialog.activate",_=>true).SetResult(true);ComponentFactories.AddStub(t=>new[]{"AreaModal","LineModal","ImportEquipmentModal"}.Contains(t.Name));AddAuthorization().SetAuthorized("fixture"); + _service=DispatchProxy.Create();Services.AddSingleton(_service); + } + private static async Task Call(IRenderedComponent cut,string method,params object[] args) + { + await cut.InvokeAsync(async()=>{var result=typeof(UnsPage).GetMethod(method,BindingFlags.Instance|BindingFlags.NonPublic)!.Invoke(cut.Instance,args);if(result is Task task)await task;}); + cut.Render(); // Simulate the render normally supplied by the parent event callback. + } + [Fact] + public async Task DeferredEditLoad_CannotOpenOverReplacementImport() + { + var pending=new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously);Service.AreaRead=_=>pending.Task;var cut=Render(); + var edit=Call(cut,"HandleEdit",Area("a"));cut.WaitForAssertion(()=>Service.AreaReads.Count.ShouldBe(1));await Call(cut,"OpenImportModal"); + pending.SetResult(new("a","Area A",null,"cluster",[1]));await edit; + cut.FindComponent>().Instance.Parameters.Get(x=>x.Visible).ShouldBeFalse();cut.FindComponent>().Instance.Parameters.Get(x=>x.Visible).ShouldBeTrue(); + } + [Fact] + public async Task SavedA_RefreshCompletionCannotCloseReplacementImportB() + { + var cut=Render();await Call(cut,"HandleAddChild",Cluster("a"));var callback=cut.FindComponent>().Instance.Parameters.Get(x=>x.OnSaved); + var pending=new TaskCompletionSource>(TaskCreationOptions.RunContinuationsAsynchronously);Service.RootRead=()=>pending.Task; + var saved=cut.InvokeAsync(()=>callback.InvokeAsync());cut.WaitForAssertion(()=>Service.RootReads.ShouldBe(2));await Call(cut,"OpenImportModal"); + pending.SetResult([]);await saved;cut.FindComponent>().Instance.Parameters.Get(x=>x.Visible).ShouldBeTrue(); + } + [Fact] + public async Task ReplacedDelete_DoesNotDispatchAfterItsPrerequisiteReadReturns() + { + var pending=new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously);Service.AreaRead=_=>pending.Task;var cut=Render();await Call(cut,"HandleDelete",Area("a")); + var deleting=cut.Find("button.btn-danger").ClickAsync(new());cut.WaitForAssertion(()=>Service.AreaReads.Count.ShouldBe(1));await Call(cut,"HandleDelete",Cluster("b")); + pending.SetResult(new("a","Area A",null,"cluster",[1]));await deleting;Service.Deletes.ShouldBeEmpty(); + } + [Fact] + public async Task DispatchedDeleteA_CannotPutFailureOnReplacementB() + { + var pending=new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously);Service.ClusterDelete=_=>pending.Task;var cut=Render();await Call(cut,"HandleDelete",Cluster("a")); + var deleting=cut.Find("button.btn-danger").ClickAsync(new());cut.WaitForAssertion(()=>Service.Deletes.ShouldBe(new[]{"a"}));await Call(cut,"HandleDelete",Cluster("b")); + pending.SetResult(new(false,"Failure belonging only to A"));await deleting;cut.Markup.ShouldNotContain("Failure belonging only to A");cut.Markup.ShouldContain("b"); + } + [Fact] + public async Task OutOfOrderSavedRefreshes_PreserveTheLatestStructure() + { + var cut=Render();await Call(cut,"HandleAddChild",Cluster("a"));var first=cut.FindComponent>().Instance.Parameters.Get(x=>x.OnSaved); + var a=new TaskCompletionSource>(TaskCreationOptions.RunContinuationsAsynchronously);var b=new TaskCompletionSource>(TaskCreationOptions.RunContinuationsAsynchronously);Service.RootRead=()=>Service.RootReads==2?a.Task:b.Task; + var saveA=cut.InvokeAsync(()=>first.InvokeAsync());cut.WaitForAssertion(()=>Service.RootReads.ShouldBe(2));await Call(cut,"HandleAddChild",Cluster("b"));var second=cut.FindComponent>().Instance.Parameters.Get(x=>x.OnSaved); + var saveB=cut.InvokeAsync(()=>second.InvokeAsync());cut.WaitForAssertion(()=>Service.RootReads.ShouldBe(3));b.SetResult([Cluster("Latest structure B")]);await saveB;a.SetResult([Cluster("Retired structure A")]);await saveA; + cut.Markup.ShouldContain("Latest structure B");cut.Markup.ShouldNotContain("Retired structure A"); + } + [Fact] + public async Task DisposalDuringEditRead_DoesNotOpenALateModal() + { + var pending=new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously);Service.AreaRead=_=>pending.Task;var cut=Render();var edit=Call(cut,"HandleEdit",Area("a")); + cut.WaitForAssertion(()=>Service.AreaReads.Count.ShouldBe(1));await cut.InvokeAsync(cut.Instance.Dispose);pending.SetResult(new("a","A",null,"cluster",[1]));await edit; + cut.FindComponent>().Instance.Parameters.Get(x=>x.Visible).ShouldBeFalse(); + } + [Fact] + public async Task CurrentDelete_IsSingleFlightAndFailureStaysOnItsNamedDialog() + { + var pending=new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously);Service.ClusterDelete=_=>pending.Task; + var cut=Render();await Call(cut,"HandleDelete",Cluster("a"));var button=cut.Find("button.btn-danger");var deleting=button.ClickAsync(new()); + cut.WaitForAssertion(()=>Service.Deletes.ShouldBe(new[]{"a"}));await button.ClickAsync(new());Service.Deletes.ShouldBe(new[]{"a"}); + pending.SetResult(new(false,"Current blocker "));await deleting; + cut.Find("[role=dialog]").GetAttribute("aria-labelledby").ShouldNotBeNullOrWhiteSpace();cut.Find("[role=alert]").TextContent.ShouldContain("Current blocker ");cut.FindAll("script").ShouldBeEmpty(); + } + [Fact] + public async Task RetiredSavedEntry_DoesNotStartANewReadForReplacement() + { + var cut=Render();await Call(cut,"HandleAddChild",Cluster("a"));var action=cut.FindComponent>().Instance.Parameters.Get(x=>x.OnSaved); + await Call(cut,"OpenImportModal");await cut.InvokeAsync(()=>action.InvokeAsync());Service.RootReads.ShouldBe(1);cut.FindComponent>().Instance.Parameters.Get(x=>x.Visible).ShouldBeTrue(); + } + [Fact] + public async Task DeferredLineEdit_AlsoCannotOpenAfterReplacement() + { + var pending=new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously);Service.LineRead=_=>pending.Task; + var cut=Render();var node=new UnsNode{Kind=UnsNodeKind.Line,Key="line:a",EntityId="line-a",ClusterId="cluster",DisplayName="Line A"}; + var edit=Call(cut,"HandleEdit",node);cut.WaitForAssertion(()=>Service.LineReads.Count.ShouldBe(1));await Call(cut,"OpenImportModal");pending.SetResult(new("line-a","area-a","Line A",null,[2]));await edit; + cut.FindComponent>().Instance.Parameters.Get(x=>x.Visible).ShouldBeFalse();cut.FindComponent>().Instance.Parameters.Get(x=>x.Visible).ShouldBeTrue(); + } + public class Calls:DispatchProxy + { + public int RootReads;public List AreaReads=[],LineReads=[],Deletes=[],Writes=[];public Func>>? RootRead;public Func>? AreaRead;public Func>? LineRead;public Func>? ClusterDelete; + protected override object? Invoke(MethodInfo? m,object?[]? a) + { + switch(m?.Name) + { + case "LoadStructureAsync":RootReads++;return RootRead?.Invoke()??Task.FromResult>([]); + case "LoadAreaAsync":var area=(string)a![0]!;AreaReads.Add(area);return AreaRead?.Invoke(area)??Task.FromResult(new(area,area,null,"cluster",[1])); + case "UpdateAreaAsync":Writes.Add((string)a![0]!);return Task.FromResult(new UnsMutationResult(true,null)); + case "LoadLineAsync":var line=(string)a![0]!;LineReads.Add(line);return LineRead?.Invoke(line)??Task.FromResult(new(line,"area",line,null,[2])); + case "DeleteAreaAsync":Deletes.Add((string)a![0]!);return Task.FromResult(new UnsMutationResult(true,null)); + case "DeleteClusterAsync":var cluster=(string)a![0]!;Deletes.Add(cluster);return ClusterDelete?.Invoke(cluster)??Task.FromResult(new UnsMutationResult(true,null)); + default:throw new InvalidOperationException("Unexpected UNS caller operation: "+m?.Name); + } + } + } +} + +/// A confirmed write is never presented as a failed write because a later view read failed. +[Trait("Category","Unit")] +public sealed class UnsPostCommitRecoveryTests:BunitContext +{ + private readonly IUnsTreeService _service; + private UnsCallerPresentationTests.Calls Service=>(UnsCallerPresentationTests.Calls)(object)_service; + public UnsPostCommitRecoveryTests() + { + JSInterop.Mode=JSRuntimeMode.Loose;JSInterop.Setup("otDialog.activate",_=>true).SetResult(true); + ComponentFactories.AddStub();AddAuthorization().SetAuthorized("fixture"); + _service=DispatchProxy.Create();Services.AddSingleton(_service); + Service.RootRead=()=>Service.RootReads==1?Task.FromResult(Roots()):Task.FromException>(new IOException("Synthetic refresh failure after confirmed write")); + } + private static IReadOnlyList Roots() + { + var a=new UnsNode{Kind=UnsNodeKind.Area,Key="a",EntityId="a",ClusterId="cluster",DisplayName="a"}; + var c=new UnsNode{Kind=UnsNodeKind.Cluster,Key="cluster",EntityId="cluster",ClusterId="cluster",DisplayName="cluster",Expanded=true};c.Children.Add(a); + var e=new UnsNode{Kind=UnsNodeKind.Enterprise,Key="enterprise",DisplayName="Last loaded enterprise",Expanded=true};e.Children.Add(c);return[e]; + } + [Fact] + public void SuccessfulAreaWrite_FailedRefreshClosesOnlyOriginAndRetriesOnlyTheRead() + { + var cut=Render();cut.Find("button[aria-label='Edit a']").Click();cut.Find("form").Submit(); + cut.WaitForAssertion(()=>Service.Writes.ShouldBe(new[]{"a"}));cut.FindAll("[role=dialog]").ShouldBeEmpty(); + cut.Find("[data-testid=uns-refresh-outcome]").TextContent.ShouldContain("Saved");cut.Find("[data-testid=uns-refresh-outcome]").TextContent.ShouldContain("refresh failed");cut.Markup.ShouldContain("Last loaded enterprise"); + Service.RootRead=()=>Task.FromResult(Roots());cut.Find("button[data-testid=tree-retry]").Click(); + cut.WaitForAssertion(()=>cut.Find("[data-testid=uns-refresh-outcome]").TextContent.ShouldContain("Structure refreshed"));Service.Writes.ShouldBe(new[]{"a"});Service.RootReads.ShouldBe(3); + } + [Fact] + public void SuccessfulDelete_FailedRefreshDoesNotReplayDeletionOrLoseLastLoadedStructure() + { + var cut=Render();cut.Find("button[aria-label='Delete cluster']").Click();cut.Find("button.btn-danger").Click(); + cut.WaitForAssertion(()=>Service.Deletes.ShouldBe(new[]{"cluster"}));cut.FindAll("[role=dialog]").ShouldBeEmpty(); + cut.Find("[data-testid=uns-refresh-outcome]").TextContent.ShouldContain("Deleted");cut.Markup.ShouldContain("Last loaded enterprise"); + Service.RootRead=()=>Task.FromResult>([]);cut.Find("button[data-testid=tree-retry]").Click(); + cut.WaitForAssertion(()=>cut.Markup.ShouldContain("No clusters yet."));Service.Deletes.ShouldBe(new[]{"cluster"});Service.RootReads.ShouldBe(3); + } +} + +[Trait("Category","Unit")] +public sealed class UnsRecoveryReadOwnershipTests:BunitContext +{ + [Theory] + [InlineData(false)] + [InlineData(true)] + public async Task PostCommitReadRecovery_IsNotBlockedOrClearedByRetiredInitialRead(bool initialEndsDuringRetry) + { + JSInterop.Mode=JSRuntimeMode.Loose;ComponentFactories.AddStub();ComponentFactories.AddStub();ComponentFactories.AddStub();AddAuthorization().SetAuthorized("fixture"); + var proxy=DispatchProxy.Create();var service=(UnsCallerPresentationTests.Calls)(object)proxy;Services.AddSingleton(proxy); + var initial=new TaskCompletionSource>(TaskCreationOptions.RunContinuationsAsynchronously);var retryRead=new TaskCompletionSource>(TaskCreationOptions.RunContinuationsAsynchronously); + service.RootRead=()=>service.RootReads switch {1=>initial.Task,2=>Task.FromException>(new IOException("Post-import refresh failed")),_=>retryRead.Task}; + var cut=Render(); + try + { + cut.WaitForAssertion(()=>service.RootReads.ShouldBe(1));await cut.InvokeAsync(()=>typeof(UnsPage).GetMethod("OpenImportModal",BindingFlags.Instance|BindingFlags.NonPublic)!.Invoke(cut.Instance,null));cut.Render(); + await cut.InvokeAsync(()=>cut.FindComponent>().Instance.Parameters.Get(x=>x.OnImported).InvokeAsync());service.RootReads.ShouldBe(2); + var retry=cut.Find("button[data-testid=tree-retry]").ClickAsync(new());cut.WaitForAssertion(()=>service.RootReads.ShouldBe(3)); + if(initialEndsDuringRetry) + { + cut.WaitForAssertion(()=>cut.FindAll("[role=status]").Any(x=>x.TextContent.Contains("Loading UNS tree")).ShouldBeTrue());var render=cut.RenderCount; + initial.SetResult([]);cut.WaitForAssertion(()=>cut.RenderCount.ShouldBeGreaterThan(render)); + cut.Markup.ShouldNotContain("No clusters yet.");cut.FindAll("[role=status]").Any(x=>x.TextContent.Contains("Loading UNS tree")).ShouldBeTrue(); + } + retryRead.SetResult([new(){Kind=UnsNodeKind.Enterprise,Key="fresh",DisplayName="Fresh recovered structure"}]);await retry; + if(!initialEndsDuringRetry){initial.SetResult([]);await cut.InvokeAsync(()=>Task.CompletedTask);} + cut.Markup.ShouldContain("Fresh recovered structure");cut.Markup.ShouldNotContain("No clusters yet.");service.RootReads.ShouldBe(3); + } + finally + { + initial.TrySetResult([]);retryRead.TrySetResult([]);await cut.InvokeAsync(()=>Task.CompletedTask); + } + } +}