diff --git a/docs/ui-consistency/evidence/ot13-raw-callers/README.md b/docs/ui-consistency/evidence/ot13-raw-callers/README.md new file mode 100644 index 000000000..c5d5421aa --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-raw-callers/README.md @@ -0,0 +1,30 @@ +# OT13 composed Raw caller presentations + +Frozen production scope: RawTree.razor only, with RawCallerPresentationTests and own browser script. Existing standalone modal wrappers, tree density JS/geometry and service contracts are not edited in this batch. Modal source dependencies were accepted independently; shared focus adapter071148e9 is served at SHA7f63bd6c5181d0b70edc2e87e086fab4dfba96adabd7a19737f9b3b4f18296d5. + +## Contracts + +Each show operation advances the parent presentation, closes other parent-owned overlay flags and supplies a stable per-presentation Target. Render-local handlers capture the current business delegate, target node and device-create/edit meaning. Retired queued handlers cannot dispatch under replacementB. A dispatched operationA continues; its late result, warning, fault or close cannot overwriteB. Active direct-operation faults retain the existing error-boundary behavior (positive regression). Retired faults are ignored only for UI delivery; no cancellation/replay/authorization/payload change. + +Saved callbacks refresh their captured node/parent only while current. The refresh rechecks generation after await. Weak per-node revision ownership prevents old cleanup from clearing a newer read’s Loading flag. Last loaded children remain stored until a current fresh read succeeds; a retired read cannot leave a false empty branch or install retired children. Its own loading flag is released, and Loaded remainsfalse so a later explicit expand reads fresh data. Active read failures still use the existing node error row. No backend/API/polling change. + +Rename advisories and delete blockers queue while their originating input/confirm is visible. The close callback and a completed DOM batch precede the follow-up message’s render; the old dialog’s DOM is already removed. Parent callbacks are generation-bound. Hidden origins cannot publish late messages. This enforces a single-active-overlay sequence; arbitrary nested overlays are not supported or certified. + +## Actual evidence + +- tests.log/tests.trx:157 passed,0 failed/skipped;19 new caller cases plus138 current modal/density/row cases (including concurrent agents’ new modal cases). test-classes.json records exact classes; this is a selected suite, not the final whole consumer suite. +- Valid reds: seven-red.log7 failures for wrong replacement target, dispatchedA warning, oldCSV saved callback, premature follow-up and same-caption identity; read-owner-red.log, hidden-origin-red.log, retained-subtree-red.log each preserve their concrete failure. retired-exceptions-red.log has2 failing retired-fault cases and2 positive cases already passing. The active fault remains a positive boundary-behavior control. +- first-five-fixture-red.log initially had4 failures/1 pass because the CSV fake device lacked HasLazyChildren, so it could not observe an incorrect target read. The corrected realistic device fixture makes that case fail in the seven-case red. No assertion was removed to achieve green. +- Test command from repository root uses explicit private SQL runner: `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~RawCallerPresentationTests|FullyQualifiedName~RawTreeDensityTests|FullyQualifiedName~RawTreeRowsTests|FullyQualifiedName~SimpleModalAccessibilityTests|FullyQualifiedName~ModalAccessibilityTests" --logger "trx;LogFileName=raw-callers.trx" --results-directory /tmp/ot13-raw-caller-toggle-results`. +- fixture-build.log:zero warnings/errors. Synthetic fixture allows only explicitly prefixed local rename/delete fabricated replies and memory-only child reads; it never calls a database/fleet mutation. Browser request count is1 per scene. +- matrix.json/native.log:first complete composed8/8 native scenes, followed by8/8 confirmation after the initial-expansion ownership correction (delete blocker/rename advisory ×1440/390 and real200%720/195DPR2). Actual safe Cancel focus, single active follow-up, full escaped metadata, focus inside, inert background, Escape close/restored background/focus, one synthetic dispatch, no overflow/page errors. Each scene verifies served dialog-focus.js byte parity at the final approved hash. The earlier zero-scene harness used Actions rather than the real More actions trigger label; native-trigger-harness-error.log retains that selector error, not a product defect. The Delete button’s real label was corrected in the harness before the complete matrix. + +## Limits + +Native scenes exercise two actual composed follow-ups; deterministic unit cases cover replacement/deferred/correct-target transitions. They do not claim every modal family’s composed runtime path or generic nesting. GlobalUns save/load/delete callers and remaining inline operation/editor dialogs are a separate pending OT13 slice. Whole-route/full-suite/package and delivered route inventory remain OT14. No deployment, real mutation, real driver session or production credential access. Roll back this scoped source commit for a regression; keep published packages/data and independently accepted shared focus fixes. + +## Peer correction: initial lazy expansion shares read ownership + +Parent review identified the original ToggleAsync still bypassed the new reload ownership. A user can expand an unloaded folder, open New folder while its first read is pending, then save: the newer reload and old initial query race. initial-expand-owner-red.log records5 failures/1 positive: four actual rendered expansion + rendered name-submit callback interleavings (oldsuccess/oldfailure ×completionorder), late disposed expansion, and the already-passing positive that opening a dialog alone must not discard an ordinary read. Toggle now shares weak per-node revisions and lifetime checks with reload; it deliberately does not use modal presentation generation. Old successes/errors/cleanup cannot replace fresh children or clear a newer Loading flag; ordinary expansion still completes when a dialog opens. The final157 results include all19 caller cases. before-toggle-confirmation preserves prior8-case native JSON/photos; matrix.json/native.log is the final8-case confirmation on corrected candidate. No further UI fixes were needed. + +Fixture state is now scoped per circuit (matching the consumer service lifetime) so independent scenes cannot leak synthetic target state; this is fixture-only, not a production registration change. A harmless observer readiness handshake precedes interaction. The two composed browser outcomes and final served focus hash remain the same. diff --git a/docs/ui-consistency/evidence/ot13-raw-callers/before-toggle-confirmation/delete-1440-zoom1.png b/docs/ui-consistency/evidence/ot13-raw-callers/before-toggle-confirmation/delete-1440-zoom1.png new file mode 100644 index 000000000..0ad33b842 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-raw-callers/before-toggle-confirmation/delete-1440-zoom1.png differ diff --git a/docs/ui-consistency/evidence/ot13-raw-callers/before-toggle-confirmation/delete-1440-zoom2.png b/docs/ui-consistency/evidence/ot13-raw-callers/before-toggle-confirmation/delete-1440-zoom2.png new file mode 100644 index 000000000..94e306e72 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-raw-callers/before-toggle-confirmation/delete-1440-zoom2.png differ diff --git a/docs/ui-consistency/evidence/ot13-raw-callers/before-toggle-confirmation/delete-390-zoom1.png b/docs/ui-consistency/evidence/ot13-raw-callers/before-toggle-confirmation/delete-390-zoom1.png new file mode 100644 index 000000000..cecf31052 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-raw-callers/before-toggle-confirmation/delete-390-zoom1.png differ diff --git a/docs/ui-consistency/evidence/ot13-raw-callers/before-toggle-confirmation/delete-390-zoom2.png b/docs/ui-consistency/evidence/ot13-raw-callers/before-toggle-confirmation/delete-390-zoom2.png new file mode 100644 index 000000000..1c58aabe3 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-raw-callers/before-toggle-confirmation/delete-390-zoom2.png differ diff --git a/docs/ui-consistency/evidence/ot13-raw-callers/before-toggle-confirmation/matrix.json b/docs/ui-consistency/evidence/ot13-raw-callers/before-toggle-confirmation/matrix.json new file mode 100644 index 000000000..19d6a5624 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-raw-callers/before-toggle-confirmation/matrix.json @@ -0,0 +1,202 @@ +[ + { + "action": "Delete", + "viewport": 1440, + "zoom": 1, + "layout": { + "width": 1440, + "document": 1440, + "dpr": 1 + }, + "dialogFocusSha256": "7f63bd6c5181d0b70edc2e87e086fab4dfba96adabd7a19737f9b3b4f18296d5", + "checks": { + "safeInitialFocus": true, + "oneActiveDialog": true, + "fullEscapedOutcome": true, + "focusInsideFollowUp": true, + "backgroundLocked": true, + "focusRestoredOutsideClosedDialog": true, + "backgroundRestored": true, + "singleSyntheticDispatch": true, + "noBodyOverflow": true, + "noPageErrors": true + }, + "errors": [], + "passed": true + }, + { + "action": "Delete", + "viewport": 390, + "zoom": 1, + "layout": { + "width": 390, + "document": 390, + "dpr": 1 + }, + "dialogFocusSha256": "7f63bd6c5181d0b70edc2e87e086fab4dfba96adabd7a19737f9b3b4f18296d5", + "checks": { + "safeInitialFocus": true, + "oneActiveDialog": true, + "fullEscapedOutcome": true, + "focusInsideFollowUp": true, + "backgroundLocked": true, + "focusRestoredOutsideClosedDialog": true, + "backgroundRestored": true, + "singleSyntheticDispatch": true, + "noBodyOverflow": true, + "noPageErrors": true + }, + "errors": [], + "passed": true + }, + { + "action": "Delete", + "viewport": 1440, + "zoom": 2, + "layout": { + "width": 720, + "document": 720, + "dpr": 2 + }, + "dialogFocusSha256": "7f63bd6c5181d0b70edc2e87e086fab4dfba96adabd7a19737f9b3b4f18296d5", + "checks": { + "safeInitialFocus": true, + "oneActiveDialog": true, + "fullEscapedOutcome": true, + "focusInsideFollowUp": true, + "backgroundLocked": true, + "focusRestoredOutsideClosedDialog": true, + "backgroundRestored": true, + "singleSyntheticDispatch": true, + "noBodyOverflow": true, + "noPageErrors": true + }, + "errors": [], + "passed": true + }, + { + "action": "Delete", + "viewport": 390, + "zoom": 2, + "layout": { + "width": 195, + "document": 195, + "dpr": 2 + }, + "dialogFocusSha256": "7f63bd6c5181d0b70edc2e87e086fab4dfba96adabd7a19737f9b3b4f18296d5", + "checks": { + "safeInitialFocus": true, + "oneActiveDialog": true, + "fullEscapedOutcome": true, + "focusInsideFollowUp": true, + "backgroundLocked": true, + "focusRestoredOutsideClosedDialog": true, + "backgroundRestored": true, + "singleSyntheticDispatch": true, + "noBodyOverflow": true, + "noPageErrors": true + }, + "errors": [], + "passed": true + }, + { + "action": "Rename", + "viewport": 1440, + "zoom": 1, + "layout": { + "width": 1440, + "document": 1440, + "dpr": 1 + }, + "dialogFocusSha256": "7f63bd6c5181d0b70edc2e87e086fab4dfba96adabd7a19737f9b3b4f18296d5", + "checks": { + "safeInitialFocus": true, + "oneActiveDialog": true, + "fullEscapedOutcome": true, + "focusInsideFollowUp": true, + "backgroundLocked": true, + "focusRestoredOutsideClosedDialog": true, + "backgroundRestored": true, + "singleSyntheticDispatch": true, + "noBodyOverflow": true, + "noPageErrors": true + }, + "errors": [], + "passed": true + }, + { + "action": "Rename", + "viewport": 390, + "zoom": 1, + "layout": { + "width": 390, + "document": 390, + "dpr": 1 + }, + "dialogFocusSha256": "7f63bd6c5181d0b70edc2e87e086fab4dfba96adabd7a19737f9b3b4f18296d5", + "checks": { + "safeInitialFocus": true, + "oneActiveDialog": true, + "fullEscapedOutcome": true, + "focusInsideFollowUp": true, + "backgroundLocked": true, + "focusRestoredOutsideClosedDialog": true, + "backgroundRestored": true, + "singleSyntheticDispatch": true, + "noBodyOverflow": true, + "noPageErrors": true + }, + "errors": [], + "passed": true + }, + { + "action": "Rename", + "viewport": 1440, + "zoom": 2, + "layout": { + "width": 720, + "document": 720, + "dpr": 2 + }, + "dialogFocusSha256": "7f63bd6c5181d0b70edc2e87e086fab4dfba96adabd7a19737f9b3b4f18296d5", + "checks": { + "safeInitialFocus": true, + "oneActiveDialog": true, + "fullEscapedOutcome": true, + "focusInsideFollowUp": true, + "backgroundLocked": true, + "focusRestoredOutsideClosedDialog": true, + "backgroundRestored": true, + "singleSyntheticDispatch": true, + "noBodyOverflow": true, + "noPageErrors": true + }, + "errors": [], + "passed": true + }, + { + "action": "Rename", + "viewport": 390, + "zoom": 2, + "layout": { + "width": 195, + "document": 195, + "dpr": 2 + }, + "dialogFocusSha256": "7f63bd6c5181d0b70edc2e87e086fab4dfba96adabd7a19737f9b3b4f18296d5", + "checks": { + "safeInitialFocus": true, + "oneActiveDialog": true, + "fullEscapedOutcome": true, + "focusInsideFollowUp": true, + "backgroundLocked": true, + "focusRestoredOutsideClosedDialog": true, + "backgroundRestored": true, + "singleSyntheticDispatch": true, + "noBodyOverflow": true, + "noPageErrors": true + }, + "errors": [], + "passed": true + } +] diff --git a/docs/ui-consistency/evidence/ot13-raw-callers/before-toggle-confirmation/native.log b/docs/ui-consistency/evidence/ot13-raw-callers/before-toggle-confirmation/native.log new file mode 100644 index 000000000..96f54e16c --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-raw-callers/before-toggle-confirmation/native.log @@ -0,0 +1,6 @@ +{ + "origin": "http://127.0.0.1:55423", + "cases": 8, + "passed": 8, + "failed": [] +} diff --git a/docs/ui-consistency/evidence/ot13-raw-callers/before-toggle-confirmation/rename-1440-zoom1.png b/docs/ui-consistency/evidence/ot13-raw-callers/before-toggle-confirmation/rename-1440-zoom1.png new file mode 100644 index 000000000..2bf34dfa9 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-raw-callers/before-toggle-confirmation/rename-1440-zoom1.png differ diff --git a/docs/ui-consistency/evidence/ot13-raw-callers/before-toggle-confirmation/rename-1440-zoom2.png b/docs/ui-consistency/evidence/ot13-raw-callers/before-toggle-confirmation/rename-1440-zoom2.png new file mode 100644 index 000000000..c55b9a5cf Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-raw-callers/before-toggle-confirmation/rename-1440-zoom2.png differ diff --git a/docs/ui-consistency/evidence/ot13-raw-callers/before-toggle-confirmation/rename-390-zoom1.png b/docs/ui-consistency/evidence/ot13-raw-callers/before-toggle-confirmation/rename-390-zoom1.png new file mode 100644 index 000000000..b5c8c05b7 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-raw-callers/before-toggle-confirmation/rename-390-zoom1.png differ diff --git a/docs/ui-consistency/evidence/ot13-raw-callers/before-toggle-confirmation/rename-390-zoom2.png b/docs/ui-consistency/evidence/ot13-raw-callers/before-toggle-confirmation/rename-390-zoom2.png new file mode 100644 index 000000000..f7c69e677 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-raw-callers/before-toggle-confirmation/rename-390-zoom2.png differ diff --git a/docs/ui-consistency/evidence/ot13-raw-callers/delete-1440-zoom1.png b/docs/ui-consistency/evidence/ot13-raw-callers/delete-1440-zoom1.png new file mode 100644 index 000000000..2b537805f Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-raw-callers/delete-1440-zoom1.png differ diff --git a/docs/ui-consistency/evidence/ot13-raw-callers/delete-1440-zoom2.png b/docs/ui-consistency/evidence/ot13-raw-callers/delete-1440-zoom2.png new file mode 100644 index 000000000..94e306e72 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-raw-callers/delete-1440-zoom2.png differ diff --git a/docs/ui-consistency/evidence/ot13-raw-callers/delete-390-zoom1.png b/docs/ui-consistency/evidence/ot13-raw-callers/delete-390-zoom1.png new file mode 100644 index 000000000..cecf31052 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-raw-callers/delete-390-zoom1.png differ diff --git a/docs/ui-consistency/evidence/ot13-raw-callers/delete-390-zoom2.png b/docs/ui-consistency/evidence/ot13-raw-callers/delete-390-zoom2.png new file mode 100644 index 000000000..701b8fa85 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-raw-callers/delete-390-zoom2.png differ diff --git a/docs/ui-consistency/evidence/ot13-raw-callers/first-five-fixture-red.log b/docs/ui-consistency/evidence/ot13-raw-callers/first-five-fixture-red.log new file mode 100644 index 000000000..98ef241fc --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-raw-callers/first-five-fixture-red.log @@ -0,0 +1,120 @@ + + 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.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.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.MTConnect.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll + ZB.MOM.WW.OtOpcUa.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.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.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.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.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.OpcUaClient.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.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.TwinCAT.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.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.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.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.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.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.OpcUaClient.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll + ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll + ZB.MOM.WW.OtOpcUa.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.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.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.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.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.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.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.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.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.OpcUaServer -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll + ZB.MOM.WW.OtOpcUa.Runtime -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Runtime.dll + ZB.MOM.WW.OtOpcUa.AdminUI -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.dll + ZB.MOM.WW.OtOpcUa.AdminUI.Tests -> /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll +Test run for /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (.NETCoreApp,Version=v10.0) +A total of 1 test files matched the specified pattern. +[xUnit.net 00:00:01.42] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.DispatchedRenameA_CannotPublishWarningOrCloseReplacementB [FAIL] +[xUnit.net 00:00:01.43] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.RetiredConfirmHandler_CannotDeleteReplacement [FAIL] +[xUnit.net 00:00:01.44] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.RetiredNameHandler_CannotRenameReplacementWithSameCaption [FAIL] +[xUnit.net 00:00:01.44] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.RetiredDriverTypeHandler_CannotCreateUnderReplacementFolder [FAIL] + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.DispatchedRenameA_CannotPublishWarningOrCloseReplacementB [182 ms] + Error Message: + Shouldly.ShouldAssertException : tree.FindComponent>().Instance.Parameters.Get(x=>x.Visible) + should be +False + but was +True + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.DispatchedRenameA_CannotPublishWarningOrCloseReplacementB() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/RawCallerPresentationTests.cs:line 53 + 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.RawCallerPresentationTests.RetiredConfirmHandler_CannotDeleteReplacement [11 ms] + Error Message: + Shouldly.ShouldAssertException : await Open(tree,"OnDeleteFolder",_b);await tree.InvokeAsync(old.InvokeAsync());Service.Deletes + should be empty but had +1 + item and was +["b"] + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.RetiredConfirmHandler_CannotDeleteReplacement() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/RawCallerPresentationTests.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.RawCallerPresentationTests.RetiredNameHandler_CannotRenameReplacementWithSameCaption [1 ms] + Error Message: + Shouldly.ShouldAssertException : await Open(tree,"OnRenameFolder",_b);await tree.InvokeAsync(old.InvokeAsync("renamed"));Service.Renames + should be empty but had +1 + item and was +["b"] + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.RetiredNameHandler_CannotRenameReplacementWithSameCaption() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/RawCallerPresentationTests.cs:line 31 + 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.RawCallerPresentationTests.RetiredDriverTypeHandler_CannotCreateUnderReplacementFolder [3 ms] + Error Message: + Shouldly.ShouldAssertException : await Open(tree,"OnNewDriver",_b);await tree.InvokeAsync(old.InvokeAsync(("Modbus","local")));Service.Creates + should be empty but had +1 + item and was +["b"] + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.RetiredDriverTypeHandler_CannotCreateUnderReplacementFolder() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/RawCallerPresentationTests.cs:line 44 + at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) + at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options) +--- End of stack trace from previous location --- + at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) + at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options) + +Failed! - Failed: 4, Passed: 1, Skipped: 0, Total: 5, Duration: 212 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0) diff --git a/docs/ui-consistency/evidence/ot13-raw-callers/fixture-build.log b/docs/ui-consistency/evidence/ot13-raw-callers/fixture-build.log new file mode 100644 index 000000000..c76fdc518 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-raw-callers/fixture-build.log @@ -0,0 +1,44 @@ + ZB.MOM.WW.OtOpcUa.Analyzers -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Analyzers/debug/ZB.MOM.WW.OtOpcUa.Analyzers.dll + ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll + ZB.MOM.WW.OtOpcUa.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-raw-callers/hidden-origin-red.log b/docs/ui-consistency/evidence/ot13-raw-callers/hidden-origin-red.log new file mode 100644 index 000000000..00d946e07 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-raw-callers/hidden-origin-red.log @@ -0,0 +1,69 @@ + + 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.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.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.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.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.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.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.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.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.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.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.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.AlarmHistorian -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.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.Core.Scripting -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll + ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll + ZB.MOM.WW.OtOpcUa.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.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.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.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.Driver.Mqtt.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll + ZB.MOM.WW.OtOpcUa.Core -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll + ZB.MOM.WW.OtOpcUa.Driver.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.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.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.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.RawCallerPresentationTests.HiddenOrigin_CannotPublishALateFailureMessage [FAIL] + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.HiddenOrigin_CannotPublishALateFailureMessage [182 ms] + Error Message: + Shouldly.ShouldAssertException : tree.FindComponent>().Instance.Parameters.Get(x=>x.Visible) + should be +False + but was +True + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.HiddenOrigin_CannotPublishALateFailureMessage() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/RawCallerPresentationTests.cs:line 104 + at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) + at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options) +--- End of stack trace from previous location --- + at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) + at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options) + +Failed! - Failed: 1, Passed: 1, Skipped: 0, Total: 2, Duration: 206 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0) diff --git a/docs/ui-consistency/evidence/ot13-raw-callers/initial-expand-owner-red.log b/docs/ui-consistency/evidence/ot13-raw-callers/initial-expand-owner-red.log new file mode 100644 index 000000000..49dc2f1f8 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-raw-callers/initial-expand-owner-red.log @@ -0,0 +1,143 @@ + + 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.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.OpcUaClient.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.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.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.Core.Scripting.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll + ZB.MOM.WW.OtOpcUa.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.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.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.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.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.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.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.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.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.Core.Scripting -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll + ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll + ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll + ZB.MOM.WW.OtOpcUa.Driver.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.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.Security -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Security/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Security.dll + ZB.MOM.WW.OtOpcUa.Core -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll + ZB.MOM.WW.OtOpcUa.Driver.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.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.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.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.Driver.AbLegacy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll + ZB.MOM.WW.OtOpcUa.Runtime -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Runtime.dll + ZB.MOM.WW.OtOpcUa.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.47] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.InitialExpansion_AndSavedReloadShareReadOwnership(initialFirst: True, initialFails: True) [FAIL] +[xUnit.net 00:00:01.48] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.InitialExpansion_AndSavedReloadShareReadOwnership(initialFirst: False, initialFails: True) [FAIL] +[xUnit.net 00:00:01.48] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.InitialExpansion_AndSavedReloadShareReadOwnership(initialFirst: True, initialFails: False) [FAIL] +[xUnit.net 00:00:01.49] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.InitialExpansion_AndSavedReloadShareReadOwnership(initialFirst: False, initialFails: False) [FAIL] +[xUnit.net 00:00:01.49] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.DisposedExpansion_CannotInstallLateChildren [FAIL] + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.InitialExpansion_AndSavedReloadShareReadOwnership(initialFirst: True, initialFails: True) [22 ms] + Error Message: + Shouldly.ShouldAssertException : FinishInitial();await expanding;node.Loading + should be +True + but was +False + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.InitialExpansion_AndSavedReloadShareReadOwnership(Boolean initialFirst, Boolean initialFails) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/RawCallerPresentationTests.cs:line 159 + 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.RawCallerPresentationTests.InitialExpansion_AndSavedReloadShareReadOwnership(initialFirst: False, initialFails: True) [4 ms] + Error Message: + Shouldly.ShouldAssertException : node.Children.ShouldHaveSingleItem().Key.ShouldBe("fresh-child");node.Error + should be null but was +"Retired initial read" + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.InitialExpansion_AndSavedReloadShareReadOwnership(Boolean initialFirst, Boolean initialFails) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/RawCallerPresentationTests.cs:line 166 + 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.RawCallerPresentationTests.InitialExpansion_AndSavedReloadShareReadOwnership(initialFirst: True, initialFails: False) [2 ms] + Error Message: + Shouldly.ShouldAssertException : FinishInitial();await expanding;node.Loading + should be +True + but was +False + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.InitialExpansion_AndSavedReloadShareReadOwnership(Boolean initialFirst, Boolean initialFails) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/RawCallerPresentationTests.cs:line 159 + 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.RawCallerPresentationTests.InitialExpansion_AndSavedReloadShareReadOwnership(initialFirst: False, initialFails: False) [5 ms] + Error Message: + Shouldly.ShouldAssertException : node.Children.ShouldHaveSingleItem().Key + should be +"fresh-child" + but was +"old-child" + difference +Difference | | | | | | | | | | | | + | \|/ \|/ \|/ \|/ \|/ \|/ \|/ \|/ \|/ \|/ \|/ +Index | 0 1 2 3 4 5 6 7 8 9 10 +Expected Value | f r e s h - c h i l d +Actual Value | o l d - c h i l d +Expected Code | 102 114 101 115 104 45 99 104 105 108 100 +Actual Code | 111 108 100 45 99 104 105 108 100 + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.InitialExpansion_AndSavedReloadShareReadOwnership(Boolean initialFirst, Boolean initialFails) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/RawCallerPresentationTests.cs:line 166 + 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.RawCallerPresentationTests.DisposedExpansion_CannotInstallLateChildren [3 ms] + Error Message: + Shouldly.ShouldAssertException : node.Children + should be empty but had +1 + item and was +[ZB.MOM.WW.OtOpcUa.AdminUI.Uns.RawNode (27986180)] + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.DisposedExpansion_CannotInstallLateChildren() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/RawCallerPresentationTests.cs:line 184 + at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) + at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options) +--- End of stack trace from previous location --- + at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) + at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options) + +Failed! - Failed: 5, Passed: 1, Skipped: 0, Total: 6, Duration: 274 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0) diff --git a/docs/ui-consistency/evidence/ot13-raw-callers/matrix.json b/docs/ui-consistency/evidence/ot13-raw-callers/matrix.json new file mode 100644 index 000000000..19d6a5624 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-raw-callers/matrix.json @@ -0,0 +1,202 @@ +[ + { + "action": "Delete", + "viewport": 1440, + "zoom": 1, + "layout": { + "width": 1440, + "document": 1440, + "dpr": 1 + }, + "dialogFocusSha256": "7f63bd6c5181d0b70edc2e87e086fab4dfba96adabd7a19737f9b3b4f18296d5", + "checks": { + "safeInitialFocus": true, + "oneActiveDialog": true, + "fullEscapedOutcome": true, + "focusInsideFollowUp": true, + "backgroundLocked": true, + "focusRestoredOutsideClosedDialog": true, + "backgroundRestored": true, + "singleSyntheticDispatch": true, + "noBodyOverflow": true, + "noPageErrors": true + }, + "errors": [], + "passed": true + }, + { + "action": "Delete", + "viewport": 390, + "zoom": 1, + "layout": { + "width": 390, + "document": 390, + "dpr": 1 + }, + "dialogFocusSha256": "7f63bd6c5181d0b70edc2e87e086fab4dfba96adabd7a19737f9b3b4f18296d5", + "checks": { + "safeInitialFocus": true, + "oneActiveDialog": true, + "fullEscapedOutcome": true, + "focusInsideFollowUp": true, + "backgroundLocked": true, + "focusRestoredOutsideClosedDialog": true, + "backgroundRestored": true, + "singleSyntheticDispatch": true, + "noBodyOverflow": true, + "noPageErrors": true + }, + "errors": [], + "passed": true + }, + { + "action": "Delete", + "viewport": 1440, + "zoom": 2, + "layout": { + "width": 720, + "document": 720, + "dpr": 2 + }, + "dialogFocusSha256": "7f63bd6c5181d0b70edc2e87e086fab4dfba96adabd7a19737f9b3b4f18296d5", + "checks": { + "safeInitialFocus": true, + "oneActiveDialog": true, + "fullEscapedOutcome": true, + "focusInsideFollowUp": true, + "backgroundLocked": true, + "focusRestoredOutsideClosedDialog": true, + "backgroundRestored": true, + "singleSyntheticDispatch": true, + "noBodyOverflow": true, + "noPageErrors": true + }, + "errors": [], + "passed": true + }, + { + "action": "Delete", + "viewport": 390, + "zoom": 2, + "layout": { + "width": 195, + "document": 195, + "dpr": 2 + }, + "dialogFocusSha256": "7f63bd6c5181d0b70edc2e87e086fab4dfba96adabd7a19737f9b3b4f18296d5", + "checks": { + "safeInitialFocus": true, + "oneActiveDialog": true, + "fullEscapedOutcome": true, + "focusInsideFollowUp": true, + "backgroundLocked": true, + "focusRestoredOutsideClosedDialog": true, + "backgroundRestored": true, + "singleSyntheticDispatch": true, + "noBodyOverflow": true, + "noPageErrors": true + }, + "errors": [], + "passed": true + }, + { + "action": "Rename", + "viewport": 1440, + "zoom": 1, + "layout": { + "width": 1440, + "document": 1440, + "dpr": 1 + }, + "dialogFocusSha256": "7f63bd6c5181d0b70edc2e87e086fab4dfba96adabd7a19737f9b3b4f18296d5", + "checks": { + "safeInitialFocus": true, + "oneActiveDialog": true, + "fullEscapedOutcome": true, + "focusInsideFollowUp": true, + "backgroundLocked": true, + "focusRestoredOutsideClosedDialog": true, + "backgroundRestored": true, + "singleSyntheticDispatch": true, + "noBodyOverflow": true, + "noPageErrors": true + }, + "errors": [], + "passed": true + }, + { + "action": "Rename", + "viewport": 390, + "zoom": 1, + "layout": { + "width": 390, + "document": 390, + "dpr": 1 + }, + "dialogFocusSha256": "7f63bd6c5181d0b70edc2e87e086fab4dfba96adabd7a19737f9b3b4f18296d5", + "checks": { + "safeInitialFocus": true, + "oneActiveDialog": true, + "fullEscapedOutcome": true, + "focusInsideFollowUp": true, + "backgroundLocked": true, + "focusRestoredOutsideClosedDialog": true, + "backgroundRestored": true, + "singleSyntheticDispatch": true, + "noBodyOverflow": true, + "noPageErrors": true + }, + "errors": [], + "passed": true + }, + { + "action": "Rename", + "viewport": 1440, + "zoom": 2, + "layout": { + "width": 720, + "document": 720, + "dpr": 2 + }, + "dialogFocusSha256": "7f63bd6c5181d0b70edc2e87e086fab4dfba96adabd7a19737f9b3b4f18296d5", + "checks": { + "safeInitialFocus": true, + "oneActiveDialog": true, + "fullEscapedOutcome": true, + "focusInsideFollowUp": true, + "backgroundLocked": true, + "focusRestoredOutsideClosedDialog": true, + "backgroundRestored": true, + "singleSyntheticDispatch": true, + "noBodyOverflow": true, + "noPageErrors": true + }, + "errors": [], + "passed": true + }, + { + "action": "Rename", + "viewport": 390, + "zoom": 2, + "layout": { + "width": 195, + "document": 195, + "dpr": 2 + }, + "dialogFocusSha256": "7f63bd6c5181d0b70edc2e87e086fab4dfba96adabd7a19737f9b3b4f18296d5", + "checks": { + "safeInitialFocus": true, + "oneActiveDialog": true, + "fullEscapedOutcome": true, + "focusInsideFollowUp": true, + "backgroundLocked": true, + "focusRestoredOutsideClosedDialog": true, + "backgroundRestored": true, + "singleSyntheticDispatch": true, + "noBodyOverflow": true, + "noPageErrors": true + }, + "errors": [], + "passed": true + } +] diff --git a/docs/ui-consistency/evidence/ot13-raw-callers/native-trigger-harness-error.log b/docs/ui-consistency/evidence/ot13-raw-callers/native-trigger-harness-error.log new file mode 100644 index 000000000..ee8f5940f --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-raw-callers/native-trigger-harness-error.log @@ -0,0 +1,30 @@ +Traceback (most recent call last): + File "/Users/dohertj2/Desktop/OtOpcUa/infra/tools/ui-consistency/check_raw_callers.py", line 14, in + trigger=page.get_by_role('button',name='Actions for Local folder A',exact=True);trigger.wait_for();trigger.focus();trigger.press('Enter');page.get_by_role('menuitem',name=action,exact=True).click() + ~~~~~~~~~~~~~~~~^^ + File "/opt/homebrew/lib/python3.14/site-packages/playwright/sync_api/_generated.py", line 18074, in wait_for + self._sync(self._impl_obj.wait_for(timeout=timeout, state=state)) + ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_sync_base.py", line 115, in _sync + return task.result() + ~~~~~~~~~~~^^ + File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_locator.py", line 710, in wait_for + await self._frame.wait_for_selector( + self._selector, strict=True, timeout=timeout, state=state + ) + File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_frame.py", line 369, in wait_for_selector + await self._channel.send( + "waitForSelector", self._timeout, locals_to_params(locals()) + ) + File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_connection.py", line 69, in send + return await self._connection.wrap_api_call( + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + ...<3 lines>... + ) + ^ + File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_connection.py", line 559, in wrap_api_call + raise rewrite_error(error, f"{parsed_st['apiName']}: {error}") from None +playwright._impl._errors.TimeoutError: Locator.wait_for: Timeout 30000ms exceeded. +Call log: + - waiting for get_by_role("button", name="Actions for Local folder A", exact=True) to be visible + diff --git a/docs/ui-consistency/evidence/ot13-raw-callers/native.log b/docs/ui-consistency/evidence/ot13-raw-callers/native.log new file mode 100644 index 000000000..a0d648269 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-raw-callers/native.log @@ -0,0 +1,6 @@ +{ + "origin": "http://127.0.0.1:58546", + "cases": 8, + "passed": 8, + "failed": [] +} diff --git a/docs/ui-consistency/evidence/ot13-raw-callers/read-owner-red.log b/docs/ui-consistency/evidence/ot13-raw-callers/read-owner-red.log new file mode 100644 index 000000000..3383a29c2 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-raw-callers/read-owner-red.log @@ -0,0 +1,69 @@ + + 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.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.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.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.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.AbCip.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.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.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.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.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.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.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.Mqtt.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.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.Cluster -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Cluster/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Cluster.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll + ZB.MOM.WW.OtOpcUa.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.Core.VirtualTags -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll + ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll + ZB.MOM.WW.OtOpcUa.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.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.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.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.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.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.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.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.32] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.OldRefreshCompletion_CannotClearNewReadOrInstallOldChildren [FAIL] + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.OldRefreshCompletion_CannotClearNewReadOrInstallOldChildren [184 ms] + Error Message: + Shouldly.ShouldAssertException : node.Loading + should be +True + but was +False + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.OldRefreshCompletion_CannotClearNewReadOrInstallOldChildren() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/RawCallerPresentationTests.cs:line 92 + at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) + at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options) +--- End of stack trace from previous location --- + at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) + at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options) + +Failed! - Failed: 1, Passed: 0, Skipped: 0, Total: 1, Duration: 191 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0) diff --git a/docs/ui-consistency/evidence/ot13-raw-callers/rename-1440-zoom1.png b/docs/ui-consistency/evidence/ot13-raw-callers/rename-1440-zoom1.png new file mode 100644 index 000000000..59df29d75 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-raw-callers/rename-1440-zoom1.png differ diff --git a/docs/ui-consistency/evidence/ot13-raw-callers/rename-1440-zoom2.png b/docs/ui-consistency/evidence/ot13-raw-callers/rename-1440-zoom2.png new file mode 100644 index 000000000..c55b9a5cf Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-raw-callers/rename-1440-zoom2.png differ diff --git a/docs/ui-consistency/evidence/ot13-raw-callers/rename-390-zoom1.png b/docs/ui-consistency/evidence/ot13-raw-callers/rename-390-zoom1.png new file mode 100644 index 000000000..b5c8c05b7 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-raw-callers/rename-390-zoom1.png differ diff --git a/docs/ui-consistency/evidence/ot13-raw-callers/rename-390-zoom2.png b/docs/ui-consistency/evidence/ot13-raw-callers/rename-390-zoom2.png new file mode 100644 index 000000000..8cfcc4a08 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-raw-callers/rename-390-zoom2.png differ diff --git a/docs/ui-consistency/evidence/ot13-raw-callers/retained-subtree-red.log b/docs/ui-consistency/evidence/ot13-raw-callers/retained-subtree-red.log new file mode 100644 index 000000000..c3d24f264 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-raw-callers/retained-subtree-red.log @@ -0,0 +1,69 @@ + + 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.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.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.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.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.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.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.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.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.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.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.Core.AlarmHistorian -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.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.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.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.Core.Scripting -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll + ZB.MOM.WW.OtOpcUa.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.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.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.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.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.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.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.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.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.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.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.OpcUaServer -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll + ZB.MOM.WW.OtOpcUa.Runtime -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Runtime.dll + ZB.MOM.WW.OtOpcUa.AdminUI -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.dll + ZB.MOM.WW.OtOpcUa.AdminUI.Tests -> /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll +Test run for /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (.NETCoreApp,Version=v10.0) +A total of 1 test files matched the specified pattern. +[xUnit.net 00:00:01.29] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.RetiredRefresh_KeepsLastLoadedChildrenInsteadOfLeavingAFalseEmptyBranch [FAIL] + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.RetiredRefresh_KeepsLastLoadedChildrenInsteadOfLeavingAFalseEmptyBranch [187 ms] + Error Message: + Shouldly.ShouldAssertException : node.Children + should have single item but had +0 + items and was +[] (System.Collections.Generic.List`1[ZB.MOM.WW.OtOpcUa.AdminUI.Uns.RawNode]) + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.RetiredRefresh_KeepsLastLoadedChildrenInsteadOfLeavingAFalseEmptyBranch() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/RawCallerPresentationTests.cs:line 116 + at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) + at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options) +--- End of stack trace from previous location --- + at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) + at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options) + +Failed! - Failed: 1, Passed: 0, Skipped: 0, Total: 1, Duration: 194 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0) diff --git a/docs/ui-consistency/evidence/ot13-raw-callers/retired-exceptions-red.log b/docs/ui-consistency/evidence/ot13-raw-callers/retired-exceptions-red.log new file mode 100644 index 000000000..ba624da47 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-raw-callers/retired-exceptions-red.log @@ -0,0 +1,74 @@ + + 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.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.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.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.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.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.Commons -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Commons/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Commons.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.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.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.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.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.Driver.Mqtt.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.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.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.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.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.Mqtt.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.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.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.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.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.Driver.Galaxy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll + ZB.MOM.WW.OtOpcUa.Driver.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.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.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.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.43] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.RetiredRenameException_CannotFaultReplacementB [FAIL] +[xUnit.net 00:00:01.45] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.DirectToggleException_AfterAnotherDialogOpensCannotFaultThatDialog [FAIL] + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.RetiredRenameException_CannotFaultReplacementB [175 ms] + Error Message: + System.IO.IOException : Retired A exception + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Raw.RawTree.<>c__DisplayClass104_0.<b__0>d.MoveNext() in /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Raw/RawTree.razor:line 560 +--- End of stack trace from previous location --- + at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task) + at Microsoft.AspNetCore.Components.Rendering.RendererSynchronizationContext.<>c.<b__10_0>d.MoveNext() +--- End of stack trace from previous location --- + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.RetiredRenameException_CannotFaultReplacementB() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/RawCallerPresentationTests.cs:line 124 +--- End of stack trace from previous location --- + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.DirectToggleException_AfterAnotherDialogOpensCannotFaultThatDialog [2 ms] + Error Message: + System.IO.IOException : Retired direct operation + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Raw.RawTree.OnToggleDriverEnabled(RawNode node) in /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Raw/RawTree.razor:line 599 + at Microsoft.AspNetCore.Components.Rendering.RendererSynchronizationContext.<>c.<b__10_0>d.MoveNext() +--- End of stack trace from previous location --- + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.DirectToggleException_AfterAnotherDialogOpensCannotFaultThatDialog() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/RawCallerPresentationTests.cs:line 132 +--- End of stack trace from previous location --- + +Failed! - Failed: 2, Passed: 2, Skipped: 0, Total: 4, Duration: 211 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0) diff --git a/docs/ui-consistency/evidence/ot13-raw-callers/seven-red.log b/docs/ui-consistency/evidence/ot13-raw-callers/seven-red.log new file mode 100644 index 000000000..1f33886fe --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-raw-callers/seven-red.log @@ -0,0 +1,162 @@ + + 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.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.Modbus.Addressing -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll + ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll + ZB.MOM.WW.OtOpcUa.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.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.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.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.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.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.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.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.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.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.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.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.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.Mqtt.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll + ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll + ZB.MOM.WW.OtOpcUa.Driver.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.Driver.Mqtt.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll + ZB.MOM.WW.OtOpcUa.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.OpcUaClient -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll + ZB.MOM.WW.OtOpcUa.Driver.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.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.Galaxy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll + ZB.MOM.WW.OtOpcUa.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.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.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.27] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.IdenticalCreateCaptions_StillCarryDistinctPresentationTarget [FAIL] +[xUnit.net 00:00:01.30] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.DispatchedRenameA_CannotPublishWarningOrCloseReplacementB [FAIL] +[xUnit.net 00:00:01.31] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.RetiredConfirmHandler_CannotDeleteReplacement [FAIL] +[xUnit.net 00:00:01.31] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.RetiredNameHandler_CannotRenameReplacementWithSameCaption [FAIL] +[xUnit.net 00:00:01.32] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.BlockedDelete_MessageWaitsForOriginatingConfirmationToHide [FAIL] +[xUnit.net 00:00:01.32] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.RetiredDriverTypeHandler_CannotCreateUnderReplacementFolder [FAIL] +[xUnit.net 00:00:01.33] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.RetiredCsvSavedHandler_CannotReloadCurrentTargetB [FAIL] + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.IdenticalCreateCaptions_StillCarryDistinctPresentationTarget [164 ms] + Error Message: + Bunit.TestDoubles.ParameterNotFoundException : The parameter 'Target' was not passed to the component 'ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Raw.RawNameDialog' when it was rendered. + Stack Trace: + at Bunit.TestDoubles.CapturedParameterView`1.Get[TValue](Expression`1 parameterSelector) in /_/src/bunit/TestDoubles/Components/CapturedParameterView{TComponent}.cs:line 86 + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.IdenticalCreateCaptions_StillCarryDistinctPresentationTarget() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/RawCallerPresentationTests.cs:line 76 +--- End of stack trace from previous location --- + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.DispatchedRenameA_CannotPublishWarningOrCloseReplacementB [24 ms] + Error Message: + Shouldly.ShouldAssertException : tree.FindComponent>().Instance.Parameters.Get(x=>x.Visible) + should be +False + but was +True + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.DispatchedRenameA_CannotPublishWarningOrCloseReplacementB() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/RawCallerPresentationTests.cs:line 53 + 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.RawCallerPresentationTests.RetiredConfirmHandler_CannotDeleteReplacement [10 ms] + Error Message: + Shouldly.ShouldAssertException : await Open(tree,"OnDeleteFolder",_b);await tree.InvokeAsync(old.InvokeAsync());Service.Deletes + should be empty but had +1 + item and was +["b"] + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.RetiredConfirmHandler_CannotDeleteReplacement() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/RawCallerPresentationTests.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.RawCallerPresentationTests.RetiredNameHandler_CannotRenameReplacementWithSameCaption [2 ms] + Error Message: + Shouldly.ShouldAssertException : await Open(tree,"OnRenameFolder",_b);await tree.InvokeAsync(old.InvokeAsync("renamed"));Service.Renames + should be empty but had +1 + item and was +["b"] + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.RetiredNameHandler_CannotRenameReplacementWithSameCaption() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/RawCallerPresentationTests.cs:line 31 + 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.RawCallerPresentationTests.BlockedDelete_MessageWaitsForOriginatingConfirmationToHide [1 ms] + Error Message: + Shouldly.ShouldAssertException : tree.FindComponent>().Instance.Parameters.Get(x=>x.Visible) + should be +False + but was +True + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.BlockedDelete_MessageWaitsForOriginatingConfirmationToHide() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/RawCallerPresentationTests.cs:line 68 + 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.RawCallerPresentationTests.RetiredDriverTypeHandler_CannotCreateUnderReplacementFolder [2 ms] + Error Message: + Shouldly.ShouldAssertException : await Open(tree,"OnNewDriver",_b);await tree.InvokeAsync(old.InvokeAsync(("Modbus","local")));Service.Creates + should be empty but had +1 + item and was +["b"] + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.RetiredDriverTypeHandler_CannotCreateUnderReplacementFolder() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/RawCallerPresentationTests.cs:line 44 + 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.RawCallerPresentationTests.RetiredCsvSavedHandler_CannotReloadCurrentTargetB [5 ms] + Error Message: + Shouldly.ShouldAssertException : await Open(tree,"OnImportCsv",b);await tree.InvokeAsync(old.InvokeAsync());Service.Reads + should be empty but had +1 + item and was +["device-b"] + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests.RetiredCsvSavedHandler_CannotReloadCurrentTargetB() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/RawCallerPresentationTests.cs:line 60 + at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) + at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options) +--- End of stack trace from previous location --- + at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) + at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options) + +Failed! - Failed: 7, Passed: 0, Skipped: 0, Total: 7, Duration: 232 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0) diff --git a/docs/ui-consistency/evidence/ot13-raw-callers/source-freeze.json b/docs/ui-consistency/evidence/ot13-raw-callers/source-freeze.json new file mode 100644 index 000000000..ff9490608 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-raw-callers/source-freeze.json @@ -0,0 +1,4 @@ +{ + "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Raw/RawTree.razor": "305903fb76954ddb840cc4bd9ece4f1dee2938a19fa3a17a8ffbe34f19e68d1b", + "tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/RawCallerPresentationTests.cs": "727f153592a993a630c67dfa7843e4ea705ce711ac3047555fcbb7a60c810c5f" +} diff --git a/docs/ui-consistency/evidence/ot13-raw-callers/test-classes.json b/docs/ui-consistency/evidence/ot13-raw-callers/test-classes.json new file mode 100644 index 000000000..58fdff130 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-raw-callers/test-classes.json @@ -0,0 +1,11 @@ +{ + "ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawWorkflowModalAccessibilityTests": 20, + "ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.UnsModalAccessibilityTests": 24, + "ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.SimpleModalAccessibilityTests": 17, + "ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCallerPresentationTests": 19, + "ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ComplexModalAccessibilityTests": 41, + "ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Raw.RawTreeRowsTests": 8, + "ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawTreeDensityTests": 3, + "ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ModalAccessibilityTests": 11, + "ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.RawCsvImportModalAccessibilityTests": 14 +} diff --git a/docs/ui-consistency/evidence/ot13-raw-callers/tests.log b/docs/ui-consistency/evidence/ot13-raw-callers/tests.log new file mode 100644 index 000000000..69380c710 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-raw-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.Calculation.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll + ZB.MOM.WW.OtOpcUa.Core.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.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.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.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.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.Mqtt.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.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.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.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.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.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.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.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.Core.ScriptedAlarms -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.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.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.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.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.OpcUaClient -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll + ZB.MOM.WW.OtOpcUa.Driver.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.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.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.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-raw-caller-toggle-results/raw-callers.trx + +Passed! - Failed: 0, Passed: 157, Skipped: 0, Total: 157, Duration: 669 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0) diff --git a/docs/ui-consistency/evidence/ot13-raw-callers/tests.trx b/docs/ui-consistency/evidence/ot13-raw-callers/tests.trx new file mode 100644 index 000000000..d1fd298e2 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-raw-callers/tests.trx @@ -0,0 +1,970 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [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.38] Discovering: ZB.MOM.WW.OtOpcUa.AdminUI.Tests +[xUnit.net 00:00:01.24] Discovered: ZB.MOM.WW.OtOpcUa.AdminUI.Tests +[xUnit.net 00:00:01.40] Starting: ZB.MOM.WW.OtOpcUa.AdminUI.Tests +[xUnit.net 00:00:02.10] Finished: ZB.MOM.WW.OtOpcUa.AdminUI.Tests + + + + \ No newline at end of file diff --git a/infra/tools/ui-consistency/check_raw_callers.py b/infra/tools/ui-consistency/check_raw_callers.py new file mode 100644 index 000000000..6f6e654c7 --- /dev/null +++ b/infra/tools/ui-consistency/check_raw_callers.py @@ -0,0 +1,29 @@ +"""Composed actual Raw controller/dialog follow-ups over fabricated mutation 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-raw-callers');out.mkdir(parents=True,exist_ok=True);results=[] +with sync_playwright() as p: + with zoom_browser(p) as (context,worker): + for action,title in [('Delete','Delete blocked'),('Rename','Renamed — with warnings')]: + 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+'/raw-caller-pilot',wait_until='networkidle');set_browser_zoom(worker,page,zoom) + page.locator("#fixture-caller-observe").click();expect(page.locator("#fixture-caller-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' + trigger=page.get_by_role('button',name='More actions for Local folder A',exact=True);trigger.wait_for();trigger.focus();trigger.press('Enter');page.get_by_role('menuitem',name=action,exact=True).click() + dialog=page.get_by_role('dialog',name=action+' folder',exact=True);dialog.wait_for();expect(dialog.get_by_role('button',name='Cancel',exact=True)).to_be_focused();checks={'safeInitialFocus':True} + if action=='Rename':dialog.get_by_role('textbox',name='Name',exact=True).fill('renamed-local');dialog.get_by_role('button',name='OK',exact=True).click() + else:dialog.get_by_role('button',name='Delete',exact=True).click() + message=page.get_by_role('dialog',name=title,exact=True);message.wait_for();expect(message.get_by_role('button',name='Close',exact=True)).to_be_focused() + checks['oneActiveDialog']=page.get_by_role('dialog').count()==1;checks['fullEscapedOutcome']='ignored()' in message.inner_text() and message.locator('script').count()==0;checks['focusInsideFollowUp']=message.evaluate('(e)=>e.contains(document.activeElement)');checks['backgroundLocked']=page.locator('.raw-tree-rows').evaluate('(e)=>e.inert || !!e.closest("[inert]")') + page.screenshot(path=str(out/f'{action.lower()}-{width}-zoom{zoom}.png'),full_page=False);page.keyboard.press('Escape');expect(page.get_by_role('dialog')).to_have_count(0) + checks['focusRestoredOutsideClosedDialog']=page.evaluate('document.activeElement!==document.body && !document.activeElement.closest("[role=dialog]")');checks['backgroundRestored']=page.locator('.raw-tree-rows').evaluate('(e)=>!e.inert && !e.closest("[inert]")') + page.locator('#fixture-caller-observe').click();expect(page.locator('#fixture-caller-count')).to_have_text('1');checks['singleSyntheticDispatch']=True + layout=page.evaluate('({width:innerWidth,document:document.documentElement.scrollWidth,dpr:devicePixelRatio})');checks['noBodyOverflow']=layout['width']==layout['document'];checks['noPageErrors']=not errors + results.append({'action':action,'viewport':width,'zoom':zoom,'layout':layout,'dialogFocusSha256':served_hash,'checks':checks,'errors':errors,'passed':all(checks.values())});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/Shared/Raw/RawTree.razor b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Raw/RawTree.razor index 72e122c3a..c022f9a77 100644 --- a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Raw/RawTree.razor +++ b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Raw/RawTree.razor @@ -37,36 +37,42 @@ -@* --- Real modals + dialogs (one instance each for the whole recursive tree) --- *@ - - - - - - - - - - - - - - - - - - - - -@* Shared message surface (repurposed RawStubModal) — delete blockers, rename warnings, Browse note. *@ - +@* Render-local identities keep retained handlers attached to their original target. *@ +@{ + var presentation = _presentationGeneration; + var nameSubmit = _nameSubmit; + var confirmAction = _confirmAction; + var driverTypeSubmit = _driverTypeSubmit; + var cfgNode = _driverCfgNode; + var deviceNode = _deviceNode; + var deviceCreate = _deviceIsCreate; + var tagNode = _tagNode; + var manualNode = _manualNode; + var csvNode = _csvImportNode; + var browseNode = _browseNode; +} + + + + + + + + + + + @code { private readonly string _densityId = "raw-density-" + Guid.NewGuid().ToString("N"); @@ -80,6 +86,16 @@ protected override async Task OnAfterRenderAsync(bool firstRender) { + if (_releaseMessage && !InputDialogVisible && _queuedMessage is { } queued) + { + _releaseMessage = false; + _queuedMessage = null; + if (Current(queued.Generation)) + { + PresentMessage(queued.Title, queued.Message, queued.NodeName); + StateHasChanged(); // The originating dialog was removed in the preceding DOM batch. + } + } if (!firstRender) return; await _densityGate.WaitAsync(); try @@ -219,17 +235,17 @@ private bool _nameVisible; private string _nameTitle = ""; private string _nameInitial = ""; - private Func? _nameSubmit; + private Func? _nameSubmit; // --- Confirm dialog (deletes) --- private bool _confirmVisible; private string _confirmTitle = ""; private string _confirmMessage = ""; - private Func? _confirmAction; + private Func? _confirmAction; // --- Driver-type dialog (New driver) --- private bool _driverTypeVisible; - private Func<(string DriverType, string Name), Task>? _driverTypeSubmit; + private Func<(string DriverType, string Name), long, Task>? _driverTypeSubmit; // --- Shared message surface (repurposed RawStubModal): delete blockers, rename warnings, Browse note --- private bool _msgVisible; @@ -346,18 +362,21 @@ /// private async Task ToggleAsync(RawNode node) { - if (node.Loading) { return; } + if (_densityDisposed || node.Loading) { return; } node.Expanded = !node.Expanded; if (node.Expanded && node.HasLazyChildren && !node.Loaded) { + var owner = _reloadOwners.GetValue(node, _ => new ReloadOwner()); + var revision = ++owner.Revision; node.Loading = true; node.Error = null; StateHasChanged(); try { var children = await Svc.LoadChildrenAsync(node); + if (_densityDisposed || owner.Revision != revision) return; node.Children.Clear(); node.Children.AddRange(children); node.ChildCount = node.Children.Count; @@ -365,13 +384,13 @@ } catch (Exception ex) { - node.Error = ex.Message; + if (!_densityDisposed && owner.Revision == revision) node.Error = ex.Message; } finally { - node.Loading = false; + if (owner.Revision == revision) node.Loading = false; } - StateHasChanged(); + if (!_densityDisposed && owner.Revision == revision) StateHasChanged(); } } @@ -515,11 +534,11 @@ { var clusterId = node.Kind == RawNodeKind.Cluster ? (node.ClusterId ?? node.EntityId) : node.ClusterId; var parentFolderId = node.Kind == RawNodeKind.Folder ? node.EntityId : null; - ShowNameDialog("New folder", "", async name => + ShowNameDialog("New folder", "", async (name, generation) => { var res = await Svc.CreateFolderAsync(clusterId ?? "", parentFolderId, name); - if (!res.Ok) { ShowMessage("New folder failed", res.Error ?? "Create failed.", node.DisplayName); return; } - await ReloadNodeAsync(node); + if (!res.Ok) { ShowMessage(generation, "New folder failed", res.Error ?? "Create failed.", node.DisplayName); return; } + await ReloadNodeAsync(node, generation); }); return Task.CompletedTask; } @@ -529,26 +548,26 @@ { var clusterId = node.Kind == RawNodeKind.Cluster ? (node.ClusterId ?? node.EntityId) : node.ClusterId; var folderId = node.Kind == RawNodeKind.Folder ? node.EntityId : null; - ShowDriverTypeDialog(async choice => + ShowDriverTypeDialog(async (choice, generation) => { var res = await Svc.CreateDriverAsync(clusterId ?? "", folderId, choice.Name, choice.DriverType, "{}"); - if (!res.Ok) { ShowMessage("New driver failed", res.Error ?? "Create failed.", node.DisplayName); return; } - await ReloadNodeAsync(node); + if (!res.Ok) { ShowMessage(generation, "New driver failed", res.Error ?? "Create failed.", node.DisplayName); return; } + await ReloadNodeAsync(node, generation); }); return Task.CompletedTask; } private Task OnRenameFolder(RawNode node) { - ShowNameDialog("Rename folder", node.DisplayName, async name => - await AfterRename(await Svc.RenameFolderAsync(node.EntityId!, name, node.RowVersion), node)); + ShowNameDialog("Rename folder", node.DisplayName, async (name, generation) => + await AfterRename(await Svc.RenameFolderAsync(node.EntityId!, name, node.RowVersion), node, generation)); return Task.CompletedTask; } private Task OnDeleteFolder(RawNode node) { - ShowConfirm("Delete folder", $"Delete folder “{node.DisplayName}”?", async () => - await AfterDelete(await Svc.DeleteFolderAsync(node.EntityId!, node.RowVersion), node)); + ShowConfirm("Delete folder", $"Delete folder “{node.DisplayName}”?", async generation => + await AfterDelete(await Svc.DeleteFolderAsync(node.EntityId!, node.RowVersion), node, generation)); return Task.CompletedTask; } @@ -556,6 +575,7 @@ private Task OnConfigureDriver(RawNode node) { + BeginPresentation(); _driverCfgId = node.EntityId; _driverCfgNode = node; _driverCfgVisible = true; @@ -565,6 +585,7 @@ private Task OnNewDevice(RawNode node) { + BeginPresentation(); _deviceIsCreate = true; _deviceEditId = null; _deviceCreateDriverId = node.EntityId; @@ -577,22 +598,27 @@ private async Task OnToggleDriverEnabled(RawNode node) { - var res = await Svc.SetDriverEnabledAsync(node.EntityId!, !node.Enabled, node.RowVersion); - if (!res.Ok) { ShowMessage("Update failed", res.Error ?? "Could not change enabled state.", node.DisplayName); return; } - await ReloadParentAsync(node); + var generation = BeginPresentation(); + try + { + var res = await Svc.SetDriverEnabledAsync(node.EntityId!, !node.Enabled, node.RowVersion); + if (!res.Ok) { ShowMessage(generation, "Update failed", res.Error ?? "Could not change enabled state.", node.DisplayName, requireInput: false); return; } + await ReloadParentAsync(node, generation); + } + catch (Exception) when (!Current(generation)) { /* A retired result must not fault its replacement. */ } } private Task OnRenameDriver(RawNode node) { - ShowNameDialog("Rename driver", node.DisplayName, async name => - await AfterRename(await Svc.RenameDriverAsync(node.EntityId!, name, node.RowVersion), node)); + ShowNameDialog("Rename driver", node.DisplayName, async (name, generation) => + await AfterRename(await Svc.RenameDriverAsync(node.EntityId!, name, node.RowVersion), node, generation)); return Task.CompletedTask; } private Task OnDeleteDriver(RawNode node) { - ShowConfirm("Delete driver", $"Delete driver “{node.DisplayName}” and its empty devices?", async () => - await AfterDelete(await Svc.DeleteDriverAsync(node.EntityId!, node.RowVersion), node)); + ShowConfirm("Delete driver", $"Delete driver “{node.DisplayName}” and its empty devices?", async generation => + await AfterDelete(await Svc.DeleteDriverAsync(node.EntityId!, node.RowVersion), node, generation)); return Task.CompletedTask; } @@ -600,6 +626,7 @@ private Task OnConfigureDevice(RawNode node) { + BeginPresentation(); _deviceIsCreate = false; _deviceEditId = node.EntityId; _deviceCreateDriverId = null; @@ -613,19 +640,19 @@ private Task OnNewTagGroup(RawNode node) { // node is a Device — its root tag-groups. - ShowNameDialog("New tag-group", "", async name => + ShowNameDialog("New tag-group", "", async (name, generation) => { var res = await Svc.CreateTagGroupAsync(node.EntityId!, null, name); - if (!res.Ok) { ShowMessage("New tag-group failed", res.Error ?? "Create failed.", node.DisplayName); return; } - await ReloadNodeAsync(node); + if (!res.Ok) { ShowMessage(generation, "New tag-group failed", res.Error ?? "Create failed.", node.DisplayName); return; } + await ReloadNodeAsync(node, generation); }); return Task.CompletedTask; } private Task OnDeleteDevice(RawNode node) { - ShowConfirm("Delete device", $"Delete device “{node.DisplayName}”?", async () => - await AfterDelete(await Svc.DeleteDeviceAsync(node.EntityId!, node.RowVersion), node)); + ShowConfirm("Delete device", $"Delete device “{node.DisplayName}”?", async generation => + await AfterDelete(await Svc.DeleteDeviceAsync(node.EntityId!, node.RowVersion), node, generation)); return Task.CompletedTask; } @@ -633,6 +660,7 @@ private Task OnAddManualTags(RawNode node) { + BeginPresentation(); // Manual entry needs the device id: for a Device node it's node itself; for a TagGroup walk up. _manualDeviceId = FindAncestorDevice(node)?.EntityId ?? ""; _manualTagGroupId = node.Kind == RawNodeKind.TagGroup ? node.EntityId : null; @@ -645,6 +673,7 @@ private Task OnImportCsv(RawNode node) { + BeginPresentation(); // Device node → DeviceId; TagGroup node → TagGroupId (the modal self-resolves its device). if (node.Kind == RawNodeKind.Device) { @@ -665,6 +694,7 @@ private Task OnExportCsv(RawNode node) { + BeginPresentation(); if (node.Kind == RawNodeKind.Device) { _csvExportDeviceId = node.EntityId ?? ""; @@ -685,6 +715,7 @@ // at the device root; on a TagGroup node the group's device-relative path is prepended to every tag. private Task OnBrowseDevice(RawNode node) { + BeginPresentation(); _browseDeviceId = FindAncestorDevice(node)?.EntityId ?? ""; _browseTagGroupId = node.Kind == RawNodeKind.TagGroup ? node.EntityId : null; _browseDriverType = node.DriverType ?? ""; @@ -700,26 +731,26 @@ { // node is a TagGroup — create a sub-group under it (needs its owning device id). var deviceId = FindAncestorDevice(node)?.EntityId ?? ""; - ShowNameDialog("New group", "", async name => + ShowNameDialog("New group", "", async (name, generation) => { var res = await Svc.CreateTagGroupAsync(deviceId, node.EntityId, name); - if (!res.Ok) { ShowMessage("New group failed", res.Error ?? "Create failed.", node.DisplayName); return; } - await ReloadNodeAsync(node); + if (!res.Ok) { ShowMessage(generation, "New group failed", res.Error ?? "Create failed.", node.DisplayName); return; } + await ReloadNodeAsync(node, generation); }); return Task.CompletedTask; } private Task OnRenameTagGroup(RawNode node) { - ShowNameDialog("Rename tag-group", node.DisplayName, async name => - await AfterRename(await Svc.RenameTagGroupAsync(node.EntityId!, name, node.RowVersion), node)); + ShowNameDialog("Rename tag-group", node.DisplayName, async (name, generation) => + await AfterRename(await Svc.RenameTagGroupAsync(node.EntityId!, name, node.RowVersion), node, generation)); return Task.CompletedTask; } private Task OnDeleteTagGroup(RawNode node) { - ShowConfirm("Delete tag-group", $"Delete tag-group “{node.DisplayName}”?", async () => - await AfterDelete(await Svc.DeleteTagGroupAsync(node.EntityId!, node.RowVersion), node)); + ShowConfirm("Delete tag-group", $"Delete tag-group “{node.DisplayName}”?", async generation => + await AfterDelete(await Svc.DeleteTagGroupAsync(node.EntityId!, node.RowVersion), node, generation)); return Task.CompletedTask; } @@ -727,6 +758,7 @@ private Task OnEditTag(RawNode node) { + BeginPresentation(); _tagId = node.EntityId; _tagDriverType = node.DriverType; _tagNode = node; @@ -737,8 +769,8 @@ private Task OnDeleteTag(RawNode node) { - ShowConfirm("Delete tag", $"Delete tag “{node.DisplayName}”?", async () => - await AfterDelete(await Svc.DeleteTagAsync(node.EntityId!, node.RowVersion), node)); + ShowConfirm("Delete tag", $"Delete tag “{node.DisplayName}”?", async generation => + await AfterDelete(await Svc.DeleteTagAsync(node.EntityId!, node.RowVersion), node, generation)); return Task.CompletedTask; } @@ -746,70 +778,75 @@ // Modal OnSaved callbacks — refresh the affected subtree. // --------------------------------------------------------------------------- - private async Task DriverCfgSaved() + private async Task Saved(long generation, RawNode? node, bool reloadChildren) { - if (_driverCfgNode is not null) { await ReloadParentAsync(_driverCfgNode); } - } - - private async Task DeviceSaved() - { - if (_deviceNode is null) { return; } - // Create → reload the driver container; edit → reload the device's parent driver. - if (_deviceIsCreate) { await ReloadNodeAsync(_deviceNode); } - else { await ReloadParentAsync(_deviceNode); } - } - - private async Task TagSaved() - { - if (_tagNode is not null) { await ReloadParentAsync(_tagNode); } - } - - private async Task ManualSaved() - { - if (_manualNode is not null) { await ReloadNodeAsync(_manualNode); } - } - - private async Task CsvImportSaved() - { - if (_csvImportNode is not null) { await ReloadNodeAsync(_csvImportNode); } - } - - private async Task BrowseSaved() - { - // New tags (and any mirrored groups) land under the browsed node — reload its children. - if (_browseNode is not null) { await ReloadNodeAsync(_browseNode); } + if (!Current(generation) || node is null) return; + if (reloadChildren) await ReloadNodeAsync(node, generation); + else await ReloadParentAsync(node, generation); } // --------------------------------------------------------------------------- // Rename / delete outcome surfacing. // --------------------------------------------------------------------------- - private async Task AfterRename(RawRenameResult res, RawNode node) + private async Task AfterRename(RawRenameResult res, RawNode node, long generation) { - if (res.Ok) { await ReloadParentAsync(node); } + if (!Current(generation)) return; + if (res.Ok) { await ReloadParentAsync(node, generation); } + if (!Current(generation)) return; if (!res.Ok) { - ShowMessage("Rename failed", res.Error ?? "Rename failed.", node.DisplayName); + ShowMessage(generation, "Rename failed", res.Error ?? "Rename failed.", node.DisplayName); } else if (res.Warnings.Count > 0) { - ShowMessage("Renamed — with warnings", string.Join(" • ", res.Warnings), node.DisplayName); + ShowMessage(generation, "Renamed — with warnings", string.Join(" • ", res.Warnings), node.DisplayName); } } - private async Task AfterDelete(UnsMutationResult res, RawNode node) + private async Task AfterDelete(UnsMutationResult res, RawNode node, long generation) { - if (!res.Ok) { ShowMessage("Delete blocked", res.Error ?? "Delete failed.", node.DisplayName); return; } - await ReloadParentAsync(node); + if (!Current(generation)) return; + if (!res.Ok) { ShowMessage(generation, "Delete blocked", res.Error ?? "Delete failed.", node.DisplayName); return; } + await ReloadParentAsync(node, generation); } // --------------------------------------------------------------------------- // Dialog show-helpers (one instance each; a pending delegate carries the op). // --------------------------------------------------------------------------- - private void ShowNameDialog(string title, string initial, Func submit) + private sealed class ReloadOwner { public long Revision; } + private readonly System.Runtime.CompilerServices.ConditionalWeakTable _reloadOwners = new(); + private long _presentationGeneration; + private bool Current(long generation) => !_densityDisposed && generation == _presentationGeneration; + private bool InputDialogVisible => _driverCfgVisible || _deviceVisible || _tagVisible || _manualVisible + || _csvImportVisible || _csvExportVisible || _browseVisible || _nameVisible || _confirmVisible || _driverTypeVisible; + private sealed record QueuedMessage(long Generation, string Title, string Message, string? NodeName); + private QueuedMessage? _queuedMessage; + private bool _releaseMessage; + + private long BeginPresentation() { + ++_presentationGeneration; + _driverCfgVisible = _deviceVisible = _tagVisible = _manualVisible = false; + _csvImportVisible = _csvExportVisible = _browseVisible = false; + _nameVisible = _confirmVisible = _driverTypeVisible = _msgVisible = false; + _queuedMessage = null; + _releaseMessage = false; + return _presentationGeneration; + } + + private void ChangeVisibility(long generation, bool visible, Action setVisible) + { + if (!Current(generation)) return; + setVisible(visible); + if (!visible && _queuedMessage is not null) _releaseMessage = true; + } + + private void ShowNameDialog(string title, string initial, Func submit) + { + BeginPresentation(); _nameTitle = title; _nameInitial = initial; _nameSubmit = submit; @@ -817,14 +854,16 @@ StateHasChanged(); } - private async Task NameSubmitted(string name) + private async Task NameSubmitted(long generation, Func? submit, string name) { - var submit = _nameSubmit; - if (submit is not null) { await submit(name); } + if (!Current(generation) || !_nameVisible || submit is null) return; + try { await submit(name, generation); } + catch (Exception) when (!Current(generation) || !_nameVisible) { } } - private void ShowConfirm(string title, string message, Func action) + private void ShowConfirm(string title, string message, Func action) { + BeginPresentation(); _confirmTitle = title; _confirmMessage = message; _confirmAction = action; @@ -832,40 +871,47 @@ StateHasChanged(); } - private async Task Confirmed() + private async Task Confirmed(long generation, Func? action) { - var action = _confirmAction; - if (action is not null) { await action(); } + if (!Current(generation) || !_confirmVisible || action is null) return; + try { await action(generation); } + catch (Exception) when (!Current(generation) || !_confirmVisible) { } } - private void ShowDriverTypeDialog(Func<(string DriverType, string Name), Task> submit) + private void ShowDriverTypeDialog(Func<(string DriverType, string Name), long, Task> submit) { + BeginPresentation(); _driverTypeSubmit = submit; _driverTypeVisible = true; StateHasChanged(); } - private async Task DriverTypeSubmitted((string DriverType, string Name) choice) + private async Task DriverTypeSubmitted(long generation, Func<(string DriverType, string Name), long, Task>? submit, (string DriverType, string Name) choice) { - var submit = _driverTypeSubmit; - if (submit is not null) { await submit(choice); } + if (!Current(generation) || !_driverTypeVisible || submit is null) return; + try { await submit(choice, generation); } + catch (Exception) when (!Current(generation) || !_driverTypeVisible) { } } - // --------------------------------------------------------------------------- - // Shared message surface (repurposed RawStubModal). - // --------------------------------------------------------------------------- + // Follow-up messages wait for the input dialog's close callback and a completed DOM batch. + private void ShowMessage(long generation, string title, string message, string? nodeName, bool requireInput = true) + { + if (!Current(generation) || (requireInput && !InputDialogVisible)) return; + if (InputDialogVisible) _queuedMessage = new(generation, title, message, nodeName); + else { PresentMessage(title, message, nodeName); StateHasChanged(); } + } - private void ShowMessage(string title, string message, string? nodeName) + private void PresentMessage(string title, string message, string? nodeName) { _msgTitle = title; _msgMessage = message; _msgNodeName = nodeName; _msgVisible = true; - StateHasChanged(); } - private void CloseMessage() + private void CloseMessage(long generation) { + if (!Current(generation)) return; _msgVisible = false; _msgTitle = ""; _msgMessage = ""; @@ -880,13 +926,15 @@ /// Reloads a container node's children in place (create-under refresh): clears its loaded level and /// re-runs the lazy load, keeping it expanded. A refresh failure is captured on the node, never thrown. /// - private async Task ReloadNodeAsync(RawNode container) + private async Task ReloadNodeAsync(RawNode container, long generation) { + if (!Current(generation)) return; + var owner = _reloadOwners.GetValue(container, _ => new ReloadOwner()); + var revision = ++owner.Revision; try { container.Expanded = true; container.Loaded = false; - container.Children.Clear(); container.Error = null; if (container.HasLazyChildren) @@ -894,6 +942,7 @@ container.Loading = true; StateHasChanged(); var children = await Svc.LoadChildrenAsync(container); + if (!Current(generation) || owner.Revision != revision) return; container.Children.Clear(); container.Children.AddRange(children); container.ChildCount = container.Children.Count; @@ -902,13 +951,13 @@ } catch (Exception ex) { - container.Error = ex.Message; + if (Current(generation) && owner.Revision == revision) container.Error = ex.Message; } finally { - container.Loading = false; + if (owner.Revision == revision) container.Loading = false; } - StateHasChanged(); + if (Current(generation) && owner.Revision == revision) StateHasChanged(); } /// @@ -917,10 +966,11 @@ /// menu-bearing node's parent is in the loaded tree; the OnRootsChanged fallback is a belt-and-braces /// path for a would-be cluster-less top-level node. /// - private async Task ReloadParentAsync(RawNode node) + private async Task ReloadParentAsync(RawNode node, long generation) { + if (!Current(generation)) return; var parent = FindParent(node); - if (parent is not null) { await ReloadNodeAsync(parent); } + if (parent is not null) { await ReloadNodeAsync(parent, generation); } else { await OnRootsChanged.InvokeAsync(); } } diff --git a/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/RawCallerPresentationTests.cs b/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/RawCallerPresentationTests.cs new file mode 100644 index 000000000..174dc8eb4 --- /dev/null +++ b/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/RawCallerPresentationTests.cs @@ -0,0 +1,203 @@ +using System.Reflection; +using Bunit; +using Bunit.TestDoubles; +using Microsoft.AspNetCore.Components; +using Microsoft.Extensions.DependencyInjection; +using Shouldly; +using Xunit; +using ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Raw; +using ZB.MOM.WW.OtOpcUa.AdminUI.Uns; +namespace ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages; +[Trait("Category","Unit")] +public sealed class RawCallerPresentationTests:BunitContext +{ + private readonly IRawTreeService _service; + private readonly RawNode _a=new(){Kind=RawNodeKind.Folder,Key="folder:a",EntityId="a",ClusterId="cluster",DisplayName="Same folder",RowVersion=[1]}; + private readonly RawNode _b=new(){Kind=RawNodeKind.Folder,Key="folder:b",EntityId="b",ClusterId="cluster",DisplayName="Same folder",RowVersion=[2]}; + private readonly RawNode _driver=new(){Kind=RawNodeKind.Driver,Key="driver:a",EntityId="driver-a",ClusterId="cluster",DisplayName="Driver A",RowVersion=[1],Enabled=true}; + private CallerService Service=>(CallerService)(object)_service; + public RawCallerPresentationTests() + { + JSInterop.Mode=JSRuntimeMode.Loose;JSInterop.SetupModule("./_content/ZB.MOM.WW.OtOpcUa.AdminUI/js/tree-layout.js").Mode=JSRuntimeMode.Loose; + var names=new HashSet{"DriverConfigModal","DeviceModal","RawTagModal","RawManualTagEntryModal","RawCsvImportModal","RawCsvExportModal","RawBrowseModal","RawNameDialog","RawConfirmDialog","RawDriverTypeDialog","RawStubModal"}; + ComponentFactories.AddStub(t=>names.Contains(t.Name)); + _service=DispatchProxy.Create();Services.AddSingleton(_service); + } + private IRenderedComponent Tree()=>Render(p=>p.Add(x=>x.Roots,new[]{_a,_b,_driver})); + private static Task Open(IRenderedComponent tree,string method,RawNode node)=>tree.InvokeAsync(()=> (Task)typeof(RawTree).GetMethod(method,BindingFlags.Instance|BindingFlags.NonPublic)!.Invoke(tree.Instance,[node])!); + [Fact] + public async Task RetiredNameHandler_CannotRenameReplacementWithSameCaption() + { + var tree=Tree();await Open(tree,"OnRenameFolder",_a);var old=tree.FindComponent>().Instance.Parameters.Get(x=>x.OnSubmit); + await Open(tree,"OnRenameFolder",_b);await tree.InvokeAsync(()=>old.InvokeAsync("renamed"));Service.Renames.ShouldBeEmpty(); + var current=tree.FindComponent>().Instance.Parameters.Get(x=>x.OnSubmit);await tree.InvokeAsync(()=>current.InvokeAsync("new-b"));Service.Renames.ShouldBe(new[]{"b"}); + } + [Fact] + public async Task RetiredConfirmHandler_CannotDeleteReplacement() + { + var tree=Tree();await Open(tree,"OnDeleteFolder",_a);var old=tree.FindComponent>().Instance.Parameters.Get(x=>x.OnConfirm); + await Open(tree,"OnDeleteFolder",_b);await tree.InvokeAsync(()=>old.InvokeAsync());Service.Deletes.ShouldBeEmpty(); + } + [Fact] + public async Task RetiredDriverTypeHandler_CannotCreateUnderReplacementFolder() + { + var tree=Tree();await Open(tree,"OnNewDriver",_a);var old=tree.FindComponent>().Instance.Parameters.Get(x=>x.OnSubmit); + await Open(tree,"OnNewDriver",_b);await tree.InvokeAsync(()=>old.InvokeAsync(("Modbus","local")));Service.Creates.ShouldBeEmpty(); + } + [Fact] + public async Task DispatchedRenameA_CannotPublishWarningOrCloseReplacementB() + { + var pending=new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously);Service.Rename=_=>pending.Task; + var tree=Tree();await Open(tree,"OnRenameFolder",_a);var action=tree.FindComponent>().Instance.Parameters.Get(x=>x.OnSubmit); + var save=tree.InvokeAsync(()=>action.InvokeAsync("name-a"));tree.WaitForAssertion(()=>Service.Renames.ShouldBe(new[]{"a"})); + await Open(tree,"OnRenameFolder",_b);pending.SetResult(RawRenameResult.Success(new[]{"Warning for A only"}));await save; + tree.FindComponent>().Instance.Parameters.Get(x=>x.Visible).ShouldBeFalse();tree.FindComponent>().Instance.Parameters.Get(x=>x.Visible).ShouldBeTrue();Service.Reads.ShouldBeEmpty(); + } + [Fact] + public async Task RetiredCsvSavedHandler_CannotReloadCurrentTargetB() + { + var a=new RawNode{Kind=RawNodeKind.Device,Key="device:a",EntityId="device-a",DisplayName="A",DriverType="Modbus",HasLazyChildren=true,Loaded=true};var b=new RawNode{Kind=RawNodeKind.Device,Key="device:b",EntityId="device-b",DisplayName="B",DriverType="Modbus",HasLazyChildren=true,Loaded=true}; + var tree=Tree();await Open(tree,"OnImportCsv",a);var old=tree.FindComponent>().Instance.Parameters.Get(x=>x.OnSaved); + await Open(tree,"OnImportCsv",b);await tree.InvokeAsync(()=>old.InvokeAsync());Service.Reads.ShouldBeEmpty(); + } + [Fact] + public async Task BlockedDelete_MessageWaitsForOriginatingConfirmationToHide() + { + Service.DeleteResult=new(false,"Synthetic referenced folder blocker");var tree=Tree();await Open(tree,"OnDeleteFolder",_a); + var confirm=tree.FindComponent>().Instance.Parameters; + await tree.InvokeAsync(()=>confirm.Get(x=>x.OnConfirm).InvokeAsync()); + tree.FindComponent>().Instance.Parameters.Get(x=>x.Visible).ShouldBeFalse(); + await tree.InvokeAsync(()=>confirm.Get(x=>x.VisibleChanged).InvokeAsync(false)); + tree.WaitForAssertion(()=>tree.FindComponent>().Instance.Parameters.Get(x=>x.Visible).ShouldBeTrue()); + tree.FindComponent>().Instance.Parameters.Get(x=>x.Message).ShouldContain("referenced folder blocker"); + } + [Fact] + public async Task IdenticalCreateCaptions_StillCarryDistinctPresentationTarget() + { + var tree=Tree();await Open(tree,"OnNewFolder",_a);var first=tree.FindComponent>().Instance.Parameters.Get(x=>x.Target); + await Open(tree,"OnNewFolder",_b);var second=tree.FindComponent>().Instance.Parameters.Get(x=>x.Target); + first.ShouldNotBeNull();second.ShouldNotBeNull();second.ShouldNotBe(first); + } + [Fact] + public async Task OldRefreshCompletion_CannotClearNewReadOrInstallOldChildren() + { + var node=new RawNode{Kind=RawNodeKind.Device,Key="device:shared",EntityId="shared",DisplayName="Shared device",DriverType="Modbus",HasLazyChildren=true,Loaded=true}; + var first=new TaskCompletionSource>(TaskCreationOptions.RunContinuationsAsynchronously); + var second=new TaskCompletionSource>(TaskCreationOptions.RunContinuationsAsynchronously); + Service.Read=_=>Service.Reads.Count==1?first.Task:second.Task; + var tree=Tree();await Open(tree,"OnImportCsv",node);var a=tree.FindComponent>().Instance.Parameters.Get(x=>x.OnSaved); + var readA=tree.InvokeAsync(()=>a.InvokeAsync());tree.WaitForAssertion(()=>Service.Reads.Count.ShouldBe(1)); + await Open(tree,"OnAddManualTags",node);var b=tree.FindComponent>().Instance.Parameters.Get(x=>x.OnSaved); + var readB=tree.InvokeAsync(()=>b.InvokeAsync());tree.WaitForAssertion(()=>Service.Reads.Count.ShouldBe(2)); + first.SetResult([new(){Kind=RawNodeKind.Tag,Key="old",DisplayName="Old result"}]);await readA; + node.Loading.ShouldBeTrue();node.Children.ShouldBeEmpty(); + second.SetResult([new(){Kind=RawNodeKind.Tag,Key="new",DisplayName="New result"}]);await readB; + node.Loading.ShouldBeFalse();node.Children.ShouldHaveSingleItem().Key.ShouldBe("new"); + } + [Fact] + public async Task HiddenOrigin_CannotPublishALateFailureMessage() + { + var pending=new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously);Service.Rename=_=>pending.Task; + var tree=Tree();await Open(tree,"OnRenameFolder",_a);var parameters=tree.FindComponent>().Instance.Parameters; + var operation=tree.InvokeAsync(()=>parameters.Get(x=>x.OnSubmit).InvokeAsync("new-a"));tree.WaitForAssertion(()=>Service.Renames.Count.ShouldBe(1)); + await tree.InvokeAsync(()=>parameters.Get(x=>x.VisibleChanged).InvokeAsync(false)); + pending.SetResult(RawRenameResult.Failure("Late failure for hidden A"));await operation; + tree.FindComponent>().Instance.Parameters.Get(x=>x.Visible).ShouldBeFalse(); + } + [Fact] + public async Task RetiredRefresh_KeepsLastLoadedChildrenInsteadOfLeavingAFalseEmptyBranch() + { + var node=new RawNode{Kind=RawNodeKind.Device,Key="device:a",EntityId="a",DisplayName="A",DriverType="Modbus",HasLazyChildren=true,Loaded=true}; + node.Children.Add(new(){Kind=RawNodeKind.Tag,Key="last-good",DisplayName="Last loaded tag"}); + var other=new RawNode{Kind=RawNodeKind.Device,Key="device:b",EntityId="b",DisplayName="B",DriverType="Modbus",HasLazyChildren=true,Loaded=true}; + var pending=new TaskCompletionSource>(TaskCreationOptions.RunContinuationsAsynchronously);Service.Read=_=>pending.Task; + var tree=Tree();await Open(tree,"OnImportCsv",node);var saved=tree.FindComponent>().Instance.Parameters.Get(x=>x.OnSaved); + var read=tree.InvokeAsync(()=>saved.InvokeAsync());tree.WaitForAssertion(()=>Service.Reads.Count.ShouldBe(1)); + await Open(tree,"OnImportCsv",other);pending.SetResult([new(){Kind=RawNodeKind.Tag,Key="retired-result",DisplayName="Retired result"}]);await read; + node.Children.ShouldHaveSingleItem().Key.ShouldBe("last-good");node.Loading.ShouldBeFalse();node.Loaded.ShouldBeFalse(); + } + [Fact] + public async Task RetiredRenameException_CannotFaultReplacementB() + { + var pending=new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously);Service.Rename=_=>pending.Task; + var tree=Tree();await Open(tree,"OnRenameFolder",_a);var action=tree.FindComponent>().Instance.Parameters.Get(x=>x.OnSubmit); + var operation=tree.InvokeAsync(()=>action.InvokeAsync("a"));tree.WaitForAssertion(()=>Service.Renames.Count.ShouldBe(1));await Open(tree,"OnRenameFolder",_b); + pending.SetException(new IOException("Retired A exception"));await operation; + tree.FindComponent>().Instance.Parameters.Get(x=>x.Visible).ShouldBeTrue(); + } + [Fact] + public async Task DirectToggleException_AfterAnotherDialogOpensCannotFaultThatDialog() + { + var pending=new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously);Service.Toggle=_=>pending.Task; + var tree=Tree();var operation=Open(tree,"OnToggleDriverEnabled",_driver);tree.WaitForAssertion(()=>Service.Toggles.Count.ShouldBe(1)); + await Open(tree,"OnRenameFolder",_b);pending.SetException(new IOException("Retired direct operation"));await operation; + tree.FindComponent>().Instance.Parameters.Get(x=>x.Visible).ShouldBeTrue(); + } + [Fact] + public async Task CurrentDirectToggleException_StillPropagatesToExistingBoundary() + { + Service.Toggle=_=>Task.FromException(new IOException("Current failure"));var tree=Tree(); + await Should.ThrowAsync(()=>Open(tree,"OnToggleDriverEnabled",_driver)); + } + [Theory] + [InlineData(false,false)] + [InlineData(false,true)] + [InlineData(true,false)] + [InlineData(true,true)] + public async Task InitialExpansion_AndSavedReloadShareReadOwnership(bool initialFirst,bool initialFails) + { + var node=new RawNode{Kind=RawNodeKind.Folder,Key="read-folder",EntityId="read-folder",ClusterId="cluster",DisplayName="Read folder",HasLazyChildren=true}; + var initial=new TaskCompletionSource>(TaskCreationOptions.RunContinuationsAsynchronously);var refreshed=new TaskCompletionSource>(TaskCreationOptions.RunContinuationsAsynchronously); + Service.Read=_=>Service.Reads.Count==1?initial.Task:refreshed.Task; + var tree=Render(p=>p.Add(x=>x.Roots,new[]{node})); + var expanding=tree.Find("button[aria-label='Expand Read folder']").ClickAsync(new());tree.WaitForAssertion(()=>Service.Reads.Count.ShouldBe(1)); + await Open(tree,"OnNewFolder",node);var callback=tree.FindComponent>().Instance.Parameters.Get(x=>x.OnSubmit); + var saving=tree.InvokeAsync(()=>callback.InvokeAsync("new-child"));tree.WaitForAssertion(()=>Service.Reads.Count.ShouldBe(2)); + void FinishInitial(){if(initialFails)initial.SetException(new IOException("Retired initial read"));else initial.SetResult([new(){Kind=RawNodeKind.Tag,Key="old-child",DisplayName="Old child"}]);} + if(initialFirst) + { + FinishInitial();await expanding;node.Loading.ShouldBeTrue();node.Children.ShouldBeEmpty();node.Error.ShouldBeNull(); + refreshed.SetResult([new(){Kind=RawNodeKind.Tag,Key="fresh-child",DisplayName="Fresh child"}]);await saving; + } + else + { + refreshed.SetResult([new(){Kind=RawNodeKind.Tag,Key="fresh-child",DisplayName="Fresh child"}]);await saving;FinishInitial();await expanding; + } + node.Children.ShouldHaveSingleItem().Key.ShouldBe("fresh-child");node.Error.ShouldBeNull();node.Loading.ShouldBeFalse();node.Loaded.ShouldBeTrue(); + } + [Fact] + public async Task OpeningDialogAlone_DoesNotInvalidateAnOrdinaryExpansion() + { + var node=new RawNode{Kind=RawNodeKind.Folder,Key="ordinary",EntityId="ordinary",ClusterId="cluster",DisplayName="Ordinary",HasLazyChildren=true}; + var pending=new TaskCompletionSource>(TaskCreationOptions.RunContinuationsAsynchronously);Service.Read=_=>pending.Task; + var tree=Render(p=>p.Add(x=>x.Roots,new[]{node}));var expanding=tree.Find("button[aria-label='Expand Ordinary']").ClickAsync(new());tree.WaitForAssertion(()=>Service.Reads.Count.ShouldBe(1)); + await Open(tree,"OnNewFolder",node);pending.SetResult([new(){Kind=RawNodeKind.Tag,Key="ordinary-child",DisplayName="Ordinary child"}]);await expanding; + node.Children.ShouldHaveSingleItem().Key.ShouldBe("ordinary-child");node.Loaded.ShouldBeTrue(); + } + [Fact] + public async Task DisposedExpansion_CannotInstallLateChildren() + { + var node=new RawNode{Kind=RawNodeKind.Folder,Key="disposed",EntityId="disposed",DisplayName="Disposed",HasLazyChildren=true}; + var pending=new TaskCompletionSource>(TaskCreationOptions.RunContinuationsAsynchronously);Service.Read=_=>pending.Task; + var tree=Render(p=>p.Add(x=>x.Roots,new[]{node}));var expanding=tree.Find("button[aria-label='Expand Disposed']").ClickAsync(new());tree.WaitForAssertion(()=>Service.Reads.Count.ShouldBe(1)); + await tree.InvokeAsync(()=>tree.Instance.DisposeAsync().AsTask());pending.SetResult([new(){Kind=RawNodeKind.Tag,Key="late",DisplayName="Late"}]);await expanding; + node.Children.ShouldBeEmpty();node.Loaded.ShouldBeFalse();node.Loading.ShouldBeFalse(); + } + public class CallerService:DispatchProxy + { + public UnsMutationResult DeleteResult=new(true,null);public List Renames=[],Deletes=[],Creates=[],Reads=[],Toggles=[];public Func>? Rename;public Func>>? Read;public Func>? Toggle; + protected override object? Invoke(MethodInfo? m,object?[]? a) + { + switch(m?.Name) + { + case "SetDriverEnabledAsync":var toggleId=(string)a![0]!;Toggles.Add(toggleId);return Toggle?.Invoke(toggleId)??Task.FromResult(new UnsMutationResult(true,null)); + case "RenameFolderAsync":var id=(string)a![0]!;Renames.Add(id);return Rename?.Invoke(id)??Task.FromResult(RawRenameResult.Success()); + case "DeleteFolderAsync":Deletes.Add((string)a![0]!);return Task.FromResult(DeleteResult); + case "CreateFolderAsync":Creates.Add((string)a![1]!);return Task.FromResult(new UnsMutationResult(true,null)); + case "CreateDriverAsync":Creates.Add((string)a![1]!);return Task.FromResult(new UnsMutationResult(true,null)); + case "LoadChildrenAsync":var node=(RawNode)a![0]!;Reads.Add(node.EntityId??"root");return Read?.Invoke(node)??Task.FromResult>([]); + default:throw new InvalidOperationException("Unexpected caller operation: "+m?.Name); + } + } + } +}