diff --git a/docs/ui-consistency/ot13-root-fields/AbCipDeviceForm-source-inventory.json b/docs/ui-consistency/ot13-root-fields/AbCipDeviceForm-source-inventory.json new file mode 100644 index 000000000..fe9851c19 --- /dev/null +++ b/docs/ui-consistency/ot13-root-fields/AbCipDeviceForm-source-inventory.json @@ -0,0 +1,30 @@ +{ + "component": "AbCipDeviceForm", + "sourcePath": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/AbCipDeviceForm.razor", + "sourceControls": 2, + "fields": [ + { + "component": "InputText", + "idKey": "field-01", + "visibleLabels": [ + "Host address" + ], + "parserDisplayName": null, + "describedBySource": null + }, + { + "component": "InputSelect", + "idKey": "field-02", + "visibleLabels": [ + "PLC family" + ], + "parserDisplayName": null, + "describedBySource": null + } + ], + "disposition": "Editable native compact form; scoped associations only.", + "sourceUnchanged": false, + "beforeSha256": "87d66d32893bc50c852b56c7ce14281babc054affe43d36ef8d8dc2260ecf0fa", + "afterSha256": "dc79bfc4db9f9decdf05812df86c018d2b4d4839c847cfc3441de0ef9b6708fc", + "verification": "Source inventory; rendered two-instance/standalone evidence in device-forms TRX, representative actual browser in browser-results.json" +} diff --git a/docs/ui-consistency/ot13-root-fields/AbLegacyDeviceForm-source-inventory.json b/docs/ui-consistency/ot13-root-fields/AbLegacyDeviceForm-source-inventory.json new file mode 100644 index 000000000..ceb8a5c3f --- /dev/null +++ b/docs/ui-consistency/ot13-root-fields/AbLegacyDeviceForm-source-inventory.json @@ -0,0 +1,30 @@ +{ + "component": "AbLegacyDeviceForm", + "sourcePath": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/AbLegacyDeviceForm.razor", + "sourceControls": 2, + "fields": [ + { + "component": "InputText", + "idKey": "field-01", + "visibleLabels": [ + "Host address" + ], + "parserDisplayName": null, + "describedBySource": null + }, + { + "component": "InputSelect", + "idKey": "field-02", + "visibleLabels": [ + "PLC family" + ], + "parserDisplayName": null, + "describedBySource": null + } + ], + "disposition": "Editable native compact form; scoped associations only.", + "sourceUnchanged": false, + "beforeSha256": "8b3df965905438c60412129831e88e1dfd1ae881db5c09c29638354f62c63717", + "afterSha256": "adfe69507d3b6ca7c0fbfa7545ae81a2533a1750c9f728d34e59a99877a2b308", + "verification": "Source inventory; rendered two-instance/standalone evidence in device-forms TRX, representative actual browser in browser-results.json" +} diff --git a/docs/ui-consistency/ot13-root-fields/DeviceForms.md b/docs/ui-consistency/ot13-root-fields/DeviceForms.md new file mode 100644 index 000000000..a9e167628 --- /dev/null +++ b/docs/ui-consistency/ot13-root-fields/DeviceForms.md @@ -0,0 +1,23 @@ +# OT13 device form field associations + +Assigned scope is ten actual DeviceForms surfaces. Source inspection found **eight editable forms,20controls and six InputNumber fields**. Galaxy and MQTT are both intentionally informational: their connection belongs to the driver, and MQTT preserves a legacy-device-key warning. Both files remain byte-identical; no device endpoint or dummy field was invented. Per-file source inventories include these explicit dispositions. + +The eight forms retain native compact label/grid geometry and existing protocol controls. Per-instance GUID field scopes now connect visible labels, IDs and existing hint/error targets. InputNumber uses its visible human label for parser DisplayName; its existing Blazor ValidationMessage is rendered only with a cascading EditContext, inside an always-present described target. Standalone use has no new EditForm requirement. Heidenhain's existing aggregate model error still validates only Host/Port and is linked only to those endpoint controls; the existing credential-reference explanation is linked to its three reference inputs. Validation rules, defaults, models, JSON keys/values, events and binds are untouched. + +The existing central cases supplied the meaningful red:8missing-name/duplicate-ID failures and12passes across20device cases, no skips. After associations all20pass (two instances/unique IDs/resolved descriptions plus standalone for all10surfaces). Existing model/save-gate/dispatch/authoring/serialization parity checks pass112/112, no skips. The shared35-form source guard independently confirms original C# bodies and all event/bind expressions unchanged; helper prefixes only. No test framework/package change or weakened assertion/skip was introduced. The initial MQTT test assumption was corrected by the root owner before this batch; empty controls remain an asserted contract for both informational surfaces. + +A separate reusable Razor-only host mounts only a hardcoded whitelist of the eight actual component types, two instances each, over local draft callbacks. Program registers no backend services or connection/operation endpoints. At1440/390, actual browser DOM contains40controls with unique IDs, visible labels and resolved descriptions;16representative label clicks focus the correct native control. Existing endpoint/credential-reference hints resolve. A fractional invalid integer in Modbus Port produces the human Port/number parser message with aria-invalid=true and no config-change callback. No save/probe/OPC/DB/network/credential-store action exists. The first browser click reached SSR before circuit readiness; an explicit OnAfterRender fixture marker fixes the harness readiness condition, with no production code change. This is native label/focus/help/parser proof, not a blanket screen-reader or whole-host acceptance claim. + +Evidence is under `device-forms/`: red/green/contract TRX and original logs, source boundary guard, browser-results.json/captures and summary.json. Source inventory files are named `-source-inventory.json`. `canary/` is reusable for root's frozen driver/tag families: add explicit approved type entries or own pages and only mutation-refusing synthetic script reads if required. Do not add production host services or arbitrary type/query activation. Its completed owned process is stopped and loopback closed; root may rebuild it with a separate artifacts path after adding its own pages. The shared ot-ui host and other agents' source/test ownership remain untouched. + +Commands from repository root: + +```sh +dotnet test tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.csproj --artifacts-path /tmp/ot13-device-fields-artifacts --filter 'FullyQualifiedName~ProtocolFormAccessibilityTests&DisplayName~DeviceForm' +python3 docs/ui-consistency/ot13-root-fields/check-protocol-boundaries.py +# The exact112-test contract filter and results are retained in contracts.log/TRX. +dotnet run --project docs/ui-consistency/ot13-root-fields/device-forms/canary/DeviceFormCanary.csproj --artifacts-path /tmp/ot13-device-browser-artifacts --no-launch-profile --urls http://127.0.0.1:0 +python3 docs/ui-consistency/ot13-root-fields/device-forms/check-browser.py +``` + +The browser helper reads the local host's actual startup origin from browser-host.log; redirect a new run there. Parent owns central tests, final cross-family/browser inventory and gate/ledger updates. Scope boundary does not imply all35form families were completed by this device slice. diff --git a/docs/ui-consistency/ot13-root-fields/FocasDeviceForm-source-inventory.json b/docs/ui-consistency/ot13-root-fields/FocasDeviceForm-source-inventory.json new file mode 100644 index 000000000..a3408fb70 --- /dev/null +++ b/docs/ui-consistency/ot13-root-fields/FocasDeviceForm-source-inventory.json @@ -0,0 +1,30 @@ +{ + "component": "FocasDeviceForm", + "sourcePath": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/FocasDeviceForm.razor", + "sourceControls": 2, + "fields": [ + { + "component": "InputText", + "idKey": "field-01", + "visibleLabels": [ + "Host address" + ], + "parserDisplayName": null, + "describedBySource": null + }, + { + "component": "InputSelect", + "idKey": "field-02", + "visibleLabels": [ + "CNC series" + ], + "parserDisplayName": null, + "describedBySource": null + } + ], + "disposition": "Editable native compact form; scoped associations only.", + "sourceUnchanged": false, + "beforeSha256": "dfc97fc48065a1910bda469319942e7ab246e569c110d2a42466c1b14e4d209a", + "afterSha256": "c48a3d686cc506aaef9883a215cfed55543772e386d35a371cb1f106886dfb80", + "verification": "Source inventory; rendered two-instance/standalone evidence in device-forms TRX, representative actual browser in browser-results.json" +} diff --git a/docs/ui-consistency/ot13-root-fields/GalaxyDeviceForm-source-inventory.json b/docs/ui-consistency/ot13-root-fields/GalaxyDeviceForm-source-inventory.json new file mode 100644 index 000000000..7b4205690 --- /dev/null +++ b/docs/ui-consistency/ot13-root-fields/GalaxyDeviceForm-source-inventory.json @@ -0,0 +1,11 @@ +{ + "component": "GalaxyDeviceForm", + "sourcePath": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/GalaxyDeviceForm.razor", + "sourceControls": 0, + "fields": [], + "disposition": "Informational only; endpoint belongs to driver. Preserve existing markup/JSON behavior; no invented control.", + "sourceUnchanged": true, + "beforeSha256": "5eeadbd0e3b4809d3338b1e6478cb681e83fc553cb36f0cfceb4053b47e4fea2", + "afterSha256": "5eeadbd0e3b4809d3338b1e6478cb681e83fc553cb36f0cfceb4053b47e4fea2", + "verification": "Source inventory; rendered two-instance/standalone evidence in device-forms TRX, representative actual browser in browser-results.json" +} diff --git a/docs/ui-consistency/ot13-root-fields/HeidenhainDeviceForm-source-inventory.json b/docs/ui-consistency/ot13-root-fields/HeidenhainDeviceForm-source-inventory.json new file mode 100644 index 000000000..b816e3044 --- /dev/null +++ b/docs/ui-consistency/ot13-root-fields/HeidenhainDeviceForm-source-inventory.json @@ -0,0 +1,57 @@ +{ + "component": "HeidenhainDeviceForm", + "sourcePath": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/HeidenhainDeviceForm.razor", + "sourceControls": 5, + "fields": [ + { + "component": "InputText", + "idKey": "hhHost", + "visibleLabels": [ + "Host" + ], + "parserDisplayName": null, + "describedBySource": "@FieldIds(\"hhHost-hint\", \"endpoint-error\")" + }, + { + "component": "InputNumber", + "idKey": "hhPort", + "visibleLabels": [ + "Port" + ], + "parserDisplayName": "Port", + "describedBySource": "@FieldIds(\"hhPort-error\", \"hhPort-hint\", \"endpoint-error\")" + }, + { + "component": "InputText", + "idKey": "hhInspect", + "visibleLabels": [ + "INSPECT password ref" + ], + "parserDisplayName": null, + "describedBySource": "@FieldId(\"credentials-reference-hint\")" + }, + { + "component": "InputText", + "idKey": "hhDnc", + "visibleLabels": [ + "DNC password ref" + ], + "parserDisplayName": null, + "describedBySource": "@FieldId(\"credentials-reference-hint\")" + }, + { + "component": "InputText", + "idKey": "hhData", + "visibleLabels": [ + "DATA password ref" + ], + "parserDisplayName": null, + "describedBySource": "@FieldId(\"credentials-reference-hint\")" + } + ], + "disposition": "Editable native compact form; scoped associations only.", + "sourceUnchanged": false, + "beforeSha256": "c0b63d816cc96b5b3cf27818d8b7fbe6b3d1264a3a7e8608151f981743ac9556", + "afterSha256": "2cf3aa391299c33b3f89381dfb3998794f2f0b6af9d84a4a7d25bbf9b3bd7d97", + "verification": "Source inventory; rendered two-instance/standalone evidence in device-forms TRX, representative actual browser in browser-results.json" +} diff --git a/docs/ui-consistency/ot13-root-fields/ModbusDeviceForm-source-inventory.json b/docs/ui-consistency/ot13-root-fields/ModbusDeviceForm-source-inventory.json new file mode 100644 index 000000000..104683ffb --- /dev/null +++ b/docs/ui-consistency/ot13-root-fields/ModbusDeviceForm-source-inventory.json @@ -0,0 +1,39 @@ +{ + "component": "ModbusDeviceForm", + "sourcePath": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/ModbusDeviceForm.razor", + "sourceControls": 3, + "fields": [ + { + "component": "InputText", + "idKey": "field-01", + "visibleLabels": [ + "Host" + ], + "parserDisplayName": null, + "describedBySource": null + }, + { + "component": "InputNumber", + "idKey": "field-02", + "visibleLabels": [ + "Port" + ], + "parserDisplayName": "Port", + "describedBySource": "@FieldId(\"field-02-error\")" + }, + { + "component": "InputNumber", + "idKey": "field-03", + "visibleLabels": [ + "Unit ID (slave ID)" + ], + "parserDisplayName": "Unit ID (slave ID)", + "describedBySource": "@FieldId(\"field-03-error\")" + } + ], + "disposition": "Editable native compact form; scoped associations only.", + "sourceUnchanged": false, + "beforeSha256": "0a35065506e74a11c1e97e760b8ff20a7d203a9930d0f0d5c5ddb4fe65f286d5", + "afterSha256": "93277a4b8f150616384882797f34d57b328927b7b6bfb9e759590d07e2207e3e", + "verification": "Source inventory; rendered two-instance/standalone evidence in device-forms TRX, representative actual browser in browser-results.json" +} diff --git a/docs/ui-consistency/ot13-root-fields/MqttDeviceForm-source-inventory.json b/docs/ui-consistency/ot13-root-fields/MqttDeviceForm-source-inventory.json new file mode 100644 index 000000000..e22c75cb6 --- /dev/null +++ b/docs/ui-consistency/ot13-root-fields/MqttDeviceForm-source-inventory.json @@ -0,0 +1,11 @@ +{ + "component": "MqttDeviceForm", + "sourcePath": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/MqttDeviceForm.razor", + "sourceControls": 0, + "fields": [], + "disposition": "Informational only; endpoint belongs to driver. Preserve existing markup/JSON behavior; no invented control.", + "sourceUnchanged": true, + "beforeSha256": "e59974d0fb05387aa984a5897194e29132dfc414eaec3c25ad9e6aa322e6fbca", + "afterSha256": "e59974d0fb05387aa984a5897194e29132dfc414eaec3c25ad9e6aa322e6fbca", + "verification": "Source inventory; rendered two-instance/standalone evidence in device-forms TRX, representative actual browser in browser-results.json" +} diff --git a/docs/ui-consistency/ot13-root-fields/OpcUaClientDeviceForm-source-inventory.json b/docs/ui-consistency/ot13-root-fields/OpcUaClientDeviceForm-source-inventory.json new file mode 100644 index 000000000..e8845c388 --- /dev/null +++ b/docs/ui-consistency/ot13-root-fields/OpcUaClientDeviceForm-source-inventory.json @@ -0,0 +1,21 @@ +{ + "component": "OpcUaClientDeviceForm", + "sourcePath": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/OpcUaClientDeviceForm.razor", + "sourceControls": 1, + "fields": [ + { + "component": "InputText", + "idKey": "field-01", + "visibleLabels": [ + "Endpoint URL" + ], + "parserDisplayName": null, + "describedBySource": "@FieldIds(\"field-01-hint\")" + } + ], + "disposition": "Editable native compact form; scoped associations only.", + "sourceUnchanged": false, + "beforeSha256": "cf0a4080da017c6dba22b31216fff6b654c19f9c5764c5bde6ee8835ccc01fd2", + "afterSha256": "c56769890fb9ff43043f5f1cad99fc33d6482d31238154527f78c44417357d81", + "verification": "Source inventory; rendered two-instance/standalone evidence in device-forms TRX, representative actual browser in browser-results.json" +} diff --git a/docs/ui-consistency/ot13-root-fields/S7DeviceForm-source-inventory.json b/docs/ui-consistency/ot13-root-fields/S7DeviceForm-source-inventory.json new file mode 100644 index 000000000..1ac970bd6 --- /dev/null +++ b/docs/ui-consistency/ot13-root-fields/S7DeviceForm-source-inventory.json @@ -0,0 +1,48 @@ +{ + "component": "S7DeviceForm", + "sourcePath": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/S7DeviceForm.razor", + "sourceControls": 4, + "fields": [ + { + "component": "InputText", + "idKey": "field-01", + "visibleLabels": [ + "Host" + ], + "parserDisplayName": null, + "describedBySource": null + }, + { + "component": "InputNumber", + "idKey": "field-02", + "visibleLabels": [ + "Port" + ], + "parserDisplayName": "Port", + "describedBySource": "@FieldId(\"field-02-error\")" + }, + { + "component": "InputNumber", + "idKey": "field-03", + "visibleLabels": [ + "Rack" + ], + "parserDisplayName": "Rack", + "describedBySource": "@FieldId(\"field-03-error\")" + }, + { + "component": "InputNumber", + "idKey": "field-04", + "visibleLabels": [ + "Slot" + ], + "parserDisplayName": "Slot", + "describedBySource": "@FieldId(\"field-04-error\")" + } + ], + "disposition": "Editable native compact form; scoped associations only.", + "sourceUnchanged": false, + "beforeSha256": "9020477510ee00e674ec4d58188b0d0cd8f95b8306c40c1e262650e9ace6a2b7", + "afterSha256": "f7a93ffcc8861b6eb1605f5ab93d58b67fd86586a5e877844672b807e6155a96", + "verification": "Source inventory; rendered two-instance/standalone evidence in device-forms TRX, representative actual browser in browser-results.json" +} diff --git a/docs/ui-consistency/ot13-root-fields/TwinCATDeviceForm-source-inventory.json b/docs/ui-consistency/ot13-root-fields/TwinCATDeviceForm-source-inventory.json new file mode 100644 index 000000000..629bba67f --- /dev/null +++ b/docs/ui-consistency/ot13-root-fields/TwinCATDeviceForm-source-inventory.json @@ -0,0 +1,21 @@ +{ + "component": "TwinCATDeviceForm", + "sourcePath": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/TwinCATDeviceForm.razor", + "sourceControls": 1, + "fields": [ + { + "component": "InputText", + "idKey": "field-01", + "visibleLabels": [ + "Host address (AMS Net Id:port)" + ], + "parserDisplayName": null, + "describedBySource": null + } + ], + "disposition": "Editable native compact form; scoped associations only.", + "sourceUnchanged": false, + "beforeSha256": "d6b9025963b7116cc8d21c7d27e15e9580d9f2f1eb526bad0b9e796281a25df6", + "afterSha256": "38c6f85fec8b8e47f26e0a3d51271d92bc66594ecc76d6f2bdef1d25a656cf61", + "verification": "Source inventory; rendered two-instance/standalone evidence in device-forms TRX, representative actual browser in browser-results.json" +} diff --git a/docs/ui-consistency/ot13-root-fields/device-forms/browser-host.log b/docs/ui-consistency/ot13-root-fields/device-forms/browser-host.log new file mode 100644 index 000000000..adf90ef8f --- /dev/null +++ b/docs/ui-consistency/ot13-root-fields/device-forms/browser-host.log @@ -0,0 +1,10 @@ +info: Microsoft.Hosting.Lifetime[14] + Now listening on: http://127.0.0.1:55921 +info: Microsoft.Hosting.Lifetime[0] + Application started. Press Ctrl+C to shut down. +info: Microsoft.Hosting.Lifetime[0] + Hosting environment: Production +info: Microsoft.Hosting.Lifetime[0] + Content root path: /Users/dohertj2/Desktop/OtOpcUa/docs/ui-consistency/ot13-root-fields/device-forms/canary +info: Microsoft.Hosting.Lifetime[0] + Application is shutting down... diff --git a/docs/ui-consistency/ot13-root-fields/device-forms/browser-results.json b/docs/ui-consistency/ot13-root-fields/device-forms/browser-results.json new file mode 100644 index 000000000..1eced9d86 --- /dev/null +++ b/docs/ui-consistency/ot13-root-fields/device-forms/browser-results.json @@ -0,0 +1,848 @@ +{ + "url": "http://127.0.0.1:55921", + "serviceBoundary": "Razor component host only; no OPC/DB/network clients/auth stores/connection endpoints; local draft callbacks only", + "results": [ + { + "width": 1440, + "inventory": { + "controls": 40, + "uniqueIds": true, + "fields": [ + { + "id": "ab-cip-device-form-75a5bdc6d34e49dcaaedb43c7a0021b5-field-01", + "name": "Host address", + "descriptions": [] + }, + { + "id": "ab-cip-device-form-75a5bdc6d34e49dcaaedb43c7a0021b5-field-02", + "name": "PLC family", + "descriptions": [] + }, + { + "id": "ab-cip-device-form-de85cbdae3054b24bd5b04ac265c4523-field-01", + "name": "Host address", + "descriptions": [] + }, + { + "id": "ab-cip-device-form-de85cbdae3054b24bd5b04ac265c4523-field-02", + "name": "PLC family", + "descriptions": [] + }, + { + "id": "ab-legacy-device-form-d016674ac99e488db91fa58a0b1ce4bf-field-01", + "name": "Host address", + "descriptions": [] + }, + { + "id": "ab-legacy-device-form-d016674ac99e488db91fa58a0b1ce4bf-field-02", + "name": "PLC family", + "descriptions": [] + }, + { + "id": "ab-legacy-device-form-14ec9f9826d44961aa50ffad2a7135ee-field-01", + "name": "Host address", + "descriptions": [] + }, + { + "id": "ab-legacy-device-form-14ec9f9826d44961aa50ffad2a7135ee-field-02", + "name": "PLC family", + "descriptions": [] + }, + { + "id": "focas-device-form-add2b66f61974389ae8ecfb0af65c19e-field-01", + "name": "Host address", + "descriptions": [] + }, + { + "id": "focas-device-form-add2b66f61974389ae8ecfb0af65c19e-field-02", + "name": "CNC series", + "descriptions": [] + }, + { + "id": "focas-device-form-81e389963c97442c97801761732f8b85-field-01", + "name": "Host address", + "descriptions": [] + }, + { + "id": "focas-device-form-81e389963c97442c97801761732f8b85-field-02", + "name": "CNC series", + "descriptions": [] + }, + { + "id": "heidenhain-device-form-29b31049f7f242628c4d3edefb45e728-hhHost", + "name": "Host", + "descriptions": [ + { + "id": "heidenhain-device-form-29b31049f7f242628c4d3edefb45e728-hhHost-hint", + "present": true, + "text": "Control hostname or IP. No default endpoint. Plain LSV2 is unencrypted \u2014 route it over an externally managed secure network." + }, + { + "id": "heidenhain-device-form-29b31049f7f242628c4d3edefb45e728-endpoint-error", + "present": true, + "text": "Host must be a hostname or IP address without whitespace or a URL scheme." + } + ] + }, + { + "id": "heidenhain-device-form-29b31049f7f242628c4d3edefb45e728-hhPort", + "name": "Port", + "descriptions": [ + { + "id": "heidenhain-device-form-29b31049f7f242628c4d3edefb45e728-hhPort-error", + "present": true, + "text": "" + }, + { + "id": "heidenhain-device-form-29b31049f7f242628c4d3edefb45e728-hhPort-hint", + "present": true, + "text": "Default 19000." + }, + { + "id": "heidenhain-device-form-29b31049f7f242628c4d3edefb45e728-endpoint-error", + "present": true, + "text": "Host must be a hostname or IP address without whitespace or a URL scheme." + } + ] + }, + { + "id": "heidenhain-device-form-29b31049f7f242628c4d3edefb45e728-hhInspect", + "name": "INSPECT password ref", + "descriptions": [ + { + "id": "heidenhain-device-form-29b31049f7f242628c4d3edefb45e728-credentials-reference-hint", + "present": true, + "text": "Blank = use the driver-level reference. secret:heidenhain/ resolves from the node's secret store, env:OTOPCUA_HEIDENHAIN_ from the environment, at each login. A literal password is never stored." + } + ] + }, + { + "id": "heidenhain-device-form-29b31049f7f242628c4d3edefb45e728-hhDnc", + "name": "DNC password ref", + "descriptions": [ + { + "id": "heidenhain-device-form-29b31049f7f242628c4d3edefb45e728-credentials-reference-hint", + "present": true, + "text": "Blank = use the driver-level reference. secret:heidenhain/ resolves from the node's secret store, env:OTOPCUA_HEIDENHAIN_ from the environment, at each login. A literal password is never stored." + } + ] + }, + { + "id": "heidenhain-device-form-29b31049f7f242628c4d3edefb45e728-hhData", + "name": "DATA password ref", + "descriptions": [ + { + "id": "heidenhain-device-form-29b31049f7f242628c4d3edefb45e728-credentials-reference-hint", + "present": true, + "text": "Blank = use the driver-level reference. secret:heidenhain/ resolves from the node's secret store, env:OTOPCUA_HEIDENHAIN_ from the environment, at each login. A literal password is never stored." + } + ] + }, + { + "id": "heidenhain-device-form-a396538008294a769564c117bc32dae2-hhHost", + "name": "Host", + "descriptions": [ + { + "id": "heidenhain-device-form-a396538008294a769564c117bc32dae2-hhHost-hint", + "present": true, + "text": "Control hostname or IP. No default endpoint. Plain LSV2 is unencrypted \u2014 route it over an externally managed secure network." + }, + { + "id": "heidenhain-device-form-a396538008294a769564c117bc32dae2-endpoint-error", + "present": true, + "text": "Host must be a hostname or IP address without whitespace or a URL scheme." + } + ] + }, + { + "id": "heidenhain-device-form-a396538008294a769564c117bc32dae2-hhPort", + "name": "Port", + "descriptions": [ + { + "id": "heidenhain-device-form-a396538008294a769564c117bc32dae2-hhPort-error", + "present": true, + "text": "" + }, + { + "id": "heidenhain-device-form-a396538008294a769564c117bc32dae2-hhPort-hint", + "present": true, + "text": "Default 19000." + }, + { + "id": "heidenhain-device-form-a396538008294a769564c117bc32dae2-endpoint-error", + "present": true, + "text": "Host must be a hostname or IP address without whitespace or a URL scheme." + } + ] + }, + { + "id": "heidenhain-device-form-a396538008294a769564c117bc32dae2-hhInspect", + "name": "INSPECT password ref", + "descriptions": [ + { + "id": "heidenhain-device-form-a396538008294a769564c117bc32dae2-credentials-reference-hint", + "present": true, + "text": "Blank = use the driver-level reference. secret:heidenhain/ resolves from the node's secret store, env:OTOPCUA_HEIDENHAIN_ from the environment, at each login. A literal password is never stored." + } + ] + }, + { + "id": "heidenhain-device-form-a396538008294a769564c117bc32dae2-hhDnc", + "name": "DNC password ref", + "descriptions": [ + { + "id": "heidenhain-device-form-a396538008294a769564c117bc32dae2-credentials-reference-hint", + "present": true, + "text": "Blank = use the driver-level reference. secret:heidenhain/ resolves from the node's secret store, env:OTOPCUA_HEIDENHAIN_ from the environment, at each login. A literal password is never stored." + } + ] + }, + { + "id": "heidenhain-device-form-a396538008294a769564c117bc32dae2-hhData", + "name": "DATA password ref", + "descriptions": [ + { + "id": "heidenhain-device-form-a396538008294a769564c117bc32dae2-credentials-reference-hint", + "present": true, + "text": "Blank = use the driver-level reference. secret:heidenhain/ resolves from the node's secret store, env:OTOPCUA_HEIDENHAIN_ from the environment, at each login. A literal password is never stored." + } + ] + }, + { + "id": "modbus-device-form-88177b3be1eb40068e90fd396aed1afe-field-01", + "name": "Host", + "descriptions": [] + }, + { + "id": "modbus-device-form-88177b3be1eb40068e90fd396aed1afe-field-02", + "name": "Port", + "descriptions": [ + { + "id": "modbus-device-form-88177b3be1eb40068e90fd396aed1afe-field-02-error", + "present": true, + "text": "" + } + ] + }, + { + "id": "modbus-device-form-88177b3be1eb40068e90fd396aed1afe-field-03", + "name": "Unit ID (slave ID)", + "descriptions": [ + { + "id": "modbus-device-form-88177b3be1eb40068e90fd396aed1afe-field-03-error", + "present": true, + "text": "" + } + ] + }, + { + "id": "modbus-device-form-114d158d3a524bc9a9fe8ff09a2758ba-field-01", + "name": "Host", + "descriptions": [] + }, + { + "id": "modbus-device-form-114d158d3a524bc9a9fe8ff09a2758ba-field-02", + "name": "Port", + "descriptions": [ + { + "id": "modbus-device-form-114d158d3a524bc9a9fe8ff09a2758ba-field-02-error", + "present": true, + "text": "" + } + ] + }, + { + "id": "modbus-device-form-114d158d3a524bc9a9fe8ff09a2758ba-field-03", + "name": "Unit ID (slave ID)", + "descriptions": [ + { + "id": "modbus-device-form-114d158d3a524bc9a9fe8ff09a2758ba-field-03-error", + "present": true, + "text": "" + } + ] + }, + { + "id": "opc-ua-client-device-form-9d9da89522f44d45a391108ac7a0dbfc-field-01", + "name": "Endpoint URL", + "descriptions": [ + { + "id": "opc-ua-client-device-form-9d9da89522f44d45a391108ac7a0dbfc-field-01-hint", + "present": true, + "text": "The upstream server. Used only when the driver's EndpointUrls failover list is empty." + } + ] + }, + { + "id": "opc-ua-client-device-form-a238c4705dc04448906adbcf023cbbc8-field-01", + "name": "Endpoint URL", + "descriptions": [ + { + "id": "opc-ua-client-device-form-a238c4705dc04448906adbcf023cbbc8-field-01-hint", + "present": true, + "text": "The upstream server. Used only when the driver's EndpointUrls failover list is empty." + } + ] + }, + { + "id": "s7-device-form-5985bb5f945f4f3d9e2407c9fcf65c2d-field-01", + "name": "Host", + "descriptions": [] + }, + { + "id": "s7-device-form-5985bb5f945f4f3d9e2407c9fcf65c2d-field-02", + "name": "Port", + "descriptions": [ + { + "id": "s7-device-form-5985bb5f945f4f3d9e2407c9fcf65c2d-field-02-error", + "present": true, + "text": "" + } + ] + }, + { + "id": "s7-device-form-5985bb5f945f4f3d9e2407c9fcf65c2d-field-03", + "name": "Rack", + "descriptions": [ + { + "id": "s7-device-form-5985bb5f945f4f3d9e2407c9fcf65c2d-field-03-error", + "present": true, + "text": "" + } + ] + }, + { + "id": "s7-device-form-5985bb5f945f4f3d9e2407c9fcf65c2d-field-04", + "name": "Slot", + "descriptions": [ + { + "id": "s7-device-form-5985bb5f945f4f3d9e2407c9fcf65c2d-field-04-error", + "present": true, + "text": "" + } + ] + }, + { + "id": "s7-device-form-ff0ce5ac6e5048c68b71d68c3c34cce0-field-01", + "name": "Host", + "descriptions": [] + }, + { + "id": "s7-device-form-ff0ce5ac6e5048c68b71d68c3c34cce0-field-02", + "name": "Port", + "descriptions": [ + { + "id": "s7-device-form-ff0ce5ac6e5048c68b71d68c3c34cce0-field-02-error", + "present": true, + "text": "" + } + ] + }, + { + "id": "s7-device-form-ff0ce5ac6e5048c68b71d68c3c34cce0-field-03", + "name": "Rack", + "descriptions": [ + { + "id": "s7-device-form-ff0ce5ac6e5048c68b71d68c3c34cce0-field-03-error", + "present": true, + "text": "" + } + ] + }, + { + "id": "s7-device-form-ff0ce5ac6e5048c68b71d68c3c34cce0-field-04", + "name": "Slot", + "descriptions": [ + { + "id": "s7-device-form-ff0ce5ac6e5048c68b71d68c3c34cce0-field-04-error", + "present": true, + "text": "" + } + ] + }, + { + "id": "twin-c-a-t-device-form-ac53e278e60949ae9ca401e4badfcebb-field-01", + "name": "Host address (AMS Net Id:port)", + "descriptions": [] + }, + { + "id": "twin-c-a-t-device-form-a4e1d8bea34b448191b203d0ed6a474b-field-01", + "name": "Host address (AMS Net Id:port)", + "descriptions": [] + } + ], + "width": 1440, + "scrollWidth": 1440 + }, + "labelClicks": [ + { + "family": "AbCipDeviceForm", + "label": "Host address", + "labelClickFocus": true + }, + { + "family": "FocasDeviceForm", + "label": "CNC series", + "labelClickFocus": true + }, + { + "family": "HeidenhainDeviceForm", + "label": "Host", + "labelClickFocus": true + }, + { + "family": "HeidenhainDeviceForm", + "label": "INSPECT password ref", + "labelClickFocus": true + }, + { + "family": "ModbusDeviceForm", + "label": "Unit ID (slave ID)", + "labelClickFocus": true + }, + { + "family": "OpcUaClientDeviceForm", + "label": "Endpoint URL", + "labelClickFocus": true + }, + { + "family": "S7DeviceForm", + "label": "Slot", + "labelClickFocus": true + }, + { + "family": "TwinCATDeviceForm", + "label": "Host address (AMS Net Id:port)", + "labelClickFocus": true + } + ], + "parser": { + "description": "The Port field must be a number.", + "ariaInvalid": true, + "noConfigCallbackOnInvalid": true + }, + "errors": [] + }, + { + "width": 390, + "inventory": { + "controls": 40, + "uniqueIds": true, + "fields": [ + { + "id": "ab-cip-device-form-e5bec93084914991a75fa2f1fc6ce766-field-01", + "name": "Host address", + "descriptions": [] + }, + { + "id": "ab-cip-device-form-e5bec93084914991a75fa2f1fc6ce766-field-02", + "name": "PLC family", + "descriptions": [] + }, + { + "id": "ab-cip-device-form-b25e5ad2c2d24eb88f8f9a805201d17e-field-01", + "name": "Host address", + "descriptions": [] + }, + { + "id": "ab-cip-device-form-b25e5ad2c2d24eb88f8f9a805201d17e-field-02", + "name": "PLC family", + "descriptions": [] + }, + { + "id": "ab-legacy-device-form-516bffb27e1848869426128bbe950bc2-field-01", + "name": "Host address", + "descriptions": [] + }, + { + "id": "ab-legacy-device-form-516bffb27e1848869426128bbe950bc2-field-02", + "name": "PLC family", + "descriptions": [] + }, + { + "id": "ab-legacy-device-form-5b56455e08814223bedd861df90b9690-field-01", + "name": "Host address", + "descriptions": [] + }, + { + "id": "ab-legacy-device-form-5b56455e08814223bedd861df90b9690-field-02", + "name": "PLC family", + "descriptions": [] + }, + { + "id": "focas-device-form-222e0f9c7e074295a78b7e5921d73c8e-field-01", + "name": "Host address", + "descriptions": [] + }, + { + "id": "focas-device-form-222e0f9c7e074295a78b7e5921d73c8e-field-02", + "name": "CNC series", + "descriptions": [] + }, + { + "id": "focas-device-form-d014181e173947d4b0dcd4aff7858c64-field-01", + "name": "Host address", + "descriptions": [] + }, + { + "id": "focas-device-form-d014181e173947d4b0dcd4aff7858c64-field-02", + "name": "CNC series", + "descriptions": [] + }, + { + "id": "heidenhain-device-form-773507158d2b44f98c83e6c5b7ae65aa-hhHost", + "name": "Host", + "descriptions": [ + { + "id": "heidenhain-device-form-773507158d2b44f98c83e6c5b7ae65aa-hhHost-hint", + "present": true, + "text": "Control hostname or IP. No default endpoint. Plain LSV2 is unencrypted \u2014 route it over an externally managed secure network." + }, + { + "id": "heidenhain-device-form-773507158d2b44f98c83e6c5b7ae65aa-endpoint-error", + "present": true, + "text": "Host must be a hostname or IP address without whitespace or a URL scheme." + } + ] + }, + { + "id": "heidenhain-device-form-773507158d2b44f98c83e6c5b7ae65aa-hhPort", + "name": "Port", + "descriptions": [ + { + "id": "heidenhain-device-form-773507158d2b44f98c83e6c5b7ae65aa-hhPort-error", + "present": true, + "text": "" + }, + { + "id": "heidenhain-device-form-773507158d2b44f98c83e6c5b7ae65aa-hhPort-hint", + "present": true, + "text": "Default 19000." + }, + { + "id": "heidenhain-device-form-773507158d2b44f98c83e6c5b7ae65aa-endpoint-error", + "present": true, + "text": "Host must be a hostname or IP address without whitespace or a URL scheme." + } + ] + }, + { + "id": "heidenhain-device-form-773507158d2b44f98c83e6c5b7ae65aa-hhInspect", + "name": "INSPECT password ref", + "descriptions": [ + { + "id": "heidenhain-device-form-773507158d2b44f98c83e6c5b7ae65aa-credentials-reference-hint", + "present": true, + "text": "Blank = use the driver-level reference. secret:heidenhain/ resolves from the node's secret store, env:OTOPCUA_HEIDENHAIN_ from the environment, at each login. A literal password is never stored." + } + ] + }, + { + "id": "heidenhain-device-form-773507158d2b44f98c83e6c5b7ae65aa-hhDnc", + "name": "DNC password ref", + "descriptions": [ + { + "id": "heidenhain-device-form-773507158d2b44f98c83e6c5b7ae65aa-credentials-reference-hint", + "present": true, + "text": "Blank = use the driver-level reference. secret:heidenhain/ resolves from the node's secret store, env:OTOPCUA_HEIDENHAIN_ from the environment, at each login. A literal password is never stored." + } + ] + }, + { + "id": "heidenhain-device-form-773507158d2b44f98c83e6c5b7ae65aa-hhData", + "name": "DATA password ref", + "descriptions": [ + { + "id": "heidenhain-device-form-773507158d2b44f98c83e6c5b7ae65aa-credentials-reference-hint", + "present": true, + "text": "Blank = use the driver-level reference. secret:heidenhain/ resolves from the node's secret store, env:OTOPCUA_HEIDENHAIN_ from the environment, at each login. A literal password is never stored." + } + ] + }, + { + "id": "heidenhain-device-form-4fbcb20fda86409ab0968088631c4990-hhHost", + "name": "Host", + "descriptions": [ + { + "id": "heidenhain-device-form-4fbcb20fda86409ab0968088631c4990-hhHost-hint", + "present": true, + "text": "Control hostname or IP. No default endpoint. Plain LSV2 is unencrypted \u2014 route it over an externally managed secure network." + }, + { + "id": "heidenhain-device-form-4fbcb20fda86409ab0968088631c4990-endpoint-error", + "present": true, + "text": "Host must be a hostname or IP address without whitespace or a URL scheme." + } + ] + }, + { + "id": "heidenhain-device-form-4fbcb20fda86409ab0968088631c4990-hhPort", + "name": "Port", + "descriptions": [ + { + "id": "heidenhain-device-form-4fbcb20fda86409ab0968088631c4990-hhPort-error", + "present": true, + "text": "" + }, + { + "id": "heidenhain-device-form-4fbcb20fda86409ab0968088631c4990-hhPort-hint", + "present": true, + "text": "Default 19000." + }, + { + "id": "heidenhain-device-form-4fbcb20fda86409ab0968088631c4990-endpoint-error", + "present": true, + "text": "Host must be a hostname or IP address without whitespace or a URL scheme." + } + ] + }, + { + "id": "heidenhain-device-form-4fbcb20fda86409ab0968088631c4990-hhInspect", + "name": "INSPECT password ref", + "descriptions": [ + { + "id": "heidenhain-device-form-4fbcb20fda86409ab0968088631c4990-credentials-reference-hint", + "present": true, + "text": "Blank = use the driver-level reference. secret:heidenhain/ resolves from the node's secret store, env:OTOPCUA_HEIDENHAIN_ from the environment, at each login. A literal password is never stored." + } + ] + }, + { + "id": "heidenhain-device-form-4fbcb20fda86409ab0968088631c4990-hhDnc", + "name": "DNC password ref", + "descriptions": [ + { + "id": "heidenhain-device-form-4fbcb20fda86409ab0968088631c4990-credentials-reference-hint", + "present": true, + "text": "Blank = use the driver-level reference. secret:heidenhain/ resolves from the node's secret store, env:OTOPCUA_HEIDENHAIN_ from the environment, at each login. A literal password is never stored." + } + ] + }, + { + "id": "heidenhain-device-form-4fbcb20fda86409ab0968088631c4990-hhData", + "name": "DATA password ref", + "descriptions": [ + { + "id": "heidenhain-device-form-4fbcb20fda86409ab0968088631c4990-credentials-reference-hint", + "present": true, + "text": "Blank = use the driver-level reference. secret:heidenhain/ resolves from the node's secret store, env:OTOPCUA_HEIDENHAIN_ from the environment, at each login. A literal password is never stored." + } + ] + }, + { + "id": "modbus-device-form-e65062e10bd14900ba9e65803becd547-field-01", + "name": "Host", + "descriptions": [] + }, + { + "id": "modbus-device-form-e65062e10bd14900ba9e65803becd547-field-02", + "name": "Port", + "descriptions": [ + { + "id": "modbus-device-form-e65062e10bd14900ba9e65803becd547-field-02-error", + "present": true, + "text": "" + } + ] + }, + { + "id": "modbus-device-form-e65062e10bd14900ba9e65803becd547-field-03", + "name": "Unit ID (slave ID)", + "descriptions": [ + { + "id": "modbus-device-form-e65062e10bd14900ba9e65803becd547-field-03-error", + "present": true, + "text": "" + } + ] + }, + { + "id": "modbus-device-form-77c773f9b1884546838f6c2589b08ffb-field-01", + "name": "Host", + "descriptions": [] + }, + { + "id": "modbus-device-form-77c773f9b1884546838f6c2589b08ffb-field-02", + "name": "Port", + "descriptions": [ + { + "id": "modbus-device-form-77c773f9b1884546838f6c2589b08ffb-field-02-error", + "present": true, + "text": "" + } + ] + }, + { + "id": "modbus-device-form-77c773f9b1884546838f6c2589b08ffb-field-03", + "name": "Unit ID (slave ID)", + "descriptions": [ + { + "id": "modbus-device-form-77c773f9b1884546838f6c2589b08ffb-field-03-error", + "present": true, + "text": "" + } + ] + }, + { + "id": "opc-ua-client-device-form-ea11f6e8eced49ea9c56faeb47c67567-field-01", + "name": "Endpoint URL", + "descriptions": [ + { + "id": "opc-ua-client-device-form-ea11f6e8eced49ea9c56faeb47c67567-field-01-hint", + "present": true, + "text": "The upstream server. Used only when the driver's EndpointUrls failover list is empty." + } + ] + }, + { + "id": "opc-ua-client-device-form-f092eabfe1424080ba15d1c21f8e1efb-field-01", + "name": "Endpoint URL", + "descriptions": [ + { + "id": "opc-ua-client-device-form-f092eabfe1424080ba15d1c21f8e1efb-field-01-hint", + "present": true, + "text": "The upstream server. Used only when the driver's EndpointUrls failover list is empty." + } + ] + }, + { + "id": "s7-device-form-e670fa47b5ea4ed2bb7a7933c8d2938e-field-01", + "name": "Host", + "descriptions": [] + }, + { + "id": "s7-device-form-e670fa47b5ea4ed2bb7a7933c8d2938e-field-02", + "name": "Port", + "descriptions": [ + { + "id": "s7-device-form-e670fa47b5ea4ed2bb7a7933c8d2938e-field-02-error", + "present": true, + "text": "" + } + ] + }, + { + "id": "s7-device-form-e670fa47b5ea4ed2bb7a7933c8d2938e-field-03", + "name": "Rack", + "descriptions": [ + { + "id": "s7-device-form-e670fa47b5ea4ed2bb7a7933c8d2938e-field-03-error", + "present": true, + "text": "" + } + ] + }, + { + "id": "s7-device-form-e670fa47b5ea4ed2bb7a7933c8d2938e-field-04", + "name": "Slot", + "descriptions": [ + { + "id": "s7-device-form-e670fa47b5ea4ed2bb7a7933c8d2938e-field-04-error", + "present": true, + "text": "" + } + ] + }, + { + "id": "s7-device-form-7edd153436c040dbb56e5b494dd4b002-field-01", + "name": "Host", + "descriptions": [] + }, + { + "id": "s7-device-form-7edd153436c040dbb56e5b494dd4b002-field-02", + "name": "Port", + "descriptions": [ + { + "id": "s7-device-form-7edd153436c040dbb56e5b494dd4b002-field-02-error", + "present": true, + "text": "" + } + ] + }, + { + "id": "s7-device-form-7edd153436c040dbb56e5b494dd4b002-field-03", + "name": "Rack", + "descriptions": [ + { + "id": "s7-device-form-7edd153436c040dbb56e5b494dd4b002-field-03-error", + "present": true, + "text": "" + } + ] + }, + { + "id": "s7-device-form-7edd153436c040dbb56e5b494dd4b002-field-04", + "name": "Slot", + "descriptions": [ + { + "id": "s7-device-form-7edd153436c040dbb56e5b494dd4b002-field-04-error", + "present": true, + "text": "" + } + ] + }, + { + "id": "twin-c-a-t-device-form-881164c38d3d406489a8a6b159815740-field-01", + "name": "Host address (AMS Net Id:port)", + "descriptions": [] + }, + { + "id": "twin-c-a-t-device-form-70e8d33919c448ee9d15a2f5a772addb-field-01", + "name": "Host address (AMS Net Id:port)", + "descriptions": [] + } + ], + "width": 390, + "scrollWidth": 390 + }, + "labelClicks": [ + { + "family": "AbCipDeviceForm", + "label": "Host address", + "labelClickFocus": true + }, + { + "family": "FocasDeviceForm", + "label": "CNC series", + "labelClickFocus": true + }, + { + "family": "HeidenhainDeviceForm", + "label": "Host", + "labelClickFocus": true + }, + { + "family": "HeidenhainDeviceForm", + "label": "INSPECT password ref", + "labelClickFocus": true + }, + { + "family": "ModbusDeviceForm", + "label": "Unit ID (slave ID)", + "labelClickFocus": true + }, + { + "family": "OpcUaClientDeviceForm", + "label": "Endpoint URL", + "labelClickFocus": true + }, + { + "family": "S7DeviceForm", + "label": "Slot", + "labelClickFocus": true + }, + { + "family": "TwinCATDeviceForm", + "label": "Host address (AMS Net Id:port)", + "labelClickFocus": true + } + ], + "parser": { + "description": "The Port field must be a number.", + "ariaInvalid": true, + "noConfigCallbackOnInvalid": true + }, + "errors": [] + } + ] +} diff --git a/docs/ui-consistency/ot13-root-fields/device-forms/canary/Components/App.razor b/docs/ui-consistency/ot13-root-fields/device-forms/canary/Components/App.razor new file mode 100644 index 000000000..29d208344 --- /dev/null +++ b/docs/ui-consistency/ot13-root-fields/device-forms/canary/Components/App.razor @@ -0,0 +1,4 @@ + +Local device field fixture + + diff --git a/docs/ui-consistency/ot13-root-fields/device-forms/canary/Components/Pages/Home.razor b/docs/ui-consistency/ot13-root-fields/device-forms/canary/Components/Pages/Home.razor new file mode 100644 index 000000000..076c59715 --- /dev/null +++ b/docs/ui-consistency/ot13-root-fields/device-forms/canary/Components/Pages/Home.razor @@ -0,0 +1,28 @@ +@page "/" +@rendermode InteractiveServer +

Device field accessibility fixture

Synthetic local drafts only. No backend services or connection actions.

+@_changes@_ready + +@foreach (var type in Types) +{ + @for (int copy = 0; copy < 2; copy++) + { + var key = type.Name + copy; +

@type.Name · instance @copy

+ } +} +
+@code { + private readonly EditContext _context = new(new object()); + private readonly Dictionary _values = new(); + private int _changes; + private bool _ready; + protected override void OnAfterRender(bool firstRender) { if (firstRender) { _ready = true; StateHasChanged(); } } + private static readonly Type[] Types = [typeof(AbCipDeviceForm), typeof(AbLegacyDeviceForm), typeof(FocasDeviceForm), typeof(HeidenhainDeviceForm), typeof(ModbusDeviceForm), typeof(OpcUaClientDeviceForm), typeof(S7DeviceForm), typeof(TwinCATDeviceForm)]; + private Dictionary Values(Type type, string key) => new() + { + ["DeviceConfigJson"] = _values.GetValueOrDefault(key, "{}"), + ["DeviceConfigJsonChanged"] = EventCallback.Factory.Create(this, value => { _values[key] = value; _changes++; }) + }; + private void IgnoreSubmit(EditContext context) { } +} diff --git a/docs/ui-consistency/ot13-root-fields/device-forms/canary/Components/_Imports.razor b/docs/ui-consistency/ot13-root-fields/device-forms/canary/Components/_Imports.razor new file mode 100644 index 000000000..ff14bb961 --- /dev/null +++ b/docs/ui-consistency/ot13-root-fields/device-forms/canary/Components/_Imports.razor @@ -0,0 +1,7 @@ +@using Microsoft.AspNetCore.Components +@using Microsoft.AspNetCore.Components.Forms +@using Microsoft.AspNetCore.Components.Routing +@using Microsoft.AspNetCore.Components.Web +@using static Microsoft.AspNetCore.Components.Web.RenderMode +@using ZB.MOM.WW.Theme +@using ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.DeviceForms diff --git a/docs/ui-consistency/ot13-root-fields/device-forms/canary/DeviceFormCanary.csproj b/docs/ui-consistency/ot13-root-fields/device-forms/canary/DeviceFormCanary.csproj new file mode 100644 index 000000000..08e4320d9 --- /dev/null +++ b/docs/ui-consistency/ot13-root-fields/device-forms/canary/DeviceFormCanary.csproj @@ -0,0 +1,4 @@ + +net10.0enableenableDeviceFormCanary + + diff --git a/docs/ui-consistency/ot13-root-fields/device-forms/canary/Program.cs b/docs/ui-consistency/ot13-root-fields/device-forms/canary/Program.cs new file mode 100644 index 000000000..b4ea354ed --- /dev/null +++ b/docs/ui-consistency/ot13-root-fields/device-forms/canary/Program.cs @@ -0,0 +1,9 @@ +using DeviceFormCanary.Components; +var builder = WebApplication.CreateBuilder(args); +builder.WebHost.UseStaticWebAssets(); +builder.Services.AddRazorComponents().AddInteractiveServerComponents(); +var app = builder.Build(); +app.UseAntiforgery(); +app.MapStaticAssets(); +app.MapRazorComponents().AddInteractiveServerRenderMode(); +app.Run(); diff --git a/docs/ui-consistency/ot13-root-fields/device-forms/check-browser.py b/docs/ui-consistency/ot13-root-fields/device-forms/check-browser.py new file mode 100644 index 000000000..4e5587446 --- /dev/null +++ b/docs/ui-consistency/ot13-root-fields/device-forms/check-browser.py @@ -0,0 +1,23 @@ +"""Actual native device labels/help/parser in a service-free local component host.""" +import json,re +from pathlib import Path +from playwright.sync_api import sync_playwright,expect +OUT=Path(__file__).resolve().parent +log=(OUT/'browser-host.log').read_text();URL=re.search(r'Now listening on: (http://127.0.0.1:\d+)',log).group(1) +results=[] +with sync_playwright() as p: + b=p.chromium.launch() + for w,h in [(1440,900),(390,844)]: + page=b.new_page(viewport={'width':w,'height':h});errors=[];page.on('pageerror',lambda e:errors.append(str(e)));page.goto(URL);expect(page.locator('#interactive')).to_have_text('True');page.get_by_role('button',name='Verify local interactivity',exact=True).click();expect(page.locator('#changes')).to_have_text('1') + data=page.evaluate('''()=>{const inputs=[...document.querySelectorAll('section[data-device] input,section[data-device] select,section[data-device] textarea')];const ids=[...document.querySelectorAll('[id]')].map(e=>e.id);return {controls:inputs.length,uniqueIds:new Set(ids).size===ids.length,fields:inputs.map(e=>({id:e.id,name:[...e.labels].map(l=>l.textContent.trim()).join(' '),descriptions:(e.getAttribute('aria-describedby')||'').split(' ').filter(Boolean).map(id=>({id,present:!!document.getElementById(id),text:document.getElementById(id)?.textContent}))})),width:innerWidth,scrollWidth:document.documentElement.scrollWidth}}''') + assert data['controls']==40 and data['uniqueIds'];assert all(f['name'] and all(d['present'] for d in f['descriptions']) for f in data['fields']);assert data['width']==data['scrollWidth'] + clicked=[] + for family,label in [('AbCipDeviceForm','Host address'),('FocasDeviceForm','CNC series'),('HeidenhainDeviceForm','Host'),('HeidenhainDeviceForm','INSPECT password ref'),('ModbusDeviceForm','Unit ID (slave ID)'),('OpcUaClientDeviceForm','Endpoint URL'),('S7DeviceForm','Slot'),('TwinCATDeviceForm','Host address (AMS Net Id:port)')]: + region=page.locator('[data-device="'+family+'"][data-copy="0"]');control=region.get_by_label(label,exact=True);ident=control.get_attribute('id');region.locator('label[for="'+ident+'"]').click();expect(control).to_be_focused();clicked.append({'family':family,'label':label,'labelClickFocus':True}) + hh=page.locator('[data-device="HeidenhainDeviceForm"][data-copy="0"]');hh.screenshot(path=str(OUT/('heidenhain-'+str(w)+'.png'))) + port=page.locator('[data-device="ModbusDeviceForm"][data-copy="0"]').get_by_label('Port',exact=True);before=page.locator('#changes').inner_text();port.fill('1.5');port.press('Tab');expect(port).to_have_attribute('aria-invalid','true');expect(page.locator('#changes')).to_have_text(before) + description=port.evaluate('(e)=>(e.getAttribute("aria-describedby")||"").split(" ").filter(Boolean).map(id=>document.getElementById(id).textContent).join(" ")');assert 'Port' in description and 'number' in description + page.locator('[data-device="ModbusDeviceForm"][data-copy="0"]').screenshot(path=str(OUT/('modbus-parser-'+str(w)+'.png'))) + results.append({'width':w,'inventory':data,'labelClicks':clicked,'parser':{'description':description,'ariaInvalid':True,'noConfigCallbackOnInvalid':True},'errors':errors});assert not errors;page.close() + b.close() +(OUT/'browser-results.json').write_text(json.dumps({'url':URL,'serviceBoundary':'Razor component host only; no OPC/DB/network clients/auth stores/connection endpoints; local draft callbacks only','results':results},indent=2)+'\n');print('PASS2 viewports,40 controls each,16 actual label-focus checks, resolved help/errors and human parser messages; no backend operations') diff --git a/docs/ui-consistency/ot13-root-fields/device-forms/contracts.log b/docs/ui-consistency/ot13-root-fields/device-forms/contracts.log new file mode 100644 index 000000000..0909fa71c --- /dev/null +++ b/docs/ui-consistency/ot13-root-fields/device-forms/contracts.log @@ -0,0 +1,55 @@ + + Determining projects to restore... + All projects are up-to-date for restore. + ZB.MOM.WW.OtOpcUa.Analyzers -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Analyzers/debug/ZB.MOM.WW.OtOpcUa.Analyzers.dll + ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport/debug/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.dll + ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /tmp/ot13-device-fields-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/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/debug/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/debug/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll + ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll + ZB.MOM.WW.OtOpcUa.Commons -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Commons/debug/ZB.MOM.WW.OtOpcUa.Commons.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /tmp/ot13-device-fields-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/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /tmp/ot13-device-fields-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/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll + ZB.MOM.WW.OtOpcUa.Cluster -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Cluster/debug/ZB.MOM.WW.OtOpcUa.Cluster.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /tmp/ot13-device-fields-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/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll + ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/debug/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll + ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/debug/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll + ZB.MOM.WW.OtOpcUa.Configuration -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Configuration/debug/ZB.MOM.WW.OtOpcUa.Configuration.dll + ZB.MOM.WW.OtOpcUa.Core -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core/debug/ZB.MOM.WW.OtOpcUa.Core.dll + ZB.MOM.WW.OtOpcUa.Security -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Security/debug/ZB.MOM.WW.OtOpcUa.Security.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/debug/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/debug/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll + ZB.MOM.WW.OtOpcUa.OpcUaServer -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.OpcUaServer/debug/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/debug/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbCip/debug/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/debug/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll + ZB.MOM.WW.OtOpcUa.ControlPlane -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.ControlPlane/debug/ZB.MOM.WW.OtOpcUa.ControlPlane.dll + ZB.MOM.WW.OtOpcUa.Runtime -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Runtime/debug/ZB.MOM.WW.OtOpcUa.Runtime.dll + ZB.MOM.WW.OtOpcUa.AdminUI -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.AdminUI/debug/ZB.MOM.WW.OtOpcUa.AdminUI.dll + ZB.MOM.WW.OtOpcUa.AdminUI.Tests -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/debug/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll +Test run for /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/debug/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (.NETCoreApp,Version=v10.0) +A total of 1 test files matched the specified pattern. +Results File: /Users/dohertj2/Desktop/OtOpcUa/docs/ui-consistency/ot13-root-fields/device-forms/device-contracts.trx + +Passed! - Failed: 0, Passed: 112, Skipped: 0, Total: 112, Duration: 512 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0) diff --git a/docs/ui-consistency/ot13-root-fields/device-forms/device-contracts.trx b/docs/ui-consistency/ot13-root-fields/device-forms/device-contracts.trx new file mode 100644 index 000000000..0406b162c --- /dev/null +++ b/docs/ui-consistency/ot13-root-fields/device-forms/device-contracts.trx @@ -0,0 +1,700 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [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.24] Discovering: ZB.MOM.WW.OtOpcUa.AdminUI.Tests +[xUnit.net 00:00:01.01] Discovered: ZB.MOM.WW.OtOpcUa.AdminUI.Tests +[xUnit.net 00:00:01.13] Starting: ZB.MOM.WW.OtOpcUa.AdminUI.Tests +[xUnit.net 00:00:01.68] Finished: ZB.MOM.WW.OtOpcUa.AdminUI.Tests + + + + \ No newline at end of file diff --git a/docs/ui-consistency/ot13-root-fields/device-forms/device-fields-green.trx b/docs/ui-consistency/ot13-root-fields/device-forms/device-fields-green.trx new file mode 100644 index 000000000..e1d614d0e --- /dev/null +++ b/docs/ui-consistency/ot13-root-fields/device-forms/device-fields-green.trx @@ -0,0 +1,148 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v3.0.2+dd36e86129 (64-bit .NET 10.0.14) +[xUnit.net 00:00:00.27] Discovering: ZB.MOM.WW.OtOpcUa.AdminUI.Tests +[xUnit.net 00:00:00.88] Discovered: ZB.MOM.WW.OtOpcUa.AdminUI.Tests +[xUnit.net 00:00:00.99] Starting: ZB.MOM.WW.OtOpcUa.AdminUI.Tests +[xUnit.net 00:00:01.24] Finished: ZB.MOM.WW.OtOpcUa.AdminUI.Tests + + + + \ No newline at end of file diff --git a/docs/ui-consistency/ot13-root-fields/device-forms/device-fields-red.trx b/docs/ui-consistency/ot13-root-fields/device-forms/device-fields-red.trx new file mode 100644 index 000000000..cbc7b3694 --- /dev/null +++ b/docs/ui-consistency/ot13-root-fields/device-forms/device-fields-red.trx @@ -0,0 +1,356 @@ + + + + + + + + + + + Shouldly.ShouldAssertException : label (null) + should not be null or white space + +Additional Info: + S7DeviceForm: <input placeholder="192.168.0.1" name="_model.Host" class="form-control form-control-sm mono valid" value="127.0.0.1" blazor:onchange="1" blazor:elementreference="b23d3feb-bb95-4f23-a74a-5d94027deae9"> + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Type type) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/ProtocolFormAccessibilityTests.cs:line 100 + at InvokeStub_ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Object, Span`1) + at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) + + + + + + + + + + Shouldly.ShouldAssertException : label (null) + should not be null or white space + +Additional Info: + AbLegacyDeviceForm: <input placeholder="10.0.0.10" name="_model.HostAddress" class="form-control form-control-sm mono valid" value="" blazor:onchange="1" blazor:elementreference="24ed5296-4b82-428f-8331-1f2ecd16aab2"> + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Type type) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/ProtocolFormAccessibilityTests.cs:line 100 + at InvokeStub_ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Object, Span`1) + at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) + + + + + + + Shouldly.ShouldAssertException : label (null) + should not be null or white space + +Additional Info: + OpcUaClientDeviceForm: <input placeholder="opc.tcp://plc.internal:4840" name="_model.EndpointUrl" class="form-control form-control-sm mono valid" value="opc.tcp://localhost:4840" blazor:onchange="1" blazor:elementreference="f4f73fd7-8653-4295-a3f6-b7b28a9cb876"> + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Type type) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/ProtocolFormAccessibilityTests.cs:line 100 + at InvokeStub_ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Object, Span`1) + at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) + + + + + + + + Shouldly.ShouldAssertException : label (null) + should not be null or white space + +Additional Info: + AbCipDeviceForm: <input placeholder="ab://gateway/1,0" name="_model.HostAddress" class="form-control form-control-sm mono valid" value="" blazor:onchange="1" blazor:elementreference="23532d96-c84c-4eac-8e4c-dca8b4e0c204"> + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Type type) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/ProtocolFormAccessibilityTests.cs:line 100 + at InvokeStub_ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Object, Span`1) + at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) + + + + + + + + + + + + Shouldly.ShouldAssertException : label (null) + should not be null or white space + +Additional Info: + TwinCATDeviceForm: <input placeholder="192.168.0.1.1.1:851" name="_model.HostAddress" class="form-control form-control-sm mono valid" value="" blazor:onchange="1" blazor:elementreference="d3d4952e-7e8d-4c93-8463-418608bc441d"> + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Type type) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/ProtocolFormAccessibilityTests.cs:line 100 + at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) + at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr) + + + + + + + + + + Shouldly.ShouldAssertException : label (null) + should not be null or white space + +Additional Info: + ModbusDeviceForm: <input placeholder="127.0.0.1" name="_model.Host" class="form-control form-control-sm mono valid" value="127.0.0.1" blazor:onchange="1" blazor:elementreference="ac6b6ae2-62c0-4054-91f7-90ea61fa7fc6"> + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Type type) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/ProtocolFormAccessibilityTests.cs:line 100 + at InvokeStub_ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Object, Span`1) + at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) + + + + + + + Shouldly.ShouldAssertException : label (null) + should not be null or white space + +Additional Info: + FocasDeviceForm: <input placeholder="192.168.0.10:8193" name="_model.HostAddress" class="form-control form-control-sm mono valid" value="" blazor:onchange="1" blazor:elementreference="2569c791-6994-43b8-94f3-e191788a4d2d"> + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Type type) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/ProtocolFormAccessibilityTests.cs:line 100 + at InvokeStub_ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Object, Span`1) + at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) + + + + + + + Shouldly.ShouldAssertException : ids.Distinct(StringComparer.Ordinal).Count() + should be +10 + but was +5 + +Additional Info: + HeidenhainDeviceForm repeated IDs + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Type type) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/ProtocolFormAccessibilityTests.cs:line 91 + at InvokeStub_ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Object, Span`1) + at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [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.00] Discovered: ZB.MOM.WW.OtOpcUa.AdminUI.Tests +[xUnit.net 00:00:01.11] Starting: ZB.MOM.WW.OtOpcUa.AdminUI.Tests +[xUnit.net 00:00:01.33] Shouldly.ShouldAssertException : label (null) +[xUnit.net 00:00:01.33] should not be null or white space +[xUnit.net 00:00:01.33] +[xUnit.net 00:00:01.33] Additional Info: +[xUnit.net 00:00:01.33] TwinCATDeviceForm: <input placeholder="192.168.0.1.1.1:851" name="_model.HostAddress" class="form-control form-control-sm mono valid" value="" blazor:onchange="1" blazor:elementreference="d3d4952e-7e8d-4c93-8463-418608bc441d"> +[xUnit.net 00:00:01.33] Stack Trace: +[xUnit.net 00:00:01.34] /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/ProtocolFormAccessibilityTests.cs(100,0): at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Type type) +[xUnit.net 00:00:01.34] at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) +[xUnit.net 00:00:01.34] at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr) +[xUnit.net 00:00:01.34] Shouldly.ShouldAssertException : label (null) +[xUnit.net 00:00:01.34] should not be null or white space +[xUnit.net 00:00:01.34] +[xUnit.net 00:00:01.34] Additional Info: +[xUnit.net 00:00:01.34] AbLegacyDeviceForm: <input placeholder="10.0.0.10" name="_model.HostAddress" class="form-control form-control-sm mono valid" value="" blazor:onchange="1" blazor:elementreference="24ed5296-4b82-428f-8331-1f2ecd16aab2"> +[xUnit.net 00:00:01.34] Stack Trace: +[xUnit.net 00:00:01.34] /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/ProtocolFormAccessibilityTests.cs(100,0): at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Type type) +[xUnit.net 00:00:01.34] at InvokeStub_ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Object, Span`1) +[xUnit.net 00:00:01.34] at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +[xUnit.net 00:00:01.35] Shouldly.ShouldAssertException : ids.Distinct(StringComparer.Ordinal).Count() +[xUnit.net 00:00:01.35] should be +[xUnit.net 00:00:01.35] 10 +[xUnit.net 00:00:01.35] but was +[xUnit.net 00:00:01.35] 5 +[xUnit.net 00:00:01.35] +[xUnit.net 00:00:01.35] Additional Info: +[xUnit.net 00:00:01.35] HeidenhainDeviceForm repeated IDs +[xUnit.net 00:00:01.35] Stack Trace: +[xUnit.net 00:00:01.35] /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/ProtocolFormAccessibilityTests.cs(91,0): at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Type type) +[xUnit.net 00:00:01.35] at InvokeStub_ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Object, Span`1) +[xUnit.net 00:00:01.35] at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +[xUnit.net 00:00:01.36] Shouldly.ShouldAssertException : label (null) +[xUnit.net 00:00:01.36] should not be null or white space +[xUnit.net 00:00:01.36] +[xUnit.net 00:00:01.36] Additional Info: +[xUnit.net 00:00:01.36] OpcUaClientDeviceForm: <input placeholder="opc.tcp://plc.internal:4840" name="_model.EndpointUrl" class="form-control form-control-sm mono valid" value="opc.tcp://localhost:4840" blazor:onchange="1" blazor:elementreference="f4f73fd7-8653-4295-a3f6-b7b28a9cb876"> +[xUnit.net 00:00:01.36] Stack Trace: +[xUnit.net 00:00:01.36] /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/ProtocolFormAccessibilityTests.cs(100,0): at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Type type) +[xUnit.net 00:00:01.36] at InvokeStub_ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Object, Span`1) +[xUnit.net 00:00:01.36] at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +[xUnit.net 00:00:01.36] Shouldly.ShouldAssertException : label (null) +[xUnit.net 00:00:01.36] should not be null or white space +[xUnit.net 00:00:01.36] +[xUnit.net 00:00:01.36] Additional Info: +[xUnit.net 00:00:01.36] AbCipDeviceForm: <input placeholder="ab://gateway/1,0" name="_model.HostAddress" class="form-control form-control-sm mono valid" value="" blazor:onchange="1" blazor:elementreference="23532d96-c84c-4eac-8e4c-dca8b4e0c204"> +[xUnit.net 00:00:01.36] Stack Trace: +[xUnit.net 00:00:01.36] /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/ProtocolFormAccessibilityTests.cs(100,0): at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Type type) +[xUnit.net 00:00:01.36] at InvokeStub_ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Object, Span`1) +[xUnit.net 00:00:01.36] at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +[xUnit.net 00:00:01.36] Shouldly.ShouldAssertException : label (null) +[xUnit.net 00:00:01.36] should not be null or white space +[xUnit.net 00:00:01.36] +[xUnit.net 00:00:01.36] Additional Info: +[xUnit.net 00:00:01.36] S7DeviceForm: <input placeholder="192.168.0.1" name="_model.Host" class="form-control form-control-sm mono valid" value="127.0.0.1" blazor:onchange="1" blazor:elementreference="b23d3feb-bb95-4f23-a74a-5d94027deae9"> +[xUnit.net 00:00:01.36] Stack Trace: +[xUnit.net 00:00:01.36] /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/ProtocolFormAccessibilityTests.cs(100,0): at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Type type) +[xUnit.net 00:00:01.36] at InvokeStub_ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Object, Span`1) +[xUnit.net 00:00:01.36] at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +[xUnit.net 00:00:01.37] Shouldly.ShouldAssertException : label (null) +[xUnit.net 00:00:01.37] should not be null or white space +[xUnit.net 00:00:01.37] +[xUnit.net 00:00:01.37] Additional Info: +[xUnit.net 00:00:01.37] FocasDeviceForm: <input placeholder="192.168.0.10:8193" name="_model.HostAddress" class="form-control form-control-sm mono valid" value="" blazor:onchange="1" blazor:elementreference="2569c791-6994-43b8-94f3-e191788a4d2d"> +[xUnit.net 00:00:01.37] Stack Trace: +[xUnit.net 00:00:01.37] /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/ProtocolFormAccessibilityTests.cs(100,0): at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Type type) +[xUnit.net 00:00:01.37] at InvokeStub_ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Object, Span`1) +[xUnit.net 00:00:01.37] at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +[xUnit.net 00:00:01.37] Shouldly.ShouldAssertException : label (null) +[xUnit.net 00:00:01.37] should not be null or white space +[xUnit.net 00:00:01.37] +[xUnit.net 00:00:01.37] Additional Info: +[xUnit.net 00:00:01.37] ModbusDeviceForm: <input placeholder="127.0.0.1" name="_model.Host" class="form-control form-control-sm mono valid" value="127.0.0.1" blazor:onchange="1" blazor:elementreference="ac6b6ae2-62c0-4054-91f7-90ea61fa7fc6"> +[xUnit.net 00:00:01.37] Stack Trace: +[xUnit.net 00:00:01.37] /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/ProtocolFormAccessibilityTests.cs(100,0): at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Type type) +[xUnit.net 00:00:01.37] at InvokeStub_ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Object, Span`1) +[xUnit.net 00:00:01.37] at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +[xUnit.net 00:00:01.39] Finished: ZB.MOM.WW.OtOpcUa.AdminUI.Tests + + + + + [xUnit.net 00:00:01.33] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.DeviceForms.TwinCATDeviceForm)) [FAIL] + + + [xUnit.net 00:00:01.34] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.DeviceForms.AbLegacyDeviceForm)) [FAIL] + + + [xUnit.net 00:00:01.35] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.DeviceForms.HeidenhainDeviceForm)) [FAIL] + + + [xUnit.net 00:00:01.36] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.DeviceForms.OpcUaClientDeviceForm)) [FAIL] + + + [xUnit.net 00:00:01.36] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.DeviceForms.AbCipDeviceForm)) [FAIL] + + + [xUnit.net 00:00:01.36] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.DeviceForms.S7DeviceForm)) [FAIL] + + + [xUnit.net 00:00:01.37] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.DeviceForms.FocasDeviceForm)) [FAIL] + + + [xUnit.net 00:00:01.37] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.DeviceForms.ModbusDeviceForm)) [FAIL] + + + + \ No newline at end of file diff --git a/docs/ui-consistency/ot13-root-fields/device-forms/green.log b/docs/ui-consistency/ot13-root-fields/device-forms/green.log new file mode 100644 index 000000000..aa97b3bbe --- /dev/null +++ b/docs/ui-consistency/ot13-root-fields/device-forms/green.log @@ -0,0 +1,55 @@ + + Determining projects to restore... + All projects are up-to-date for restore. + ZB.MOM.WW.OtOpcUa.Analyzers -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Analyzers/debug/ZB.MOM.WW.OtOpcUa.Analyzers.dll + ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport/debug/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.dll + ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /tmp/ot13-device-fields-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/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/debug/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /tmp/ot13-device-fields-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/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/debug/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll + ZB.MOM.WW.OtOpcUa.Commons -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Commons/debug/ZB.MOM.WW.OtOpcUa.Commons.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll + ZB.MOM.WW.OtOpcUa.Cluster -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Cluster/debug/ZB.MOM.WW.OtOpcUa.Cluster.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /tmp/ot13-device-fields-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/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll + ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/debug/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll + ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/debug/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll + ZB.MOM.WW.OtOpcUa.Configuration -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Configuration/debug/ZB.MOM.WW.OtOpcUa.Configuration.dll + ZB.MOM.WW.OtOpcUa.Core -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core/debug/ZB.MOM.WW.OtOpcUa.Core.dll + ZB.MOM.WW.OtOpcUa.Security -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Security/debug/ZB.MOM.WW.OtOpcUa.Security.dll + ZB.MOM.WW.OtOpcUa.ControlPlane -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.ControlPlane/debug/ZB.MOM.WW.OtOpcUa.ControlPlane.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/debug/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbCip/debug/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/debug/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/debug/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll + ZB.MOM.WW.OtOpcUa.OpcUaServer -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.OpcUaServer/debug/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/debug/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll + ZB.MOM.WW.OtOpcUa.Runtime -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Runtime/debug/ZB.MOM.WW.OtOpcUa.Runtime.dll + ZB.MOM.WW.OtOpcUa.AdminUI -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.AdminUI/debug/ZB.MOM.WW.OtOpcUa.AdminUI.dll + ZB.MOM.WW.OtOpcUa.AdminUI.Tests -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/debug/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll +Test run for /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/debug/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (.NETCoreApp,Version=v10.0) +A total of 1 test files matched the specified pattern. +Results File: /Users/dohertj2/Desktop/OtOpcUa/docs/ui-consistency/ot13-root-fields/device-forms/device-fields-green.trx + +Passed! - Failed: 0, Passed: 20, Skipped: 0, Total: 20, Duration: 210 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0) diff --git a/docs/ui-consistency/ot13-root-fields/device-forms/heidenhain-1440.png b/docs/ui-consistency/ot13-root-fields/device-forms/heidenhain-1440.png new file mode 100644 index 000000000..7ea149da2 Binary files /dev/null and b/docs/ui-consistency/ot13-root-fields/device-forms/heidenhain-1440.png differ diff --git a/docs/ui-consistency/ot13-root-fields/device-forms/heidenhain-390.png b/docs/ui-consistency/ot13-root-fields/device-forms/heidenhain-390.png new file mode 100644 index 000000000..1e0fb36ca Binary files /dev/null and b/docs/ui-consistency/ot13-root-fields/device-forms/heidenhain-390.png differ diff --git a/docs/ui-consistency/ot13-root-fields/device-forms/modbus-parser-1440.png b/docs/ui-consistency/ot13-root-fields/device-forms/modbus-parser-1440.png new file mode 100644 index 000000000..5f0b509cc Binary files /dev/null and b/docs/ui-consistency/ot13-root-fields/device-forms/modbus-parser-1440.png differ diff --git a/docs/ui-consistency/ot13-root-fields/device-forms/modbus-parser-390.png b/docs/ui-consistency/ot13-root-fields/device-forms/modbus-parser-390.png new file mode 100644 index 000000000..d1799340d Binary files /dev/null and b/docs/ui-consistency/ot13-root-fields/device-forms/modbus-parser-390.png differ diff --git a/docs/ui-consistency/ot13-root-fields/device-forms/protocol-boundaries.json b/docs/ui-consistency/ot13-root-fields/device-forms/protocol-boundaries.json new file mode 100644 index 000000000..2de06707e --- /dev/null +++ b/docs/ui-consistency/ot13-root-fields/device-forms/protocol-boundaries.json @@ -0,0 +1,212 @@ +[ + { + "component": "TwinCATDriverForm", + "protocolCSharpUnchanged": true, + "eventAndBindExpressionsUnchanged": true, + "migrated": true + }, + { + "component": "MqttDriverForm", + "protocolCSharpUnchanged": true, + "eventAndBindExpressionsUnchanged": true, + "migrated": true + }, + { + "component": "SqlDriverForm", + "protocolCSharpUnchanged": true, + "eventAndBindExpressionsUnchanged": true, + "migrated": true + }, + { + "component": "GalaxyDriverForm", + "protocolCSharpUnchanged": true, + "eventAndBindExpressionsUnchanged": true, + "migrated": true + }, + { + "component": "ModbusDriverForm", + "protocolCSharpUnchanged": true, + "eventAndBindExpressionsUnchanged": true, + "migrated": true + }, + { + "component": "OpcUaClientDriverForm", + "protocolCSharpUnchanged": true, + "eventAndBindExpressionsUnchanged": true, + "migrated": true + }, + { + "component": "MTConnectDriverForm", + "protocolCSharpUnchanged": true, + "eventAndBindExpressionsUnchanged": true, + "migrated": true + }, + { + "component": "S7DriverForm", + "protocolCSharpUnchanged": true, + "eventAndBindExpressionsUnchanged": true, + "migrated": true + }, + { + "component": "HeidenhainDriverForm", + "protocolCSharpUnchanged": true, + "eventAndBindExpressionsUnchanged": true, + "migrated": true + }, + { + "component": "FocasDriverForm", + "protocolCSharpUnchanged": true, + "eventAndBindExpressionsUnchanged": true, + "migrated": true + }, + { + "component": "AbLegacyDriverForm", + "protocolCSharpUnchanged": true, + "eventAndBindExpressionsUnchanged": true, + "migrated": true + }, + { + "component": "AbCipDriverForm", + "protocolCSharpUnchanged": true, + "eventAndBindExpressionsUnchanged": true, + "migrated": true + }, + { + "component": "S7DeviceForm", + "protocolCSharpUnchanged": true, + "eventAndBindExpressionsUnchanged": true, + "migrated": true + }, + { + "component": "HeidenhainDeviceForm", + "protocolCSharpUnchanged": true, + "eventAndBindExpressionsUnchanged": true, + "migrated": true + }, + { + "component": "FocasDeviceForm", + "protocolCSharpUnchanged": true, + "eventAndBindExpressionsUnchanged": true, + "migrated": true + }, + { + "component": "AbLegacyDeviceForm", + "protocolCSharpUnchanged": true, + "eventAndBindExpressionsUnchanged": true, + "migrated": true + }, + { + "component": "AbCipDeviceForm", + "protocolCSharpUnchanged": true, + "eventAndBindExpressionsUnchanged": true, + "migrated": true + }, + { + "component": "TwinCATDeviceForm", + "protocolCSharpUnchanged": true, + "eventAndBindExpressionsUnchanged": true, + "migrated": true + }, + { + "component": "MqttDeviceForm", + "protocolCSharpUnchanged": true, + "eventAndBindExpressionsUnchanged": true, + "migrated": false + }, + { + "component": "GalaxyDeviceForm", + "protocolCSharpUnchanged": true, + "eventAndBindExpressionsUnchanged": true, + "migrated": false + }, + { + "component": "OpcUaClientDeviceForm", + "protocolCSharpUnchanged": true, + "eventAndBindExpressionsUnchanged": true, + "migrated": true + }, + { + "component": "ModbusDeviceForm", + "protocolCSharpUnchanged": true, + "eventAndBindExpressionsUnchanged": true, + "migrated": true + }, + { + "component": "CalculationTagConfigEditor", + "protocolCSharpUnchanged": true, + "eventAndBindExpressionsUnchanged": true, + "migrated": false + }, + { + "component": "FocasTagConfigEditor", + "protocolCSharpUnchanged": true, + "eventAndBindExpressionsUnchanged": true, + "migrated": true + }, + { + "component": "OpcUaClientTagConfigEditor", + "protocolCSharpUnchanged": true, + "eventAndBindExpressionsUnchanged": true, + "migrated": false + }, + { + "component": "AbLegacyTagConfigEditor", + "protocolCSharpUnchanged": true, + "eventAndBindExpressionsUnchanged": true, + "migrated": true + }, + { + "component": "MTConnectTagConfigEditor", + "protocolCSharpUnchanged": true, + "eventAndBindExpressionsUnchanged": true, + "migrated": false + }, + { + "component": "ModbusTagConfigEditor", + "protocolCSharpUnchanged": true, + "eventAndBindExpressionsUnchanged": true, + "migrated": false + }, + { + "component": "TwinCATTagConfigEditor", + "protocolCSharpUnchanged": true, + "eventAndBindExpressionsUnchanged": true, + "migrated": false + }, + { + "component": "HeidenhainTagConfigEditor", + "protocolCSharpUnchanged": true, + "eventAndBindExpressionsUnchanged": true, + "migrated": false + }, + { + "component": "AbCipTagConfigEditor", + "protocolCSharpUnchanged": true, + "eventAndBindExpressionsUnchanged": true, + "migrated": true + }, + { + "component": "NativeAlarmEditor", + "protocolCSharpUnchanged": true, + "eventAndBindExpressionsUnchanged": true, + "migrated": false + }, + { + "component": "SqlTagConfigEditor", + "protocolCSharpUnchanged": true, + "eventAndBindExpressionsUnchanged": true, + "migrated": false + }, + { + "component": "MqttTagConfigEditor", + "protocolCSharpUnchanged": true, + "eventAndBindExpressionsUnchanged": true, + "migrated": false + }, + { + "component": "S7TagConfigEditor", + "protocolCSharpUnchanged": true, + "eventAndBindExpressionsUnchanged": true, + "migrated": false + } +] diff --git a/docs/ui-consistency/ot13-root-fields/device-forms/red.log b/docs/ui-consistency/ot13-root-fields/device-forms/red.log index 6214eef4a..9f4d645e6 100644 --- a/docs/ui-consistency/ot13-root-fields/device-forms/red.log +++ b/docs/ui-consistency/ot13-root-fields/device-forms/red.log @@ -47,3 +47,154 @@ Restored /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/ZB.MOM.WW.OtOpcUa.AdminUI.csproj (in 84 ms). Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip/ZB.MOM.WW.OtOpcUa.Driver.AbCip.csproj (in 9 ms). Restored /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.csproj (in 321 ms). + ZB.MOM.WW.OtOpcUa.Analyzers -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Analyzers/debug/ZB.MOM.WW.OtOpcUa.Analyzers.dll + ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport/debug/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.dll + ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/debug/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/debug/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll + ZB.MOM.WW.OtOpcUa.Commons -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Commons/debug/ZB.MOM.WW.OtOpcUa.Commons.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll + ZB.MOM.WW.OtOpcUa.Cluster -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Cluster/debug/ZB.MOM.WW.OtOpcUa.Cluster.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll + ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/debug/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll + ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/debug/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll + ZB.MOM.WW.OtOpcUa.Configuration -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Configuration/debug/ZB.MOM.WW.OtOpcUa.Configuration.dll + ZB.MOM.WW.OtOpcUa.Core -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core/debug/ZB.MOM.WW.OtOpcUa.Core.dll + ZB.MOM.WW.OtOpcUa.Security -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Security/debug/ZB.MOM.WW.OtOpcUa.Security.dll + ZB.MOM.WW.OtOpcUa.ControlPlane -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.ControlPlane/debug/ZB.MOM.WW.OtOpcUa.ControlPlane.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/debug/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/debug/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/debug/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbCip/debug/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll + ZB.MOM.WW.OtOpcUa.OpcUaServer -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.OpcUaServer/debug/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/debug/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll + ZB.MOM.WW.OtOpcUa.Runtime -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.Runtime/debug/ZB.MOM.WW.OtOpcUa.Runtime.dll + ZB.MOM.WW.OtOpcUa.AdminUI -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.AdminUI/debug/ZB.MOM.WW.OtOpcUa.AdminUI.dll + ZB.MOM.WW.OtOpcUa.AdminUI.Tests -> /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/debug/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll +Test run for /tmp/ot13-device-fields-artifacts/bin/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/debug/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (.NETCoreApp,Version=v10.0) +A total of 1 test files matched the specified pattern. +[xUnit.net 00:00:01.33] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.DeviceForms.TwinCATDeviceForm)) [FAIL] +[xUnit.net 00:00:01.34] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.DeviceForms.AbLegacyDeviceForm)) [FAIL] +[xUnit.net 00:00:01.35] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.DeviceForms.HeidenhainDeviceForm)) [FAIL] +[xUnit.net 00:00:01.36] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.DeviceForms.OpcUaClientDeviceForm)) [FAIL] +[xUnit.net 00:00:01.36] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.DeviceForms.AbCipDeviceForm)) [FAIL] +[xUnit.net 00:00:01.36] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.DeviceForms.S7DeviceForm)) [FAIL] +[xUnit.net 00:00:01.37] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.DeviceForms.FocasDeviceForm)) [FAIL] +[xUnit.net 00:00:01.37] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.DeviceForms.ModbusDeviceForm)) [FAIL] + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.DeviceForms.TwinCATDeviceForm)) [189 ms] + Error Message: + Shouldly.ShouldAssertException : label (null) + should not be null or white space + +Additional Info: + TwinCATDeviceForm: + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Type type) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/ProtocolFormAccessibilityTests.cs:line 100 + at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) + at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr) + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.DeviceForms.AbLegacyDeviceForm)) [8 ms] + Error Message: + Shouldly.ShouldAssertException : label (null) + should not be null or white space + +Additional Info: + AbLegacyDeviceForm: + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Type type) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/ProtocolFormAccessibilityTests.cs:line 100 + at InvokeStub_ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Object, Span`1) + at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.DeviceForms.HeidenhainDeviceForm)) [7 ms] + Error Message: + Shouldly.ShouldAssertException : ids.Distinct(StringComparer.Ordinal).Count() + should be +10 + but was +5 + +Additional Info: + HeidenhainDeviceForm repeated IDs + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Type type) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/ProtocolFormAccessibilityTests.cs:line 91 + at InvokeStub_ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Object, Span`1) + at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.DeviceForms.OpcUaClientDeviceForm)) [1 ms] + Error Message: + Shouldly.ShouldAssertException : label (null) + should not be null or white space + +Additional Info: + OpcUaClientDeviceForm: + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Type type) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/ProtocolFormAccessibilityTests.cs:line 100 + at InvokeStub_ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Object, Span`1) + at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.DeviceForms.AbCipDeviceForm)) [3 ms] + Error Message: + Shouldly.ShouldAssertException : label (null) + should not be null or white space + +Additional Info: + AbCipDeviceForm: + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Type type) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/ProtocolFormAccessibilityTests.cs:line 100 + at InvokeStub_ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Object, Span`1) + at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.DeviceForms.S7DeviceForm)) [2 ms] + Error Message: + Shouldly.ShouldAssertException : label (null) + should not be null or white space + +Additional Info: + S7DeviceForm: + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Type type) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/ProtocolFormAccessibilityTests.cs:line 100 + at InvokeStub_ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Object, Span`1) + at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.DeviceForms.FocasDeviceForm)) [3 ms] + Error Message: + Shouldly.ShouldAssertException : label (null) + should not be null or white space + +Additional Info: + FocasDeviceForm: + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Type type) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/ProtocolFormAccessibilityTests.cs:line 100 + at InvokeStub_ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Object, Span`1) + at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.DeviceForms.ModbusDeviceForm)) [2 ms] + Error Message: + Shouldly.ShouldAssertException : label (null) + should not be null or white space + +Additional Info: + ModbusDeviceForm: + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Type type) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/ProtocolFormAccessibilityTests.cs:line 100 + at InvokeStub_ProtocolFormAccessibilityTests.ProtocolFields_TwoInstancesHaveUniqueNamesAndResolvedDescriptions(Object, Span`1) + at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +Results File: /Users/dohertj2/Desktop/OtOpcUa/docs/ui-consistency/ot13-root-fields/device-forms/device-fields-red.trx + +Failed! - Failed: 8, Passed: 12, Skipped: 0, Total: 20, Duration: 245 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0) diff --git a/docs/ui-consistency/ot13-root-fields/device-forms/summary.json b/docs/ui-consistency/ot13-root-fields/device-forms/summary.json new file mode 100644 index 000000000..2066504f7 --- /dev/null +++ b/docs/ui-consistency/ot13-root-fields/device-forms/summary.json @@ -0,0 +1,51 @@ +{ + "tests": { + "device-fields-green.trx": { + "total": 20, + "passed": 20, + "failed": 0, + "notExecuted": 0 + }, + "device-fields-red.trx": { + "total": 20, + "passed": 12, + "failed": 8, + "notExecuted": 0 + }, + "device-contracts.trx": { + "total": 112, + "passed": 112, + "failed": 0, + "notExecuted": 0 + } + }, + "sourceInventory": { + "surfaces": 10, + "editable": 8, + "informationalUnchanged": [ + "GalaxyDeviceForm", + "MqttDeviceForm" + ], + "singleInstanceControls": 20, + "numericFields": 6 + }, + "browser": { + "viewports": [ + 1440, + 390 + ], + "actualControlsEach": 40, + "twoInstancesEach": true, + "labelFocusChecks": 16, + "parserFailureCallbackUnchanged": true, + "backendOperations": 0, + "pageErrors": [] + }, + "hostCleanup": { + "ownedProcessStopped": true, + "loopbackClosed": true, + "sourceFixtureReusable": true, + "noBackendOrCredentialConfigurationCreated": true + }, + "firstBrowserObservation": "First click reached SSR before interactive circuit; explicit OnAfterRender readiness marker added to fixture, no production source change." +} diff --git a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/AbCipDeviceForm.razor b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/AbCipDeviceForm.razor index 951b2a0a8..ebd2a0d1b 100644 --- a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/AbCipDeviceForm.razor +++ b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/AbCipDeviceForm.razor @@ -8,12 +8,12 @@
- - + +
- - + + @foreach (var e in Enum.GetValues()) { @@ -25,6 +25,9 @@ @code { + private readonly string _fieldScope = "ab-cip-device-form-" + Guid.NewGuid().ToString("N"); + private string FieldId(string name) => $"{_fieldScope}-{name}"; + /// The device's DeviceConfig JSON (endpoint/connection keys). [Parameter] public string DeviceConfigJson { get; set; } = "{}"; /// Fired (PascalCase HostAddress/PlcFamily) whenever the endpoint changes — enables @bind-DeviceConfigJson. diff --git a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/AbLegacyDeviceForm.razor b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/AbLegacyDeviceForm.razor index cf85ebdc4..f5d4bb2ef 100644 --- a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/AbLegacyDeviceForm.razor +++ b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/AbLegacyDeviceForm.razor @@ -8,12 +8,12 @@
- - + +
- - + + @foreach (var e in Enum.GetValues()) { @@ -25,6 +25,9 @@ @code { + private readonly string _fieldScope = "ab-legacy-device-form-" + Guid.NewGuid().ToString("N"); + private string FieldId(string name) => $"{_fieldScope}-{name}"; + /// The device's DeviceConfig JSON (endpoint/connection keys). [Parameter] public string DeviceConfigJson { get; set; } = "{}"; /// Fired (PascalCase HostAddress/PlcFamily) whenever the endpoint changes — enables @bind-DeviceConfigJson. diff --git a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/FocasDeviceForm.razor b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/FocasDeviceForm.razor index 67656d7d0..aef63f985 100644 --- a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/FocasDeviceForm.razor +++ b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/FocasDeviceForm.razor @@ -8,12 +8,12 @@
- - + +
- - + + @foreach (var e in Enum.GetValues()) { @@ -25,6 +25,9 @@ @code { + private readonly string _fieldScope = "focas-device-form-" + Guid.NewGuid().ToString("N"); + private string FieldId(string name) => $"{_fieldScope}-{name}"; + /// The device's DeviceConfig JSON (endpoint/connection keys). [Parameter] public string DeviceConfigJson { get; set; } = "{}"; /// Fired (PascalCase HostAddress/Series) whenever the endpoint changes — enables @bind-DeviceConfigJson. diff --git a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/HeidenhainDeviceForm.razor b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/HeidenhainDeviceForm.razor index aa0643451..0d0ffb6df 100644 --- a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/HeidenhainDeviceForm.razor +++ b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/HeidenhainDeviceForm.razor @@ -8,14 +8,15 @@
- - -
Control hostname or IP. No default endpoint. Plain LSV2 is unencrypted — route it over an externally managed secure network.
+ + +
Control hostname or IP. No default endpoint. Plain LSV2 is unencrypted — route it over an externally managed secure network.
- - -
Default 19000.
+ + +
@if (_fieldEditContext is not null) { }
+
Default 19000.
@@ -26,27 +27,34 @@
- - + +
- - + +
- - + +
-
Blank = use the driver-level reference. secret:heidenhain/<name> resolves from the node's secret store, env:OTOPCUA_HEIDENHAIN_<NAME> from the environment, at each login. A literal password is never stored.
+
Blank = use the driver-level reference. secret:heidenhain/<name> resolves from the node's secret store, env:OTOPCUA_HEIDENHAIN_<NAME> from the environment, at each login. A literal password is never stored.
+
@if (_model.Validate() is { } error) {
@error
} +
@code { + private readonly string _fieldScope = "heidenhain-device-form-" + Guid.NewGuid().ToString("N"); + private string FieldIds(params string[] names) => string.Join(" ", names.Select(FieldId)); + private string FieldId(string name) => $"{_fieldScope}-{name}"; + [CascadingParameter] private Microsoft.AspNetCore.Components.Forms.EditContext? _fieldEditContext { get; set; } + /// The device's DeviceConfig JSON. [Parameter] public string DeviceConfigJson { get; set; } = "{}"; /// Fired whenever the endpoint changes — enables @bind-DeviceConfigJson. diff --git a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/ModbusDeviceForm.razor b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/ModbusDeviceForm.razor index adc93356c..cf2611eef 100644 --- a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/ModbusDeviceForm.razor +++ b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/ModbusDeviceForm.razor @@ -7,22 +7,28 @@
- - + +
- - + + +
@if (_fieldEditContext is not null) { }
- - + + +
@if (_fieldEditContext is not null) { }
@code { + private readonly string _fieldScope = "modbus-device-form-" + Guid.NewGuid().ToString("N"); + private string FieldId(string name) => $"{_fieldScope}-{name}"; + [CascadingParameter] private Microsoft.AspNetCore.Components.Forms.EditContext? _fieldEditContext { get; set; } + /// The device's DeviceConfig JSON (endpoint/connection keys). [Parameter] public string DeviceConfigJson { get; set; } = "{}"; /// Fired (PascalCase Host/Port/UnitId) whenever the endpoint changes — enables @bind-DeviceConfigJson. diff --git a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/OpcUaClientDeviceForm.razor b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/OpcUaClientDeviceForm.razor index 61d987c9e..d27bb8794 100644 --- a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/OpcUaClientDeviceForm.razor +++ b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/OpcUaClientDeviceForm.razor @@ -7,15 +7,19 @@
- - -
The upstream server. Used only when the driver's EndpointUrls failover list is empty.
+ + +
The upstream server. Used only when the driver's EndpointUrls failover list is empty.
@code { + private readonly string _fieldScope = "opc-ua-client-device-form-" + Guid.NewGuid().ToString("N"); + private string FieldIds(params string[] names) => string.Join(" ", names.Select(FieldId)); + private string FieldId(string name) => $"{_fieldScope}-{name}"; + /// The device's DeviceConfig JSON (endpoint/connection keys). [Parameter] public string DeviceConfigJson { get; set; } = "{}"; /// Fired (PascalCase EndpointUrl) whenever the endpoint changes — enables @bind-DeviceConfigJson. diff --git a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/S7DeviceForm.razor b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/S7DeviceForm.razor index 8e20305d9..b4f8b924d 100644 --- a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/S7DeviceForm.razor +++ b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/S7DeviceForm.razor @@ -7,26 +7,33 @@
- - + +
- - + + +
@if (_fieldEditContext is not null) { }
- - + + +
@if (_fieldEditContext is not null) { }
- - + + +
@if (_fieldEditContext is not null) { }
@code { + private readonly string _fieldScope = "s7-device-form-" + Guid.NewGuid().ToString("N"); + private string FieldId(string name) => $"{_fieldScope}-{name}"; + [CascadingParameter] private Microsoft.AspNetCore.Components.Forms.EditContext? _fieldEditContext { get; set; } + /// The device's DeviceConfig JSON (endpoint/connection keys). [Parameter] public string DeviceConfigJson { get; set; } = "{}"; /// Fired (PascalCase Host/Port/Rack/Slot) whenever the endpoint changes — enables @bind-DeviceConfigJson. diff --git a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/TwinCATDeviceForm.razor b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/TwinCATDeviceForm.razor index f23e31d91..d062c99c8 100644 --- a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/TwinCATDeviceForm.razor +++ b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/TwinCATDeviceForm.razor @@ -7,14 +7,17 @@
- - + +
@code { + private readonly string _fieldScope = "twin-c-a-t-device-form-" + Guid.NewGuid().ToString("N"); + private string FieldId(string name) => $"{_fieldScope}-{name}"; + /// The device's DeviceConfig JSON (endpoint/connection keys). [Parameter] public string DeviceConfigJson { get; set; } = "{}"; /// Fired (PascalCase HostAddress) whenever the endpoint changes — enables @bind-DeviceConfigJson.