diff --git a/docs/ui-consistency/evidence/ot13-simple-modals/browser-before-pending-cancel.json b/docs/ui-consistency/evidence/ot13-simple-modals/browser-before-pending-cancel.json new file mode 100644 index 000000000..e41bab3ea --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-simple-modals/browser-before-pending-cancel.json @@ -0,0 +1,896 @@ +{ + "origin": "http://127.0.0.1:58846", + "scenes": [ + { + "mode": "desktop", + "kind": "name", + "zoom": 1, + "geometry": { + "innerWidth": 1440, + "scrollWidth": 1440, + "dpr": 1 + }, + "checks": [ + { + "name": "Dialog has resolved accessible name", + "passed": true + }, + { + "name": "Outside focus denied", + "passed": true + }, + { + "name": "Ten Tab steps remain scoped", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Name", + "passed": true + }, + { + "name": "Idle Escape returns to trigger", + "passed": true + }, + { + "name": "Invalid submit dispatched nothing", + "passed": true + }, + { + "name": "Busy fieldset disables body controls", + "passed": true + }, + { + "name": "Busy Escape preserves dispatched action", + "passed": true + }, + { + "name": "Exactly one synthetic callback, then focus return", + "passed": true + }, + { + "name": "No horizontal overflow", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + }, + { + "mode": "desktop", + "kind": "driver", + "zoom": 1, + "geometry": { + "innerWidth": 1440, + "scrollWidth": 1440, + "dpr": 1 + }, + "checks": [ + { + "name": "Dialog has resolved accessible name", + "passed": true + }, + { + "name": "Outside focus denied", + "passed": true + }, + { + "name": "Ten Tab steps remain scoped", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Driver type", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Name", + "passed": true + }, + { + "name": "Idle Escape returns to trigger", + "passed": true + }, + { + "name": "Invalid submit dispatched nothing", + "passed": true + }, + { + "name": "Busy fieldset disables body controls", + "passed": true + }, + { + "name": "Busy Escape preserves dispatched action", + "passed": true + }, + { + "name": "Exactly one synthetic callback, then focus return", + "passed": true + }, + { + "name": "No horizontal overflow", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + }, + { + "mode": "desktop", + "kind": "message", + "zoom": 1, + "geometry": { + "innerWidth": 1440, + "scrollWidth": 1440, + "dpr": 1 + }, + "checks": [ + { + "name": "Dialog has resolved accessible name", + "passed": true + }, + { + "name": "Outside focus denied", + "passed": true + }, + { + "name": "Ten Tab steps remain scoped", + "passed": true + }, + { + "name": "Idle Escape returns to trigger", + "passed": true + }, + { + "name": "Message Close invokes no synthetic operation", + "passed": true + }, + { + "name": "No horizontal overflow", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + }, + { + "mode": "desktop", + "kind": "area", + "zoom": 1, + "geometry": { + "innerWidth": 1440, + "scrollWidth": 1440, + "dpr": 1 + }, + "checks": [ + { + "name": "Dialog has resolved accessible name", + "passed": true + }, + { + "name": "Outside focus denied", + "passed": true + }, + { + "name": "Ten Tab steps remain scoped", + "passed": true + }, + { + "name": "Label focus and descriptions resolve UnsAreaId", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Name", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Served by cluster", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Notes", + "passed": true + }, + { + "name": "Idle Escape returns to trigger", + "passed": true + }, + { + "name": "Invalid submit dispatched nothing", + "passed": true + }, + { + "name": "Busy fieldset disables body controls", + "passed": true + }, + { + "name": "Busy Escape preserves dispatched action", + "passed": true + }, + { + "name": "Exactly one synthetic callback, then focus return", + "passed": true + }, + { + "name": "No horizontal overflow", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + }, + { + "mode": "desktop", + "kind": "line", + "zoom": 1, + "geometry": { + "innerWidth": 1440, + "scrollWidth": 1440, + "dpr": 1 + }, + "checks": [ + { + "name": "Dialog has resolved accessible name", + "passed": true + }, + { + "name": "Outside focus denied", + "passed": true + }, + { + "name": "Ten Tab steps remain scoped", + "passed": true + }, + { + "name": "Label focus and descriptions resolve UnsLineId", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Parent area", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Name", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Notes", + "passed": true + }, + { + "name": "Idle Escape returns to trigger", + "passed": true + }, + { + "name": "Invalid submit dispatched nothing", + "passed": true + }, + { + "name": "Busy fieldset disables body controls", + "passed": true + }, + { + "name": "Busy Escape preserves dispatched action", + "passed": true + }, + { + "name": "Exactly one synthetic callback, then focus return", + "passed": true + }, + { + "name": "No horizontal overflow", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + }, + { + "mode": "phone", + "kind": "name", + "zoom": 1, + "geometry": { + "innerWidth": 390, + "scrollWidth": 390, + "dpr": 1 + }, + "checks": [ + { + "name": "Dialog has resolved accessible name", + "passed": true + }, + { + "name": "Outside focus denied", + "passed": true + }, + { + "name": "Ten Tab steps remain scoped", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Name", + "passed": true + }, + { + "name": "Idle Escape returns to trigger", + "passed": true + }, + { + "name": "Invalid submit dispatched nothing", + "passed": true + }, + { + "name": "Busy fieldset disables body controls", + "passed": true + }, + { + "name": "Busy Escape preserves dispatched action", + "passed": true + }, + { + "name": "Exactly one synthetic callback, then focus return", + "passed": true + }, + { + "name": "No horizontal overflow", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + }, + { + "mode": "phone", + "kind": "driver", + "zoom": 1, + "geometry": { + "innerWidth": 390, + "scrollWidth": 390, + "dpr": 1 + }, + "checks": [ + { + "name": "Dialog has resolved accessible name", + "passed": true + }, + { + "name": "Outside focus denied", + "passed": true + }, + { + "name": "Ten Tab steps remain scoped", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Driver type", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Name", + "passed": true + }, + { + "name": "Idle Escape returns to trigger", + "passed": true + }, + { + "name": "Invalid submit dispatched nothing", + "passed": true + }, + { + "name": "Busy fieldset disables body controls", + "passed": true + }, + { + "name": "Busy Escape preserves dispatched action", + "passed": true + }, + { + "name": "Exactly one synthetic callback, then focus return", + "passed": true + }, + { + "name": "No horizontal overflow", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + }, + { + "mode": "phone", + "kind": "message", + "zoom": 1, + "geometry": { + "innerWidth": 390, + "scrollWidth": 390, + "dpr": 1 + }, + "checks": [ + { + "name": "Dialog has resolved accessible name", + "passed": true + }, + { + "name": "Outside focus denied", + "passed": true + }, + { + "name": "Ten Tab steps remain scoped", + "passed": true + }, + { + "name": "Idle Escape returns to trigger", + "passed": true + }, + { + "name": "Message Close invokes no synthetic operation", + "passed": true + }, + { + "name": "No horizontal overflow", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + }, + { + "mode": "phone", + "kind": "area", + "zoom": 1, + "geometry": { + "innerWidth": 390, + "scrollWidth": 390, + "dpr": 1 + }, + "checks": [ + { + "name": "Dialog has resolved accessible name", + "passed": true + }, + { + "name": "Outside focus denied", + "passed": true + }, + { + "name": "Ten Tab steps remain scoped", + "passed": true + }, + { + "name": "Label focus and descriptions resolve UnsAreaId", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Name", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Served by cluster", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Notes", + "passed": true + }, + { + "name": "Idle Escape returns to trigger", + "passed": true + }, + { + "name": "Invalid submit dispatched nothing", + "passed": true + }, + { + "name": "Busy fieldset disables body controls", + "passed": true + }, + { + "name": "Busy Escape preserves dispatched action", + "passed": true + }, + { + "name": "Exactly one synthetic callback, then focus return", + "passed": true + }, + { + "name": "No horizontal overflow", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + }, + { + "mode": "phone", + "kind": "line", + "zoom": 1, + "geometry": { + "innerWidth": 390, + "scrollWidth": 390, + "dpr": 1 + }, + "checks": [ + { + "name": "Dialog has resolved accessible name", + "passed": true + }, + { + "name": "Outside focus denied", + "passed": true + }, + { + "name": "Ten Tab steps remain scoped", + "passed": true + }, + { + "name": "Label focus and descriptions resolve UnsLineId", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Parent area", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Name", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Notes", + "passed": true + }, + { + "name": "Idle Escape returns to trigger", + "passed": true + }, + { + "name": "Invalid submit dispatched nothing", + "passed": true + }, + { + "name": "Busy fieldset disables body controls", + "passed": true + }, + { + "name": "Busy Escape preserves dispatched action", + "passed": true + }, + { + "name": "Exactly one synthetic callback, then focus return", + "passed": true + }, + { + "name": "No horizontal overflow", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + }, + { + "mode": "real200", + "kind": "name", + "zoom": 2, + "geometry": { + "innerWidth": 720, + "scrollWidth": 720, + "dpr": 2 + }, + "checks": [ + { + "name": "Dialog has resolved accessible name", + "passed": true + }, + { + "name": "Outside focus denied", + "passed": true + }, + { + "name": "Ten Tab steps remain scoped", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Name", + "passed": true + }, + { + "name": "Idle Escape returns to trigger", + "passed": true + }, + { + "name": "Invalid submit dispatched nothing", + "passed": true + }, + { + "name": "Busy fieldset disables body controls", + "passed": true + }, + { + "name": "Busy Escape preserves dispatched action", + "passed": true + }, + { + "name": "Exactly one synthetic callback, then focus return", + "passed": true + }, + { + "name": "No horizontal overflow", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + }, + { + "mode": "real200", + "kind": "driver", + "zoom": 2, + "geometry": { + "innerWidth": 720, + "scrollWidth": 720, + "dpr": 2 + }, + "checks": [ + { + "name": "Dialog has resolved accessible name", + "passed": true + }, + { + "name": "Outside focus denied", + "passed": true + }, + { + "name": "Ten Tab steps remain scoped", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Driver type", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Name", + "passed": true + }, + { + "name": "Idle Escape returns to trigger", + "passed": true + }, + { + "name": "Invalid submit dispatched nothing", + "passed": true + }, + { + "name": "Busy fieldset disables body controls", + "passed": true + }, + { + "name": "Busy Escape preserves dispatched action", + "passed": true + }, + { + "name": "Exactly one synthetic callback, then focus return", + "passed": true + }, + { + "name": "No horizontal overflow", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + }, + { + "mode": "real200", + "kind": "message", + "zoom": 2, + "geometry": { + "innerWidth": 720, + "scrollWidth": 720, + "dpr": 2 + }, + "checks": [ + { + "name": "Dialog has resolved accessible name", + "passed": true + }, + { + "name": "Outside focus denied", + "passed": true + }, + { + "name": "Ten Tab steps remain scoped", + "passed": true + }, + { + "name": "Idle Escape returns to trigger", + "passed": true + }, + { + "name": "Message Close invokes no synthetic operation", + "passed": true + }, + { + "name": "No horizontal overflow", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + }, + { + "mode": "real200", + "kind": "area", + "zoom": 2, + "geometry": { + "innerWidth": 720, + "scrollWidth": 720, + "dpr": 2 + }, + "checks": [ + { + "name": "Dialog has resolved accessible name", + "passed": true + }, + { + "name": "Outside focus denied", + "passed": true + }, + { + "name": "Ten Tab steps remain scoped", + "passed": true + }, + { + "name": "Label focus and descriptions resolve UnsAreaId", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Name", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Served by cluster", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Notes", + "passed": true + }, + { + "name": "Idle Escape returns to trigger", + "passed": true + }, + { + "name": "Invalid submit dispatched nothing", + "passed": true + }, + { + "name": "Busy fieldset disables body controls", + "passed": true + }, + { + "name": "Busy Escape preserves dispatched action", + "passed": true + }, + { + "name": "Exactly one synthetic callback, then focus return", + "passed": true + }, + { + "name": "No horizontal overflow", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + }, + { + "mode": "real200", + "kind": "line", + "zoom": 2, + "geometry": { + "innerWidth": 720, + "scrollWidth": 720, + "dpr": 2 + }, + "checks": [ + { + "name": "Dialog has resolved accessible name", + "passed": true + }, + { + "name": "Outside focus denied", + "passed": true + }, + { + "name": "Ten Tab steps remain scoped", + "passed": true + }, + { + "name": "Label focus and descriptions resolve UnsLineId", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Parent area", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Name", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Notes", + "passed": true + }, + { + "name": "Idle Escape returns to trigger", + "passed": true + }, + { + "name": "Invalid submit dispatched nothing", + "passed": true + }, + { + "name": "Busy fieldset disables body controls", + "passed": true + }, + { + "name": "Busy Escape preserves dispatched action", + "passed": true + }, + { + "name": "Exactly one synthetic callback, then focus return", + "passed": true + }, + { + "name": "No horizontal overflow", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + } + ] +} diff --git a/docs/ui-consistency/evidence/ot13-simple-modals/browser-final-target-guard.json b/docs/ui-consistency/evidence/ot13-simple-modals/browser-final-target-guard.json new file mode 100644 index 000000000..9b3cbe7c3 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-simple-modals/browser-final-target-guard.json @@ -0,0 +1,159 @@ +{ + "origin": "http://127.0.0.1:58846", + "scenes": [ + { + "mode": "phone", + "kind": "area", + "zoom": 1, + "geometry": { + "innerWidth": 390, + "scrollWidth": 390, + "dpr": 1 + }, + "checks": [ + { + "name": "Dialog has resolved accessible name", + "passed": true + }, + { + "name": "Outside focus denied", + "passed": true + }, + { + "name": "Ten Tab steps remain scoped", + "passed": true + }, + { + "name": "Label focus and descriptions resolve UnsAreaId", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Name", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Served by cluster", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Notes", + "passed": true + }, + { + "name": "Pending cancel cannot dismiss twice", + "passed": true + }, + { + "name": "One delayed cancel callback", + "passed": true + }, + { + "name": "Idle cancel returns to trigger", + "passed": true + }, + { + "name": "Invalid submit dispatched nothing", + "passed": true + }, + { + "name": "Busy fieldset disables body controls", + "passed": true + }, + { + "name": "Busy Escape preserves dispatched action", + "passed": true + }, + { + "name": "Exactly one synthetic callback, then focus return", + "passed": true + }, + { + "name": "No horizontal overflow", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + }, + { + "mode": "phone", + "kind": "line", + "zoom": 1, + "geometry": { + "innerWidth": 390, + "scrollWidth": 390, + "dpr": 1 + }, + "checks": [ + { + "name": "Dialog has resolved accessible name", + "passed": true + }, + { + "name": "Outside focus denied", + "passed": true + }, + { + "name": "Ten Tab steps remain scoped", + "passed": true + }, + { + "name": "Label focus and descriptions resolve UnsLineId", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Parent area", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Name", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Notes", + "passed": true + }, + { + "name": "Pending cancel cannot dismiss twice", + "passed": true + }, + { + "name": "One delayed cancel callback", + "passed": true + }, + { + "name": "Idle cancel returns to trigger", + "passed": true + }, + { + "name": "Invalid submit dispatched nothing", + "passed": true + }, + { + "name": "Busy fieldset disables body controls", + "passed": true + }, + { + "name": "Busy Escape preserves dispatched action", + "passed": true + }, + { + "name": "Exactly one synthetic callback, then focus return", + "passed": true + }, + { + "name": "No horizontal overflow", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + } + ] +} diff --git a/docs/ui-consistency/evidence/ot13-simple-modals/browser-results.json b/docs/ui-consistency/evidence/ot13-simple-modals/browser-results.json new file mode 100644 index 000000000..878d1e5ea --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-simple-modals/browser-results.json @@ -0,0 +1,944 @@ +{ + "origin": "http://127.0.0.1:58846", + "scenes": [ + { + "mode": "desktop", + "kind": "name", + "zoom": 1, + "geometry": { + "innerWidth": 1440, + "scrollWidth": 1440, + "dpr": 1 + }, + "checks": [ + { + "name": "Dialog has resolved accessible name", + "passed": true + }, + { + "name": "Outside focus denied", + "passed": true + }, + { + "name": "Ten Tab steps remain scoped", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Name", + "passed": true + }, + { + "name": "Idle cancel returns to trigger", + "passed": true + }, + { + "name": "Invalid submit dispatched nothing", + "passed": true + }, + { + "name": "Busy fieldset disables body controls", + "passed": true + }, + { + "name": "Busy Escape preserves dispatched action", + "passed": true + }, + { + "name": "Exactly one synthetic callback, then focus return", + "passed": true + }, + { + "name": "No horizontal overflow", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + }, + { + "mode": "desktop", + "kind": "driver", + "zoom": 1, + "geometry": { + "innerWidth": 1440, + "scrollWidth": 1440, + "dpr": 1 + }, + "checks": [ + { + "name": "Dialog has resolved accessible name", + "passed": true + }, + { + "name": "Outside focus denied", + "passed": true + }, + { + "name": "Ten Tab steps remain scoped", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Driver type", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Name", + "passed": true + }, + { + "name": "Idle cancel returns to trigger", + "passed": true + }, + { + "name": "Invalid submit dispatched nothing", + "passed": true + }, + { + "name": "Busy fieldset disables body controls", + "passed": true + }, + { + "name": "Busy Escape preserves dispatched action", + "passed": true + }, + { + "name": "Exactly one synthetic callback, then focus return", + "passed": true + }, + { + "name": "No horizontal overflow", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + }, + { + "mode": "desktop", + "kind": "message", + "zoom": 1, + "geometry": { + "innerWidth": 1440, + "scrollWidth": 1440, + "dpr": 1 + }, + "checks": [ + { + "name": "Dialog has resolved accessible name", + "passed": true + }, + { + "name": "Outside focus denied", + "passed": true + }, + { + "name": "Ten Tab steps remain scoped", + "passed": true + }, + { + "name": "Idle cancel returns to trigger", + "passed": true + }, + { + "name": "Message Close invokes no synthetic operation", + "passed": true + }, + { + "name": "No horizontal overflow", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + }, + { + "mode": "desktop", + "kind": "area", + "zoom": 1, + "geometry": { + "innerWidth": 1440, + "scrollWidth": 1440, + "dpr": 1 + }, + "checks": [ + { + "name": "Dialog has resolved accessible name", + "passed": true + }, + { + "name": "Outside focus denied", + "passed": true + }, + { + "name": "Ten Tab steps remain scoped", + "passed": true + }, + { + "name": "Label focus and descriptions resolve UnsAreaId", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Name", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Served by cluster", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Notes", + "passed": true + }, + { + "name": "Pending cancel cannot dismiss twice", + "passed": true + }, + { + "name": "One delayed cancel callback", + "passed": true + }, + { + "name": "Idle cancel returns to trigger", + "passed": true + }, + { + "name": "Invalid submit dispatched nothing", + "passed": true + }, + { + "name": "Busy fieldset disables body controls", + "passed": true + }, + { + "name": "Busy Escape preserves dispatched action", + "passed": true + }, + { + "name": "Exactly one synthetic callback, then focus return", + "passed": true + }, + { + "name": "No horizontal overflow", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + }, + { + "mode": "desktop", + "kind": "line", + "zoom": 1, + "geometry": { + "innerWidth": 1440, + "scrollWidth": 1440, + "dpr": 1 + }, + "checks": [ + { + "name": "Dialog has resolved accessible name", + "passed": true + }, + { + "name": "Outside focus denied", + "passed": true + }, + { + "name": "Ten Tab steps remain scoped", + "passed": true + }, + { + "name": "Label focus and descriptions resolve UnsLineId", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Parent area", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Name", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Notes", + "passed": true + }, + { + "name": "Pending cancel cannot dismiss twice", + "passed": true + }, + { + "name": "One delayed cancel callback", + "passed": true + }, + { + "name": "Idle cancel returns to trigger", + "passed": true + }, + { + "name": "Invalid submit dispatched nothing", + "passed": true + }, + { + "name": "Busy fieldset disables body controls", + "passed": true + }, + { + "name": "Busy Escape preserves dispatched action", + "passed": true + }, + { + "name": "Exactly one synthetic callback, then focus return", + "passed": true + }, + { + "name": "No horizontal overflow", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + }, + { + "mode": "phone", + "kind": "name", + "zoom": 1, + "geometry": { + "innerWidth": 390, + "scrollWidth": 390, + "dpr": 1 + }, + "checks": [ + { + "name": "Dialog has resolved accessible name", + "passed": true + }, + { + "name": "Outside focus denied", + "passed": true + }, + { + "name": "Ten Tab steps remain scoped", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Name", + "passed": true + }, + { + "name": "Idle cancel returns to trigger", + "passed": true + }, + { + "name": "Invalid submit dispatched nothing", + "passed": true + }, + { + "name": "Busy fieldset disables body controls", + "passed": true + }, + { + "name": "Busy Escape preserves dispatched action", + "passed": true + }, + { + "name": "Exactly one synthetic callback, then focus return", + "passed": true + }, + { + "name": "No horizontal overflow", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + }, + { + "mode": "phone", + "kind": "driver", + "zoom": 1, + "geometry": { + "innerWidth": 390, + "scrollWidth": 390, + "dpr": 1 + }, + "checks": [ + { + "name": "Dialog has resolved accessible name", + "passed": true + }, + { + "name": "Outside focus denied", + "passed": true + }, + { + "name": "Ten Tab steps remain scoped", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Driver type", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Name", + "passed": true + }, + { + "name": "Idle cancel returns to trigger", + "passed": true + }, + { + "name": "Invalid submit dispatched nothing", + "passed": true + }, + { + "name": "Busy fieldset disables body controls", + "passed": true + }, + { + "name": "Busy Escape preserves dispatched action", + "passed": true + }, + { + "name": "Exactly one synthetic callback, then focus return", + "passed": true + }, + { + "name": "No horizontal overflow", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + }, + { + "mode": "phone", + "kind": "message", + "zoom": 1, + "geometry": { + "innerWidth": 390, + "scrollWidth": 390, + "dpr": 1 + }, + "checks": [ + { + "name": "Dialog has resolved accessible name", + "passed": true + }, + { + "name": "Outside focus denied", + "passed": true + }, + { + "name": "Ten Tab steps remain scoped", + "passed": true + }, + { + "name": "Idle cancel returns to trigger", + "passed": true + }, + { + "name": "Message Close invokes no synthetic operation", + "passed": true + }, + { + "name": "No horizontal overflow", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + }, + { + "mode": "phone", + "kind": "area", + "zoom": 1, + "geometry": { + "innerWidth": 390, + "scrollWidth": 390, + "dpr": 1 + }, + "checks": [ + { + "name": "Dialog has resolved accessible name", + "passed": true + }, + { + "name": "Outside focus denied", + "passed": true + }, + { + "name": "Ten Tab steps remain scoped", + "passed": true + }, + { + "name": "Label focus and descriptions resolve UnsAreaId", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Name", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Served by cluster", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Notes", + "passed": true + }, + { + "name": "Pending cancel cannot dismiss twice", + "passed": true + }, + { + "name": "One delayed cancel callback", + "passed": true + }, + { + "name": "Idle cancel returns to trigger", + "passed": true + }, + { + "name": "Invalid submit dispatched nothing", + "passed": true + }, + { + "name": "Busy fieldset disables body controls", + "passed": true + }, + { + "name": "Busy Escape preserves dispatched action", + "passed": true + }, + { + "name": "Exactly one synthetic callback, then focus return", + "passed": true + }, + { + "name": "No horizontal overflow", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + }, + { + "mode": "phone", + "kind": "line", + "zoom": 1, + "geometry": { + "innerWidth": 390, + "scrollWidth": 390, + "dpr": 1 + }, + "checks": [ + { + "name": "Dialog has resolved accessible name", + "passed": true + }, + { + "name": "Outside focus denied", + "passed": true + }, + { + "name": "Ten Tab steps remain scoped", + "passed": true + }, + { + "name": "Label focus and descriptions resolve UnsLineId", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Parent area", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Name", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Notes", + "passed": true + }, + { + "name": "Pending cancel cannot dismiss twice", + "passed": true + }, + { + "name": "One delayed cancel callback", + "passed": true + }, + { + "name": "Idle cancel returns to trigger", + "passed": true + }, + { + "name": "Invalid submit dispatched nothing", + "passed": true + }, + { + "name": "Busy fieldset disables body controls", + "passed": true + }, + { + "name": "Busy Escape preserves dispatched action", + "passed": true + }, + { + "name": "Exactly one synthetic callback, then focus return", + "passed": true + }, + { + "name": "No horizontal overflow", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + }, + { + "mode": "real200", + "kind": "name", + "zoom": 2, + "geometry": { + "innerWidth": 720, + "scrollWidth": 720, + "dpr": 2 + }, + "checks": [ + { + "name": "Dialog has resolved accessible name", + "passed": true + }, + { + "name": "Outside focus denied", + "passed": true + }, + { + "name": "Ten Tab steps remain scoped", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Name", + "passed": true + }, + { + "name": "Idle cancel returns to trigger", + "passed": true + }, + { + "name": "Invalid submit dispatched nothing", + "passed": true + }, + { + "name": "Busy fieldset disables body controls", + "passed": true + }, + { + "name": "Busy Escape preserves dispatched action", + "passed": true + }, + { + "name": "Exactly one synthetic callback, then focus return", + "passed": true + }, + { + "name": "No horizontal overflow", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + }, + { + "mode": "real200", + "kind": "driver", + "zoom": 2, + "geometry": { + "innerWidth": 720, + "scrollWidth": 720, + "dpr": 2 + }, + "checks": [ + { + "name": "Dialog has resolved accessible name", + "passed": true + }, + { + "name": "Outside focus denied", + "passed": true + }, + { + "name": "Ten Tab steps remain scoped", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Driver type", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Name", + "passed": true + }, + { + "name": "Idle cancel returns to trigger", + "passed": true + }, + { + "name": "Invalid submit dispatched nothing", + "passed": true + }, + { + "name": "Busy fieldset disables body controls", + "passed": true + }, + { + "name": "Busy Escape preserves dispatched action", + "passed": true + }, + { + "name": "Exactly one synthetic callback, then focus return", + "passed": true + }, + { + "name": "No horizontal overflow", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + }, + { + "mode": "real200", + "kind": "message", + "zoom": 2, + "geometry": { + "innerWidth": 720, + "scrollWidth": 720, + "dpr": 2 + }, + "checks": [ + { + "name": "Dialog has resolved accessible name", + "passed": true + }, + { + "name": "Outside focus denied", + "passed": true + }, + { + "name": "Ten Tab steps remain scoped", + "passed": true + }, + { + "name": "Idle cancel returns to trigger", + "passed": true + }, + { + "name": "Message Close invokes no synthetic operation", + "passed": true + }, + { + "name": "No horizontal overflow", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + }, + { + "mode": "real200", + "kind": "area", + "zoom": 2, + "geometry": { + "innerWidth": 720, + "scrollWidth": 720, + "dpr": 2 + }, + "checks": [ + { + "name": "Dialog has resolved accessible name", + "passed": true + }, + { + "name": "Outside focus denied", + "passed": true + }, + { + "name": "Ten Tab steps remain scoped", + "passed": true + }, + { + "name": "Label focus and descriptions resolve UnsAreaId", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Name", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Served by cluster", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Notes", + "passed": true + }, + { + "name": "Pending cancel cannot dismiss twice", + "passed": true + }, + { + "name": "One delayed cancel callback", + "passed": true + }, + { + "name": "Idle cancel returns to trigger", + "passed": true + }, + { + "name": "Invalid submit dispatched nothing", + "passed": true + }, + { + "name": "Busy fieldset disables body controls", + "passed": true + }, + { + "name": "Busy Escape preserves dispatched action", + "passed": true + }, + { + "name": "Exactly one synthetic callback, then focus return", + "passed": true + }, + { + "name": "No horizontal overflow", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + }, + { + "mode": "real200", + "kind": "line", + "zoom": 2, + "geometry": { + "innerWidth": 720, + "scrollWidth": 720, + "dpr": 2 + }, + "checks": [ + { + "name": "Dialog has resolved accessible name", + "passed": true + }, + { + "name": "Outside focus denied", + "passed": true + }, + { + "name": "Ten Tab steps remain scoped", + "passed": true + }, + { + "name": "Label focus and descriptions resolve UnsLineId", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Parent area", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Name", + "passed": true + }, + { + "name": "Label focus and descriptions resolve Notes", + "passed": true + }, + { + "name": "Pending cancel cannot dismiss twice", + "passed": true + }, + { + "name": "One delayed cancel callback", + "passed": true + }, + { + "name": "Idle cancel returns to trigger", + "passed": true + }, + { + "name": "Invalid submit dispatched nothing", + "passed": true + }, + { + "name": "Busy fieldset disables body controls", + "passed": true + }, + { + "name": "Busy Escape preserves dispatched action", + "passed": true + }, + { + "name": "Exactly one synthetic callback, then focus return", + "passed": true + }, + { + "name": "No horizontal overflow", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + } + ] +} diff --git a/docs/ui-consistency/evidence/ot13-simple-modals/browser.py b/docs/ui-consistency/evidence/ot13-simple-modals/browser.py new file mode 100644 index 000000000..28b1aa74c --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-simple-modals/browser.py @@ -0,0 +1,48 @@ +"""Five real wrappers, synthetic callbacks/providers only; no operational endpoints.""" +import argparse,json,sys +from pathlib import Path +from playwright.sync_api import sync_playwright,expect +sys.path.insert(0,'/Users/dohertj2/Desktop/ignitionoee/docs/ui-validation/router-canary') +from browser_zoom import zoom_browser,set_browser_zoom +parser=argparse.ArgumentParser();parser.add_argument('--final-guard',action='store_true');args=parser.parse_args() +out=Path(__file__).parent;origin='http://127.0.0.1:58846';r={'origin':origin,'scenes':[]} +with sync_playwright() as p: + for mode,width,zoom in ([('phone',390,1)] if args.final_guard else [('desktop',1440,1),('phone',390,1),('real200',1440,2)]): + for kind in (['area','line'] if args.final_guard else ['name','driver','message','area','line']): + with zoom_browser(p,width=width,height=900) as(ctx,worker): + page=ctx.new_page();errors=[];page.on('pageerror',lambda e:errors.append(str(e)));page.set_default_timeout(10000) + assert page.request.get(origin+'/fixture/provenance').json()['backend'].startswith('No DB, driver, gateway') + page.goto(origin+'/?kind='+kind);expect(page.locator('#ready')).to_have_text('ready');factor=set_browser_zoom(worker,page,zoom) + before=int(page.locator('#operations').inner_text());checks=[] + def check(n,v):checks.append({'name':n,'passed':bool(v)});assert v,n + page.locator('#open').click();modal=page.locator('[role=dialog]');expect(modal).to_be_visible();safe=modal.locator('[data-initial-focus]');expect(safe).to_be_focused() + check('Dialog has resolved accessible name',modal.evaluate("n=>!!document.getElementById(n.getAttribute('aria-labelledby'))?.textContent.trim()")) + page.locator('#outside').evaluate('n=>n.focus()');check('Outside focus denied',modal.evaluate('n=>n.contains(document.activeElement)')) + for _ in range(10):page.keyboard.press('Tab');assert modal.evaluate('n=>n.contains(document.activeElement)') + check('Ten Tab steps remain scoped',True) + for field in modal.locator('input:not([type=hidden]),select,textarea').all(): + id=field.get_attribute('id');label=modal.locator('label').filter(has=page.locator('nonexistent')) if False else modal.locator('label[for="'+id+'"]') + label.click();expect(field).to_be_focused() + check('Label focus and descriptions resolve '+label.inner_text(),field.evaluate("n=>(n.getAttribute('aria-describedby')||'').split(/\\s+/).filter(Boolean).every(id=>!!document.getElementById(id))")) + modal.screenshot(path=str(out/(mode+'-'+kind+'.png'))) + if kind in ['area','line']: + closed_before=int(page.locator('#closes').inner_text());safe.click();expect(modal).to_have_attribute('aria-busy','true');page.keyboard.press('Escape');check('Pending cancel cannot dismiss twice',modal.count()==1);expect(modal).to_have_count(0);check('One delayed cancel callback',int(page.locator('#closes').inner_text())==closed_before+1) + else: + page.keyboard.press('Escape');expect(modal).to_have_count(0) + expect(page.locator('#open')).to_be_focused();check('Idle cancel returns to trigger',True) + page.locator('#open').click();expect(modal).to_be_visible() + if kind=='message': + safe.click();expect(modal).to_have_count(0);check('Message Close invokes no synthetic operation',int(page.locator('#operations').inner_text())==before) + else: + submit=modal.locator('.modal-footer .btn-primary');submit.click() + if kind in ['name','driver']: + expect(modal.locator('[role=alert]')).not_to_have_text('');page.get_by_label('Name',exact=True).fill('fixture-item') + else: + expect(modal.locator('.validation-message').first).to_be_visible();page.get_by_label('UnsAreaId' if kind=='area' else 'UnsLineId',exact=True).fill('FIXTURE-ID');page.get_by_label('Name',exact=True).fill('fixture-item') + check('Invalid submit dispatched nothing',int(page.locator('#operations').inner_text())==before) + submit.click();expect(modal).to_have_attribute('aria-busy','true');check('Busy fieldset disables body controls',modal.locator('fieldset').evaluate('n=>n.disabled') and all(x.is_disabled() for x in modal.locator('input:not([type=hidden]),select,textarea').all()));page.keyboard.press('Escape') + check('Busy Escape preserves dispatched action',modal.count()==1 and modal.locator('.btn-close').is_disabled() and modal.locator('.modal-footer .btn-outline-secondary').is_disabled()) + expect(modal).to_have_count(0);expect(page.locator('#open')).to_be_focused();check('Exactly one synthetic callback, then focus return',int(page.locator('#operations').inner_text())==before+1) + geometry=page.evaluate('()=>({innerWidth,scrollWidth:document.documentElement.scrollWidth,dpr:devicePixelRatio})');check('No horizontal overflow',geometry['scrollWidth']<=geometry['innerWidth']);check('No page errors',not errors) + r['scenes'].append({'mode':mode,'kind':kind,'zoom':factor,'geometry':geometry,'checks':checks,'errors':errors});(out/('browser-final-target-guard.json' if args.final_guard else 'browser-results.json')).write_text(json.dumps(r,indent=2)+'\n') +print(json.dumps({'scenes':len(r['scenes']),'checks':sum(len(s['checks'])for s in r['scenes'])})) diff --git a/docs/ui-consistency/evidence/ot13-simple-modals/canary/.gitignore b/docs/ui-consistency/evidence/ot13-simple-modals/canary/.gitignore new file mode 100644 index 000000000..cd42ee34e --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-simple-modals/canary/.gitignore @@ -0,0 +1,2 @@ +bin/ +obj/ diff --git a/docs/ui-consistency/evidence/ot13-simple-modals/canary/Components/App.razor b/docs/ui-consistency/evidence/ot13-simple-modals/canary/Components/App.razor new file mode 100644 index 000000000..d019c5111 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-simple-modals/canary/Components/App.razor @@ -0,0 +1,3 @@ + + + diff --git a/docs/ui-consistency/evidence/ot13-simple-modals/canary/Components/Fixture.razor b/docs/ui-consistency/evidence/ot13-simple-modals/canary/Components/Fixture.razor new file mode 100644 index 000000000..583d251ba --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-simple-modals/canary/Components/Fixture.razor @@ -0,0 +1,24 @@ +@page "/" +@rendermode InteractiveServer +@inject FixtureState State +

Local synthetic modal fixture

+ + +@(_ready ? "ready" : "loading")@(State.Operations + _callbacks)@_closes +@if (Kind == "name") { } +else if (Kind == "driver") { } +else if (Kind == "message") { } +else if (Kind == "area") { } +else if (Kind == "line") { } +else {

Unknown fixture kind. No component is rendered.

} +@code { + [SupplyParameterFromQuery(Name="kind")] public string Kind {get;set;}="name"; + private bool _visible,_ready;private int _callbacks,_closes; + private readonly (string Id,string Display)[] _clusters=[("C1","Synthetic cluster")]; + private readonly (string Id,string Display)[] _areas=[("A1","Synthetic area")]; + protected override void OnAfterRender(bool firstRender){if(firstRender){_ready=true;StateHasChanged();}} + private Task SetVisible(bool value){_visible=value;return Task.CompletedTask;} + private async Task Close(){_closes++;await Task.Delay(600);_visible=false;} + private async Task SubmitName(string value){_callbacks++;await Task.Delay(600);} + private async Task SubmitDriver((string DriverType,string Name) value){_callbacks++;await Task.Delay(600);} +} diff --git a/docs/ui-consistency/evidence/ot13-simple-modals/canary/Components/_Imports.razor b/docs/ui-consistency/evidence/ot13-simple-modals/canary/Components/_Imports.razor new file mode 100644 index 000000000..077cffb07 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-simple-modals/canary/Components/_Imports.razor @@ -0,0 +1,7 @@ +@using Microsoft.AspNetCore.Components +@using Microsoft.AspNetCore.Components.Routing +@using Microsoft.AspNetCore.Components.Web +@using static Microsoft.AspNetCore.Components.Web.RenderMode +@using ZB.MOM.WW.Theme +@using ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Raw +@using ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Uns diff --git a/docs/ui-consistency/evidence/ot13-simple-modals/canary/Program.cs b/docs/ui-consistency/evidence/ot13-simple-modals/canary/Program.cs new file mode 100644 index 000000000..6ee1b70a7 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-simple-modals/canary/Program.cs @@ -0,0 +1,19 @@ +using System.Reflection; +using SimpleModalCanary.Components; +using ZB.MOM.WW.OtOpcUa.AdminUI.Uns; +var builder=WebApplication.CreateBuilder(args);builder.WebHost.UseStaticWebAssets(); +builder.Services.AddRazorComponents().AddInteractiveServerComponents(); +builder.Services.AddSingleton(); +builder.Services.AddSingleton(services=> {var proxy=DispatchProxy.Create();((SyntheticUnsProxy)(object)proxy).State=services.GetRequiredService();return proxy;}); +var app=builder.Build();app.UseAntiforgery();app.MapStaticAssets(); +app.MapGet("/fixture/provenance",()=>new {purpose="Loopback synthetic simple modal fixture",backend="No DB, driver, gateway or operational service registration"}); +app.MapRazorComponents().AddInteractiveServerRenderMode();app.Run(); +public sealed class FixtureState { public int Operations; } +public class SyntheticUnsProxy:DispatchProxy { + public FixtureState State {get;set;}=null!; + protected override object? Invoke(MethodInfo? method,object?[]? args) { + if(method?.Name is not ("CreateAreaAsync" or "CreateLineAsync"))throw new InvalidOperationException("Operation refused: "+method?.Name); + State.Operations++;return Complete(); + } + private static async Task Complete(){await Task.Delay(600);return new(true,null);} +} diff --git a/docs/ui-consistency/evidence/ot13-simple-modals/canary/SimpleModalCanary.csproj b/docs/ui-consistency/evidence/ot13-simple-modals/canary/SimpleModalCanary.csproj new file mode 100644 index 000000000..36672f803 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-simple-modals/canary/SimpleModalCanary.csproj @@ -0,0 +1 @@ +net10.0enableenableSimpleModalCanary diff --git a/docs/ui-consistency/evidence/ot13-simple-modals/desktop-area.png b/docs/ui-consistency/evidence/ot13-simple-modals/desktop-area.png new file mode 100644 index 000000000..586aefe4d Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-simple-modals/desktop-area.png differ diff --git a/docs/ui-consistency/evidence/ot13-simple-modals/desktop-driver.png b/docs/ui-consistency/evidence/ot13-simple-modals/desktop-driver.png new file mode 100644 index 000000000..18be08db0 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-simple-modals/desktop-driver.png differ diff --git a/docs/ui-consistency/evidence/ot13-simple-modals/desktop-line.png b/docs/ui-consistency/evidence/ot13-simple-modals/desktop-line.png new file mode 100644 index 000000000..63250cab8 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-simple-modals/desktop-line.png differ diff --git a/docs/ui-consistency/evidence/ot13-simple-modals/desktop-message.png b/docs/ui-consistency/evidence/ot13-simple-modals/desktop-message.png new file mode 100644 index 000000000..8d1de8f1e Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-simple-modals/desktop-message.png differ diff --git a/docs/ui-consistency/evidence/ot13-simple-modals/desktop-name.png b/docs/ui-consistency/evidence/ot13-simple-modals/desktop-name.png new file mode 100644 index 000000000..d56655095 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-simple-modals/desktop-name.png differ diff --git a/docs/ui-consistency/evidence/ot13-simple-modals/logs/browser-fieldset-matcher.log b/docs/ui-consistency/evidence/ot13-simple-modals/logs/browser-fieldset-matcher.log new file mode 100644 index 000000000..1022d2b93 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-simple-modals/logs/browser-fieldset-matcher.log @@ -0,0 +1,27 @@ +Traceback (most recent call last): + File "/Users/dohertj2/Desktop/OtOpcUa/docs/ui-consistency/evidence/ot13-simple-modals/browser.py", line 38, in + submit.click();expect(modal).to_have_attribute('aria-busy','true');expect(modal.locator('fieldset')).to_be_disabled();page.keyboard.press('Escape') + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ + File "/opt/homebrew/lib/python3.14/site-packages/playwright/sync_api/_generated.py", line 20271, in to_be_disabled + self._sync(self._impl_obj.to_be_disabled(timeout=timeout)) + ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_sync_base.py", line 115, in _sync + return task.result() + ~~~~~~~~~~~^^ + File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_assertions.py", line 651, in to_be_disabled + await self._expect_impl( + ...<5 lines>... + ) + File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_assertions.py", line 85, in _expect_impl + raise AssertionError( + f"{out_message}\nActual value: {actual}{error_message} {format_call_log(result.get('log'))}" + ) +AssertionError: Locator expected to be disabled +Actual value: enabled +Error: element(s) not found +Call log: + - Expect "to_be_disabled" with timeout 5000ms + - waiting for locator("[role=dialog]").locator("fieldset") + 4 × locator resolved to
…
+ - unexpected value "enabled" + diff --git a/docs/ui-consistency/evidence/ot13-simple-modals/logs/browser-final-target-guard.log b/docs/ui-consistency/evidence/ot13-simple-modals/logs/browser-final-target-guard.log new file mode 100644 index 000000000..21414b1e9 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-simple-modals/logs/browser-final-target-guard.log @@ -0,0 +1 @@ +{"scenes": 2, "checks": 32} diff --git a/docs/ui-consistency/evidence/ot13-simple-modals/logs/browser-green.log b/docs/ui-consistency/evidence/ot13-simple-modals/logs/browser-green.log new file mode 100644 index 000000000..6abf67cf6 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-simple-modals/logs/browser-green.log @@ -0,0 +1 @@ +{"scenes": 15, "checks": 186} diff --git a/docs/ui-consistency/evidence/ot13-simple-modals/logs/cancel-red.log b/docs/ui-consistency/evidence/ot13-simple-modals/logs/cancel-red.log new file mode 100644 index 000000000..2b2959a44 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-simple-modals/logs/cancel-red.log @@ -0,0 +1,92 @@ + + Determining projects to restore... + All projects are up-to-date for restore. + ZB.MOM.WW.OtOpcUa.Analyzers -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Analyzers/debug/ZB.MOM.WW.OtOpcUa.Analyzers.dll + ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /tmp/ot-simple-modal-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/ot-simple-modal-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/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /tmp/ot-simple-modal-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/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll + ZB.MOM.WW.OtOpcUa.Commons -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Commons/debug/ZB.MOM.WW.OtOpcUa.Commons.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/debug/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll + ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll + ZB.MOM.WW.OtOpcUa.Cluster -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Cluster/debug/ZB.MOM.WW.OtOpcUa.Cluster.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll + ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/debug/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll + ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/debug/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll + ZB.MOM.WW.OtOpcUa.Configuration -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Configuration/debug/ZB.MOM.WW.OtOpcUa.Configuration.dll + ZB.MOM.WW.OtOpcUa.Core -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core/debug/ZB.MOM.WW.OtOpcUa.Core.dll + ZB.MOM.WW.OtOpcUa.Security -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Security/debug/ZB.MOM.WW.OtOpcUa.Security.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/debug/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/debug/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbCip/debug/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/debug/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/debug/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll + ZB.MOM.WW.OtOpcUa.ControlPlane -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.ControlPlane/debug/ZB.MOM.WW.OtOpcUa.ControlPlane.dll + ZB.MOM.WW.OtOpcUa.OpcUaServer -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.OpcUaServer/debug/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll + ZB.MOM.WW.OtOpcUa.Runtime -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Runtime/debug/ZB.MOM.WW.OtOpcUa.Runtime.dll + ZB.MOM.WW.OtOpcUa.AdminUI -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.AdminUI/debug/ZB.MOM.WW.OtOpcUa.AdminUI.dll + ZB.MOM.WW.OtOpcUa.AdminUI.Tests -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/debug/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll +Test run for /tmp/ot-simple-modal-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.27] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.SimpleModalAccessibilityTests.AreaAndLine_PendingCancelDispatchesOnlyOnce(line: False) [FAIL] +[xUnit.net 00:00:01.28] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.SimpleModalAccessibilityTests.AreaAndLine_PendingCancelDispatchesOnlyOnce(line: True) [FAIL] + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.SimpleModalAccessibilityTests.AreaAndLine_PendingCancelDispatchesOnlyOnce(line: False) [193 ms] + Error Message: + Shouldly.ShouldAssertException : calls + should be +1 + but was +2 + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.SimpleModalAccessibilityTests.AreaAndLine_PendingCancelDispatchesOnlyOnce(Boolean line) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/SimpleModalAccessibilityTests.cs:line 202 + at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.SimpleModalAccessibilityTests.AreaAndLine_PendingCancelDispatchesOnlyOnce(Boolean line) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/SimpleModalAccessibilityTests.cs:line 204 + at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) + at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options) +--- End of stack trace from previous location --- + at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) + at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options) + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.SimpleModalAccessibilityTests.AreaAndLine_PendingCancelDispatchesOnlyOnce(line: True) [7 ms] + Error Message: + Shouldly.ShouldAssertException : calls + should be +1 + but was +2 + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.SimpleModalAccessibilityTests.AreaAndLine_PendingCancelDispatchesOnlyOnce(Boolean line) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/SimpleModalAccessibilityTests.cs:line 202 + at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.SimpleModalAccessibilityTests.AreaAndLine_PendingCancelDispatchesOnlyOnce(Boolean line) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/SimpleModalAccessibilityTests.cs:line 204 + at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) + at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options) +--- End of stack trace from previous location --- + at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) + at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options) + +Failed! - Failed: 2, Passed: 0, Skipped: 0, Total: 2, Duration: 209 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0) diff --git a/docs/ui-consistency/evidence/ot13-simple-modals/logs/disposal-harness-failure.log b/docs/ui-consistency/evidence/ot13-simple-modals/logs/disposal-harness-failure.log new file mode 100644 index 000000000..53451fe2e --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-simple-modals/logs/disposal-harness-failure.log @@ -0,0 +1,71 @@ + + Determining projects to restore... + All projects are up-to-date for restore. + ZB.MOM.WW.OtOpcUa.Analyzers -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Analyzers/debug/ZB.MOM.WW.OtOpcUa.Analyzers.dll + ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport/debug/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/debug/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll + ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/debug/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /tmp/ot-simple-modal-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/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /tmp/ot-simple-modal-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/ot-simple-modal-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/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll + ZB.MOM.WW.OtOpcUa.Commons -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Commons/debug/ZB.MOM.WW.OtOpcUa.Commons.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /tmp/ot-simple-modal-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/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll + ZB.MOM.WW.OtOpcUa.Cluster -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Cluster/debug/ZB.MOM.WW.OtOpcUa.Cluster.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll + ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/debug/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll + ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/debug/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll + ZB.MOM.WW.OtOpcUa.Configuration -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Configuration/debug/ZB.MOM.WW.OtOpcUa.Configuration.dll + ZB.MOM.WW.OtOpcUa.Core -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core/debug/ZB.MOM.WW.OtOpcUa.Core.dll + ZB.MOM.WW.OtOpcUa.Security -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Security/debug/ZB.MOM.WW.OtOpcUa.Security.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/debug/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbCip/debug/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/debug/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll + ZB.MOM.WW.OtOpcUa.OpcUaServer -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.OpcUaServer/debug/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/debug/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/debug/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll + ZB.MOM.WW.OtOpcUa.ControlPlane -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.ControlPlane/debug/ZB.MOM.WW.OtOpcUa.ControlPlane.dll + ZB.MOM.WW.OtOpcUa.Runtime -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Runtime/debug/ZB.MOM.WW.OtOpcUa.Runtime.dll + ZB.MOM.WW.OtOpcUa.AdminUI -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.AdminUI/debug/ZB.MOM.WW.OtOpcUa.AdminUI.dll + ZB.MOM.WW.OtOpcUa.AdminUI.Tests -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/debug/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll +Test run for /tmp/ot-simple-modal-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.56] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.SimpleModalAccessibilityTests.Name_DisposalInvalidatesPendingCloseWithoutCancellingSubmittedAction [FAIL] + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.SimpleModalAccessibilityTests.Name_DisposalInvalidatesPendingCloseWithoutCancellingSubmittedAction [14 ms] + Error Message: + Shouldly.ShouldAssertException : completed + should be +0 + but was +1 + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.SimpleModalAccessibilityTests.Name_DisposalInvalidatesPendingCloseWithoutCancellingSubmittedAction() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/SimpleModalAccessibilityTests.cs:line 182 + at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) + at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options) +--- End of stack trace from previous location --- + at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) + at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options) + +Failed! - Failed: 1, Passed: 44, Skipped: 0, Total: 45, Duration: 509 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0) diff --git a/docs/ui-consistency/evidence/ot13-simple-modals/logs/green-final.log b/docs/ui-consistency/evidence/ot13-simple-modals/logs/green-final.log new file mode 100644 index 000000000..b93bfb479 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-simple-modals/logs/green-final.log @@ -0,0 +1,54 @@ + + Determining projects to restore... + All projects are up-to-date for restore. + ZB.MOM.WW.OtOpcUa.Analyzers -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Analyzers/debug/ZB.MOM.WW.OtOpcUa.Analyzers.dll + ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/debug/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll + ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport -> /tmp/ot-simple-modal-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/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /tmp/ot-simple-modal-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/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/debug/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll + ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll + ZB.MOM.WW.OtOpcUa.Commons -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Commons/debug/ZB.MOM.WW.OtOpcUa.Commons.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll + ZB.MOM.WW.OtOpcUa.Cluster -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Cluster/debug/ZB.MOM.WW.OtOpcUa.Cluster.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll + ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/debug/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll + ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/debug/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll + ZB.MOM.WW.OtOpcUa.Configuration -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Configuration/debug/ZB.MOM.WW.OtOpcUa.Configuration.dll + ZB.MOM.WW.OtOpcUa.Core -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core/debug/ZB.MOM.WW.OtOpcUa.Core.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll + ZB.MOM.WW.OtOpcUa.Security -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Security/debug/ZB.MOM.WW.OtOpcUa.Security.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/debug/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/debug/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll + ZB.MOM.WW.OtOpcUa.OpcUaServer -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.OpcUaServer/debug/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/debug/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/debug/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbCip/debug/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll + ZB.MOM.WW.OtOpcUa.Runtime -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Runtime/debug/ZB.MOM.WW.OtOpcUa.Runtime.dll + ZB.MOM.WW.OtOpcUa.ControlPlane -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.ControlPlane/debug/ZB.MOM.WW.OtOpcUa.ControlPlane.dll + ZB.MOM.WW.OtOpcUa.AdminUI -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.AdminUI/debug/ZB.MOM.WW.OtOpcUa.AdminUI.dll + ZB.MOM.WW.OtOpcUa.AdminUI.Tests -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/debug/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll +Test run for /tmp/ot-simple-modal-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. + +Passed! - Failed: 0, Passed: 49, Skipped: 0, Total: 49, Duration: 495 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0) diff --git a/docs/ui-consistency/evidence/ot13-simple-modals/logs/green-initial.log b/docs/ui-consistency/evidence/ot13-simple-modals/logs/green-initial.log new file mode 100644 index 000000000..2472b3ceb --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-simple-modals/logs/green-initial.log @@ -0,0 +1,54 @@ + + Determining projects to restore... + All projects are up-to-date for restore. + ZB.MOM.WW.OtOpcUa.Analyzers -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Analyzers/debug/ZB.MOM.WW.OtOpcUa.Analyzers.dll + ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/debug/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll + ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport -> /tmp/ot-simple-modal-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/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /tmp/ot-simple-modal-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/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /tmp/ot-simple-modal-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/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll + ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/debug/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll + ZB.MOM.WW.OtOpcUa.Commons -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Commons/debug/ZB.MOM.WW.OtOpcUa.Commons.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /tmp/ot-simple-modal-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/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll + ZB.MOM.WW.OtOpcUa.Cluster -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Cluster/debug/ZB.MOM.WW.OtOpcUa.Cluster.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll + ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/debug/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll + ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/debug/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll + ZB.MOM.WW.OtOpcUa.Configuration -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Configuration/debug/ZB.MOM.WW.OtOpcUa.Configuration.dll + ZB.MOM.WW.OtOpcUa.Core -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core/debug/ZB.MOM.WW.OtOpcUa.Core.dll + ZB.MOM.WW.OtOpcUa.Security -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Security/debug/ZB.MOM.WW.OtOpcUa.Security.dll + ZB.MOM.WW.OtOpcUa.ControlPlane -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.ControlPlane/debug/ZB.MOM.WW.OtOpcUa.ControlPlane.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/debug/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/debug/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbCip/debug/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/debug/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll + ZB.MOM.WW.OtOpcUa.OpcUaServer -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.OpcUaServer/debug/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/debug/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll + ZB.MOM.WW.OtOpcUa.Runtime -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Runtime/debug/ZB.MOM.WW.OtOpcUa.Runtime.dll + ZB.MOM.WW.OtOpcUa.AdminUI -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.AdminUI/debug/ZB.MOM.WW.OtOpcUa.AdminUI.dll + ZB.MOM.WW.OtOpcUa.AdminUI.Tests -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/debug/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll +Test run for /tmp/ot-simple-modal-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. + +Passed! - Failed: 0, Passed: 35, Skipped: 0, Total: 35, Duration: 212 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0) diff --git a/docs/ui-consistency/evidence/ot13-simple-modals/logs/initial-removed-interface.log b/docs/ui-consistency/evidence/ot13-simple-modals/logs/initial-removed-interface.log new file mode 100644 index 000000000..031418dce --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-simple-modals/logs/initial-removed-interface.log @@ -0,0 +1,96 @@ + + Determining projects to restore... + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.csproj (in 51 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.csproj (in 51 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Abstractions/ZB.MOM.WW.OtOpcUa.Core.Abstractions.csproj (in 51 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.csproj (in 51 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.csproj (in 51 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.csproj (in 51 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.csproj (in 0.6 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.csproj (in 118 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.csproj (in 38 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.csproj (in 37 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.csproj (in 118 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.csproj (in 2 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.csproj (in 63 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.csproj (in 60 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.csproj (in 1 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.csproj (in 155 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.csproj (in 2 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.csproj (in 156 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.csproj (in 0.9 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.csproj (in 5 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.csproj (in 0.9 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Cluster/ZB.MOM.WW.OtOpcUa.Cluster.csproj (in 173 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.csproj (in 24 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting/ZB.MOM.WW.OtOpcUa.Core.Scripting.csproj (in 22 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.csproj (in 16 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.csproj (in 68 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Commons/ZB.MOM.WW.OtOpcUa.Commons.csproj (in 2 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.csproj (in 70 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.csproj (in 142 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql/ZB.MOM.WW.OtOpcUa.Driver.Sql.csproj (in 91 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.csproj (in 200 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.csproj (in 55 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.csproj (in 87 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.csproj (in 71 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.csproj (in 149 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip/ZB.MOM.WW.OtOpcUa.Driver.AbCip.csproj (in 227 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.csproj (in 2 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core/ZB.MOM.WW.OtOpcUa.Core.csproj (in 230 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer/ZB.MOM.WW.OtOpcUa.OpcUaServer.csproj (in 20 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.csproj (in 79 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Security/ZB.MOM.WW.OtOpcUa.Security.csproj (in 37 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.ControlPlane/ZB.MOM.WW.OtOpcUa.ControlPlane.csproj (in 35 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/ZB.MOM.WW.OtOpcUa.Runtime.csproj (in 45 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Tooling/ZB.MOM.WW.OtOpcUa.Analyzers/ZB.MOM.WW.OtOpcUa.Analyzers.csproj (in 87 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/ZB.MOM.WW.OtOpcUa.AdminUI.csproj (in 57 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Configuration/ZB.MOM.WW.OtOpcUa.Configuration.csproj (in 133 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.csproj (in 141 ms). + ZB.MOM.WW.OtOpcUa.Analyzers -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Analyzers/debug/ZB.MOM.WW.OtOpcUa.Analyzers.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/debug/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll + ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport/debug/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /tmp/ot-simple-modal-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/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/debug/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /tmp/ot-simple-modal-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/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll + ZB.MOM.WW.OtOpcUa.Commons -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Commons/debug/ZB.MOM.WW.OtOpcUa.Commons.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /tmp/ot-simple-modal-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/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /tmp/ot-simple-modal-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/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll + ZB.MOM.WW.OtOpcUa.Cluster -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Cluster/debug/ZB.MOM.WW.OtOpcUa.Cluster.dll + ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/debug/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll + ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/debug/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll + ZB.MOM.WW.OtOpcUa.Configuration -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Configuration/debug/ZB.MOM.WW.OtOpcUa.Configuration.dll + ZB.MOM.WW.OtOpcUa.Core -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core/debug/ZB.MOM.WW.OtOpcUa.Core.dll + ZB.MOM.WW.OtOpcUa.Security -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Security/debug/ZB.MOM.WW.OtOpcUa.Security.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/debug/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/debug/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbCip/debug/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/debug/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll + ZB.MOM.WW.OtOpcUa.OpcUaServer -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.OpcUaServer/debug/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll + ZB.MOM.WW.OtOpcUa.ControlPlane -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.ControlPlane/debug/ZB.MOM.WW.OtOpcUa.ControlPlane.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/debug/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll + ZB.MOM.WW.OtOpcUa.Runtime -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Runtime/debug/ZB.MOM.WW.OtOpcUa.Runtime.dll + ZB.MOM.WW.OtOpcUa.AdminUI -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.AdminUI/debug/ZB.MOM.WW.OtOpcUa.AdminUI.dll +/Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/SimpleModalAccessibilityTests.cs(86,13): error CS0246: The type or namespace name 'IRenderedFragment' could not be found (are you missing a using directive or an assembly reference?) [/Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.csproj] diff --git a/docs/ui-consistency/evidence/ot13-simple-modals/logs/missing-target-red.log b/docs/ui-consistency/evidence/ot13-simple-modals/logs/missing-target-red.log new file mode 100644 index 000000000..c45238e27 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-simple-modals/logs/missing-target-red.log @@ -0,0 +1,88 @@ + + Determining projects to restore... + All projects are up-to-date for restore. + ZB.MOM.WW.OtOpcUa.Analyzers -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Analyzers/debug/ZB.MOM.WW.OtOpcUa.Analyzers.dll + ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport -> /tmp/ot-simple-modal-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/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/debug/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll + ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/debug/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /tmp/ot-simple-modal-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/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /tmp/ot-simple-modal-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/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll + ZB.MOM.WW.OtOpcUa.Commons -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Commons/debug/ZB.MOM.WW.OtOpcUa.Commons.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /tmp/ot-simple-modal-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/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll + ZB.MOM.WW.OtOpcUa.Cluster -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Cluster/debug/ZB.MOM.WW.OtOpcUa.Cluster.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /tmp/ot-simple-modal-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/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/debug/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll + ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/debug/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll + ZB.MOM.WW.OtOpcUa.Configuration -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Configuration/debug/ZB.MOM.WW.OtOpcUa.Configuration.dll + ZB.MOM.WW.OtOpcUa.Core -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core/debug/ZB.MOM.WW.OtOpcUa.Core.dll + ZB.MOM.WW.OtOpcUa.Security -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Security/debug/ZB.MOM.WW.OtOpcUa.Security.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/debug/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbCip/debug/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/debug/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/debug/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll + ZB.MOM.WW.OtOpcUa.OpcUaServer -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.OpcUaServer/debug/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/debug/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll + ZB.MOM.WW.OtOpcUa.ControlPlane -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.ControlPlane/debug/ZB.MOM.WW.OtOpcUa.ControlPlane.dll + ZB.MOM.WW.OtOpcUa.Runtime -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Runtime/debug/ZB.MOM.WW.OtOpcUa.Runtime.dll + ZB.MOM.WW.OtOpcUa.AdminUI -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.AdminUI/debug/ZB.MOM.WW.OtOpcUa.AdminUI.dll + ZB.MOM.WW.OtOpcUa.AdminUI.Tests -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/debug/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll +Test run for /tmp/ot-simple-modal-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.55] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.SimpleModalAccessibilityTests.EditWithoutLoadedTargetCannotSubmitPreviousDraft(line: False) [FAIL] +[xUnit.net 00:00:01.56] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.SimpleModalAccessibilityTests.EditWithoutLoadedTargetCannotSubmitPreviousDraft(line: True) [FAIL] + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.SimpleModalAccessibilityTests.EditWithoutLoadedTargetCannotSubmitPreviousDraft(line: False) [214 ms] + Error Message: + Shouldly.ShouldAssertException : ((RecordingOperations)(object)service).Calls + should be +0 + but was +1 + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.SimpleModalAccessibilityTests.EditWithoutLoadedTargetCannotSubmitPreviousDraft(Boolean line) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/SimpleModalAccessibilityTests.cs:line 222 + at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) + at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options) +--- End of stack trace from previous location --- + at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) + at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options) + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.SimpleModalAccessibilityTests.EditWithoutLoadedTargetCannotSubmitPreviousDraft(line: True) [7 ms] + Error Message: + Shouldly.ShouldAssertException : ((RecordingOperations)(object)service).Calls + should be +0 + but was +1 + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.SimpleModalAccessibilityTests.EditWithoutLoadedTargetCannotSubmitPreviousDraft(Boolean line) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/SimpleModalAccessibilityTests.cs:line 222 + at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) + at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options) +--- End of stack trace from previous location --- + at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) + at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options) + +Failed! - Failed: 2, Passed: 0, Skipped: 0, Total: 2, Duration: 230 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0) diff --git a/docs/ui-consistency/evidence/ot13-simple-modals/logs/nullable-selector.log b/docs/ui-consistency/evidence/ot13-simple-modals/logs/nullable-selector.log new file mode 100644 index 000000000..8bde7fae3 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-simple-modals/logs/nullable-selector.log @@ -0,0 +1,51 @@ + + Determining projects to restore... + All projects are up-to-date for restore. + ZB.MOM.WW.OtOpcUa.Analyzers -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Analyzers/debug/ZB.MOM.WW.OtOpcUa.Analyzers.dll + ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport/debug/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /tmp/ot-simple-modal-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/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/debug/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Commons -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Commons/debug/ZB.MOM.WW.OtOpcUa.Commons.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /tmp/ot-simple-modal-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/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /tmp/ot-simple-modal-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/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll + ZB.MOM.WW.OtOpcUa.Cluster -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Cluster/debug/ZB.MOM.WW.OtOpcUa.Cluster.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll + ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/debug/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll + ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/debug/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll + ZB.MOM.WW.OtOpcUa.Configuration -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Configuration/debug/ZB.MOM.WW.OtOpcUa.Configuration.dll + ZB.MOM.WW.OtOpcUa.Core -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core/debug/ZB.MOM.WW.OtOpcUa.Core.dll + ZB.MOM.WW.OtOpcUa.Security -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Security/debug/ZB.MOM.WW.OtOpcUa.Security.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/debug/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbCip/debug/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/debug/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/debug/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/debug/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll + ZB.MOM.WW.OtOpcUa.OpcUaServer -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.OpcUaServer/debug/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll + ZB.MOM.WW.OtOpcUa.ControlPlane -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.ControlPlane/debug/ZB.MOM.WW.OtOpcUa.ControlPlane.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll + ZB.MOM.WW.OtOpcUa.Runtime -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Runtime/debug/ZB.MOM.WW.OtOpcUa.Runtime.dll + ZB.MOM.WW.OtOpcUa.AdminUI -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.AdminUI/debug/ZB.MOM.WW.OtOpcUa.AdminUI.dll +/Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/SimpleModalAccessibilityTests.cs(59,42): error CS8602: Dereference of a possibly null reference. [/Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.csproj] +/Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/SimpleModalAccessibilityTests.cs(61,42): error CS8602: Dereference of a possibly null reference. [/Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.csproj] diff --git a/docs/ui-consistency/evidence/ot13-simple-modals/logs/red-valid.log b/docs/ui-consistency/evidence/ot13-simple-modals/logs/red-valid.log new file mode 100644 index 000000000..1d0cccb91 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-simple-modals/logs/red-valid.log @@ -0,0 +1,153 @@ + + Determining projects to restore... + All projects are up-to-date for restore. + ZB.MOM.WW.OtOpcUa.Analyzers -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Analyzers/debug/ZB.MOM.WW.OtOpcUa.Analyzers.dll + ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport/debug/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /tmp/ot-simple-modal-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/ot-simple-modal-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/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll + ZB.MOM.WW.OtOpcUa.Commons -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Commons/debug/ZB.MOM.WW.OtOpcUa.Commons.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /tmp/ot-simple-modal-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/ot-simple-modal-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/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/debug/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /tmp/ot-simple-modal-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/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll + ZB.MOM.WW.OtOpcUa.Cluster -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Cluster/debug/ZB.MOM.WW.OtOpcUa.Cluster.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll + ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/debug/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll + ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/debug/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll + ZB.MOM.WW.OtOpcUa.Configuration -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Configuration/debug/ZB.MOM.WW.OtOpcUa.Configuration.dll + ZB.MOM.WW.OtOpcUa.Core -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core/debug/ZB.MOM.WW.OtOpcUa.Core.dll + ZB.MOM.WW.OtOpcUa.Security -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Security/debug/ZB.MOM.WW.OtOpcUa.Security.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/debug/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/debug/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbCip/debug/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/debug/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/debug/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll + ZB.MOM.WW.OtOpcUa.OpcUaServer -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.OpcUaServer/debug/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll + ZB.MOM.WW.OtOpcUa.ControlPlane -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.ControlPlane/debug/ZB.MOM.WW.OtOpcUa.ControlPlane.dll + ZB.MOM.WW.OtOpcUa.Runtime -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.Runtime/debug/ZB.MOM.WW.OtOpcUa.Runtime.dll + ZB.MOM.WW.OtOpcUa.AdminUI -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.AdminUI/debug/ZB.MOM.WW.OtOpcUa.AdminUI.dll + ZB.MOM.WW.OtOpcUa.AdminUI.Tests -> /tmp/ot-simple-modal-artifacts/bin/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/debug/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll +Test run for /tmp/ot-simple-modal-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.75] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.SimpleModalAccessibilityTests.Area_UnrelatedRenderPreservesDraft [FAIL] +[xUnit.net 00:00:01.76] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.SimpleModalAccessibilityTests.Wrapper_IsNamed_WithSafeCancel_AndUniqueFields(kind: "name") [FAIL] +[xUnit.net 00:00:01.77] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.SimpleModalAccessibilityTests.Wrapper_IsNamed_WithSafeCancel_AndUniqueFields(kind: "message") [FAIL] +[xUnit.net 00:00:01.77] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.SimpleModalAccessibilityTests.Wrapper_IsNamed_WithSafeCancel_AndUniqueFields(kind: "line") [FAIL] +[xUnit.net 00:00:01.77] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.SimpleModalAccessibilityTests.Wrapper_IsNamed_WithSafeCancel_AndUniqueFields(kind: "area") [FAIL] +[xUnit.net 00:00:01.77] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.SimpleModalAccessibilityTests.Wrapper_IsNamed_WithSafeCancel_AndUniqueFields(kind: "driver") [FAIL] +[xUnit.net 00:00:01.79] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.SimpleModalAccessibilityTests.Name_PendingSubmitBlocksClose_AndCannotCloseNewTarget [FAIL] + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.SimpleModalAccessibilityTests.Area_UnrelatedRenderPreservesDraft [200 ms] + Error Message: + Shouldly.ShouldAssertException : cut.FindAll("input").Single(x => x.Id?.Contains("area-name",StringComparison.Ordinal) == true).GetAttribute("value") + should be +"local-draft" + but was +"" + difference +Difference | | | | | | | | | | | | + | \|/ \|/ \|/ \|/ \|/ \|/ \|/ \|/ \|/ \|/ \|/ +Index | 0 1 2 3 4 5 6 7 8 9 10 +Expected Value | l o c a l - d r a f t +Actual Value | +Expected Code | 108 111 99 97 108 45 100 114 97 102 116 +Actual Code | + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.SimpleModalAccessibilityTests.Area_UnrelatedRenderPreservesDraft() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/SimpleModalAccessibilityTests.cs:line 61 + at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) + at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.SimpleModalAccessibilityTests.Wrapper_IsNamed_WithSafeCancel_AndUniqueFields(kind: "name") [15 ms] + Error Message: + Shouldly.ShouldAssertException : dialog.GetAttribute("aria-modal") + should be +"true" + but was +null + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.SimpleModalAccessibilityTests.Wrapper_IsNamed_WithSafeCancel_AndUniqueFields(String kind) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/SimpleModalAccessibilityTests.cs:line 38 + 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.SimpleModalAccessibilityTests.Wrapper_IsNamed_WithSafeCancel_AndUniqueFields(kind: "message") [1 ms] + Error Message: + Shouldly.ShouldAssertException : dialog.GetAttribute("aria-modal") + should be +"true" + but was +null + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.SimpleModalAccessibilityTests.Wrapper_IsNamed_WithSafeCancel_AndUniqueFields(String kind) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/SimpleModalAccessibilityTests.cs:line 38 + at InvokeStub_SimpleModalAccessibilityTests.Wrapper_IsNamed_WithSafeCancel_AndUniqueFields(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.SimpleModalAccessibilityTests.Wrapper_IsNamed_WithSafeCancel_AndUniqueFields(kind: "line") [3 ms] + Error Message: + Shouldly.ShouldAssertException : dialog.GetAttribute("aria-modal") + should be +"true" + but was +null + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.SimpleModalAccessibilityTests.Wrapper_IsNamed_WithSafeCancel_AndUniqueFields(String kind) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/SimpleModalAccessibilityTests.cs:line 38 + at InvokeStub_SimpleModalAccessibilityTests.Wrapper_IsNamed_WithSafeCancel_AndUniqueFields(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.SimpleModalAccessibilityTests.Wrapper_IsNamed_WithSafeCancel_AndUniqueFields(kind: "area") [1 ms] + Error Message: + Shouldly.ShouldAssertException : dialog.GetAttribute("aria-modal") + should be +"true" + but was +null + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.SimpleModalAccessibilityTests.Wrapper_IsNamed_WithSafeCancel_AndUniqueFields(String kind) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/SimpleModalAccessibilityTests.cs:line 38 + at InvokeStub_SimpleModalAccessibilityTests.Wrapper_IsNamed_WithSafeCancel_AndUniqueFields(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.SimpleModalAccessibilityTests.Wrapper_IsNamed_WithSafeCancel_AndUniqueFields(kind: "driver") [1 ms] + Error Message: + Shouldly.ShouldAssertException : dialog.GetAttribute("aria-modal") + should be +"true" + but was +null + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.SimpleModalAccessibilityTests.Wrapper_IsNamed_WithSafeCancel_AndUniqueFields(String kind) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/SimpleModalAccessibilityTests.cs:line 38 + at InvokeStub_SimpleModalAccessibilityTests.Wrapper_IsNamed_WithSafeCancel_AndUniqueFields(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.SimpleModalAccessibilityTests.Name_PendingSubmitBlocksClose_AndCannotCloseNewTarget [11 ms] + Error Message: + Shouldly.ShouldAssertException : cut.Find(".btn-close").HasAttribute("disabled") + should be +True + but was +False + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.SimpleModalAccessibilityTests.Name_PendingSubmitBlocksClose_AndCannotCloseNewTarget() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/SimpleModalAccessibilityTests.cs:line 76 + at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.SimpleModalAccessibilityTests.Name_PendingSubmitBlocksClose_AndCannotCloseNewTarget() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/SimpleModalAccessibilityTests.cs:line 80 + at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) + at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options) +--- End of stack trace from previous location --- + at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) + at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options) + +Failed! - Failed: 7, Passed: 0, Skipped: 0, Total: 7, Duration: 247 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0) diff --git a/docs/ui-consistency/evidence/ot13-simple-modals/phone-area.png b/docs/ui-consistency/evidence/ot13-simple-modals/phone-area.png new file mode 100644 index 000000000..b4f6d41a9 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-simple-modals/phone-area.png differ diff --git a/docs/ui-consistency/evidence/ot13-simple-modals/phone-driver.png b/docs/ui-consistency/evidence/ot13-simple-modals/phone-driver.png new file mode 100644 index 000000000..7d93e8645 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-simple-modals/phone-driver.png differ diff --git a/docs/ui-consistency/evidence/ot13-simple-modals/phone-line.png b/docs/ui-consistency/evidence/ot13-simple-modals/phone-line.png new file mode 100644 index 000000000..e368de5f2 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-simple-modals/phone-line.png differ diff --git a/docs/ui-consistency/evidence/ot13-simple-modals/phone-message.png b/docs/ui-consistency/evidence/ot13-simple-modals/phone-message.png new file mode 100644 index 000000000..1df253081 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-simple-modals/phone-message.png differ diff --git a/docs/ui-consistency/evidence/ot13-simple-modals/phone-name.png b/docs/ui-consistency/evidence/ot13-simple-modals/phone-name.png new file mode 100644 index 000000000..3ad4be8ad Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-simple-modals/phone-name.png differ diff --git a/docs/ui-consistency/evidence/ot13-simple-modals/real200-area.png b/docs/ui-consistency/evidence/ot13-simple-modals/real200-area.png new file mode 100644 index 000000000..cc4b25b6f Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-simple-modals/real200-area.png differ diff --git a/docs/ui-consistency/evidence/ot13-simple-modals/real200-driver.png b/docs/ui-consistency/evidence/ot13-simple-modals/real200-driver.png new file mode 100644 index 000000000..14585b318 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-simple-modals/real200-driver.png differ diff --git a/docs/ui-consistency/evidence/ot13-simple-modals/real200-line.png b/docs/ui-consistency/evidence/ot13-simple-modals/real200-line.png new file mode 100644 index 000000000..4b95686f7 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-simple-modals/real200-line.png differ diff --git a/docs/ui-consistency/evidence/ot13-simple-modals/real200-message.png b/docs/ui-consistency/evidence/ot13-simple-modals/real200-message.png new file mode 100644 index 000000000..5c33a9345 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-simple-modals/real200-message.png differ diff --git a/docs/ui-consistency/evidence/ot13-simple-modals/real200-name.png b/docs/ui-consistency/evidence/ot13-simple-modals/real200-name.png new file mode 100644 index 000000000..32b908395 Binary files /dev/null and b/docs/ui-consistency/evidence/ot13-simple-modals/real200-name.png differ diff --git a/docs/ui-consistency/evidence/ot13-simple-modals/source-guard.json b/docs/ui-consistency/evidence/ot13-simple-modals/source-guard.json new file mode 100644 index 000000000..d26020755 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-simple-modals/source-guard.json @@ -0,0 +1,40 @@ +{ + "files": [ + { + "path": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Raw/RawNameDialog.razor", + "beforeSha256": "a0d58bb0105e91d898571a668f3ec3c43152993cc58a4c4a7d3031def22390fc", + "afterSha256": "ef4825703f096347ca58a2591b0780e05a730f31f8ab9a8f78a67c6151d8959d", + "originalBoundModelExpressionsPreserved": true + }, + { + "path": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Raw/RawDriverTypeDialog.razor", + "beforeSha256": "341447076b0033f99bb65126066fbc2f0ae6755a6389d7e2792111060210ee73", + "afterSha256": "5214a5ef9205695d6b17f5ca85f02a57cd3872de61d18e52d969d4df338db834", + "originalBoundModelExpressionsPreserved": true, + "driverTypeOfferingsAndValuesByteIdentical": true + }, + { + "path": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Raw/RawStubModal.razor", + "beforeSha256": "65d915a0361465e70b9a4cc83d4e374789ea8fa1723c918e7aea1dbe4867b86c", + "afterSha256": "d795eb94efd20bdaaece9d8e6eac91286271fe9548bf265e8da265552494e8e9", + "originalBoundModelExpressionsPreserved": true + }, + { + "path": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Uns/AreaModal.razor", + "beforeSha256": "026873916a9caff83286ff42e362d66c9754a8024af0f95e1400389b341718c5", + "afterSha256": "12d33ab23d9df2466c2fac0e1ed50031ae96cf693617e20b40a614d8389ac7b8", + "originalBoundModelExpressionsPreserved": true, + "allModelFieldsAndValidationAttributesPreserved": true + }, + { + "path": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Uns/LineModal.razor", + "beforeSha256": "84ec2e51fbc6c5b3c6c191dc2279b98b1dc42aa75d4984ad204db3ce2c106f0f", + "afterSha256": "e3b6a587363f77b6776779132e05d9d0a40d916f8c4addb2e3459919056af266", + "originalBoundModelExpressionsPreserved": true, + "allModelFieldsAndValidationAttributesPreserved": true + } + ], + "servedUnmodifiedSharedDialogScriptSha256": "54f0251c5655bc23481b942425e948ef37ceb228a0ba02d0d16ebd74e348debc", + "ModalFrameSha256": "30e244098d69d7be9854cbdcd142c1eab580309e6e44bf5956c3c55196e244d9", + "sharedFrameAndScriptEditedByThisSlice": false +} diff --git a/docs/ui-consistency/evidence/ot13-simple-modals/verification.md b/docs/ui-consistency/evidence/ot13-simple-modals/verification.md new file mode 100644 index 000000000..60717dd70 --- /dev/null +++ b/docs/ui-consistency/evidence/ot13-simple-modals/verification.md @@ -0,0 +1,43 @@ +# OT13 simple modal wrappers + +This slice owns only `Shared/Raw/RawNameDialog.razor`, `RawDriverTypeDialog.razor`, `RawStubModal.razor`, `Shared/Uns/AreaModal.razor`, `LineModal.razor`, new `Pages/SimpleModalAccessibilityTests.cs` and its own fixture/evidence. It consumes the existing tested ModalFrame and otDialog adapter. Neither shared source, RawTree, GlobalUns, another wrapper, nor an operational service implementation is changed. + +## Behavior and retained contracts + +All five wrappers use ModalFrame's name, safe focus, current-generation native events, single-active overlay, background isolation and disposal. Cancel/Close is marked for initial focus. Input IDs, visible labels and existing help/error descriptions are unique per instance. Numeric/domain choices, RawPaths validation, the complete13-entry driver type table, default Modbus type, every bound model expression, all Area/Line fields and data annotation constraints remain unchanged. `source-guard.json` records the comparisons and exact served shared-dialog JS hash. + +RawName/RawDriver copy the validated typed submission before awaiting the original callback, retain submit-then-self-close order, and capture the rendered callbacks. Local generations reject old queued events and suppress an old completion's close after replacement/disposal. Optional nonconfidential Target supports different underlying targets with identical captions/values. Busy prevents repeated submit, Enter submission, Cancel and header/Escape close; the body fieldset disables actual inputs. A dispatched operation continues independently. The per-component single-flight guard lasts until it returns, including if a new target is presented; the newer draft stays intact and becomes editable afterward. Area/Line also guard an awaiting parent Cancel callback as a pending presentation action, so footer/header/Escape cannot double-dispatch it. Two deterministic delayed-cancel cases first failed, then passed after the local guard. + +Area/Line preserve OnValidSubmit and original create/update service argument meaning. Detached scalar form snapshots and copied optimistic row versions are captured before the first await. Success callbacks/errors apply only to the same still-visible generation. Draft initialization occurs on reopen/target change, preserving typing across unrelated option-label/parent renders. Existing DTO identity, IsNew, parent scope and optional Target define that presentation; this does not change cluster/parent scoping, validation, service authorization or persistence. Their submit buttons remain outside the form body in ModalFrame's footer and refer to the unique actual EditForm ID through native `form`; actual invalid/valid browser submissions exercise this relationship. + +RawStub remains the existing shared message surface with the same body/target context and parent-owned close; it receives no submit operation. + +## Meaningful tests + +Initial five name contracts, Area draft retention and RawName busy contract: **7 valid failures before production edits**. Initial test-authoring compilation issues (removed bUnit interface, nullable AngleSharp ID) were corrected before that valid red; raw logs remain. No baseline bypass, skip, removed assertion or framework change. + +New tests total17: the five wrappers twice in a render for resolved names/unique IDs/safe cancellation; Area unrelated-render draft; delayed RawName target replacement; four delayed Area/Line success/failure cases; typed driver snapshot/callback replacement; actual component disposal during submitted name callback. Delayed cases retain old target/scalars/notes/row-version bytes, reject double save/Cancel, and do not invoke a newer target's callback, show its old error, or close/reset it. Disposal preserves the already dispatched caller action and suppresses stale close. Waits use xUnit v3 cancellation plus bounded entry deadlines. + +**49/49 aggregate pass, zero skips:** SimpleModalAccessibilityTests, existing ModalAccessibilityTests, RawDriverTypeDialog coverage/parity and DeleteConfirmRenderTests. + +```sh +dotnet test tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.csproj --artifacts-path /tmp/ot-simple-modal-artifacts --filter 'FullyQualifiedName~SimpleModalAccessibilityTests|FullyQualifiedName~ModalAccessibilityTests|FullyQualifiedName~RawDriverTypeDialog|FullyQualifiedName~DeleteConfirmRenderTests' +``` + +`logs/green-final.log` is final. One added disposal test initially disposed only bUnit's rendered handle; corrected it to DisposeComponentsAsync, which invokes Blazor component disposal (as the existing shared lifecycle tests do). This was a harness correction, not a product lifecycle workaround; its raw failure remains. Full suite belongs to coordinated integration freeze and is not claimed here. + +## Actual native acceptance + +Own loopback fixture58846 compiles the actual five wrappers and shared adapter, with a strict route/type allowlist. It registers Razor plus an operation-refusing synthetic UNS proxy; only fake CreateArea/CreateLine return delayed in-memory results. Raw callbacks only increment a fixture counter. No SQL/driver/gateway/provider/client, operational action endpoint or live credentials exist. HTTP provenance and byte-identical shared script are verified before acceptance. The fixture is not a replacement for a real deployment/identity/provider gate. + +**15 actual Chromium scenes /186 assertions:** five wrappers at1440,390 and real200% zoom (720px layout viewport/DPR2). Each verifies resolved dialog name, Cancel/Close initial focus, outside focus denial, ten scoped Tab steps, every visible label's actual focus and resolved descriptions, idle Escape/trigger return. All four editors also verify invalid submission dispatches nothing, valid submission disables body controls, busy Escape/Cancel/header cannot dismiss the operation, exactly one synthetic callback completes and focus returns. Area/Line additionally await a delayed synthetic Cancel and verify exactly one callback while Escape is pressed during the wait. Message Close dispatches nothing. No document overflow or page errors. + +`browser.py`, `browser-results.json` and15 modal screenshots retain checks. Script imports ignitionoee's existing loopback-only real zoom helper; this explicit harness dependency does not affect production. First browser harness treated fieldset as a Playwright disabled-matchable control. It has a disabled property but that matcher reported enabled; corrected proof checks native fieldset.disabled AND the effective disabled state of every body input/select/textarea. Raw initial log remains. No production workaround was applied. + +## Caller integration and limits + +RawTree/GlobalUns integration remains the primary agent's scope. RawName/RawDriver still invoke submit before self-close: a follow-up warning/message must be queued until the originating overlay has deactivated. Single-active ModalFrame deliberately rejects simultaneous overlays. RawDriver should receive explicit Target if its caller switches parent/folder context without a hide/reopen; RawName and message also offer Target when displayed values are identical. These sequencing notes were sent directly to the caller owner; this slice does not claim those caller flows accepted from isolated wrappers. + +A final two-case regression exposed that an edit without a loaded Existing DTO could otherwise fall back to an empty copied row version. A minimal pre-dispatch guard now refuses that invalid presentation, retaining the prior no-service-dispatch boundary; two valid red cases then pass. No create or loaded-edit payload meaning changes. A fresh final-source fixture build then passed a narrow additional32native assertions on the two affected wrappers at390px (browser-final-target-guard.json); the full15scene matrix remains separately retained. Callback/service exceptions continue to propagate to the existing route error boundary; there is no new generic stale-exception guarantee. + +No real operation was performed or cancelled. No shared ledger/gate edit. Parent and primary peer review accepted the bounded wrapper contracts and caller limits; only these five sources, own test and evidence are committed. The owned fixture is stopped after the commit without touching another agent's fixture. diff --git a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Raw/RawDriverTypeDialog.razor b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Raw/RawDriverTypeDialog.razor index 282923123..e2df8cd1e 100644 --- a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Raw/RawDriverTypeDialog.razor +++ b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Raw/RawDriverTypeDialog.razor @@ -1,53 +1,35 @@ -@* Driver-type picker for the /raw "New driver" action: pick a driver type + name, then the caller - creates a minimal driver (CreateDriverAsync with "{}") and the operator configures it afterwards via - the Configure-driver modal. Name is inline-validated as a RawPath segment. Markup mirrors the other - /raw modal shells. *@ @using ZB.MOM.WW.OtOpcUa.Commons.Types @using ZB.MOM.WW.OtOpcUa.Core.Abstractions - -@if (Visible) -{ - - +@implements IDisposable +@{ + var presentation = _generation; + var submitAction = OnSubmit; + var closeAction = VisibleChanged; } + + +
+
+
+ + +
A RawPath segment — no '/', no leading or trailing spaces.
+ +
+
+
+
+ + +
+
+
@code { + /// Whether the dialog is shown (supports @bind-Visible). [Parameter] public bool Visible { get; set; } @@ -57,6 +39,9 @@ /// Raised with the chosen driver type + name when the operator confirms; the dialog self-closes after. [Parameter] public EventCallback<(string DriverType, string Name)> OnSubmit { get; set; } + + /// Optional nonconfidential identity when successive targets share the same displayed values. + [Parameter] public object? Target { get; set; } // Label → DriverType value. Galaxy's factory registers as "GalaxyMxGateway". Guarded against // DriverTypeNames by RawDriverTypeDialogParityTests, which reads this field by reflection. private static readonly (string Label, string Value)[] Types = @@ -76,35 +61,53 @@ ("Heidenhain", DriverTypeNames.Heidenhain), ]; + + private readonly string _fieldScope = "ot-simple-" + Guid.NewGuid().ToString("N"); + private string FieldId(string suffix) => _fieldScope + "-" + suffix; + private string FieldIds(params string[] suffixes) => string.Join(" ", suffixes.Select(FieldId)); private string _type = DriverTypeNames.Modbus; private string _name = ""; private string? _error; - private bool _open; // seed once per open; preserve edits across unrelated re-renders + private bool _busy, _disposed, _lastVisible; + private object? _lastTarget; + private long _generation; protected override void OnParametersSet() { - if (!Visible) { _open = false; return; } - if (_open) { return; } - _open = true; + object? identity = Target; + if (_disposed || (_lastVisible == Visible && Equals(_lastTarget, identity))) return; + _lastVisible = Visible; + _lastTarget = identity; + ++_generation; + if (!Visible) return; _type = DriverTypeNames.Modbus; _name = ""; _error = null; } - private async Task Submit() + private async Task Submit(long generation, EventCallback<(string DriverType, string Name)> action, EventCallback closeAction) { + if (!Current(generation) || _busy) return; var err = RawPaths.ValidateSegment(_name); if (err is not null) { _error = err; return; } - await OnSubmit.InvokeAsync((_type, _name)); - await Close(); + var submitted = (_type, _name); + _busy = true; + try { await action.InvokeAsync(submitted); } + finally { _busy = false; } + if (Current(generation)) await Close(generation, closeAction); } - private Task Cancel() => Close(); - - private async Task Close() + private bool Current(long generation) => !_disposed && Visible && generation == _generation; + private Task Cancel(long generation, EventCallback closeAction) => Current(generation) && !_busy ? Close(generation, closeAction) : Task.CompletedTask; + private async Task Close(long generation, EventCallback closeAction) { + if (!Current(generation)) return; Visible = false; - _open = false; - await VisibleChanged.InvokeAsync(false); + _lastVisible = false; + ++_generation; + await closeAction.InvokeAsync(false); } + + /// Invalidates UI callbacks without cancelling a dispatched caller operation. + public void Dispose() { _disposed = true; ++_generation; } } diff --git a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Raw/RawNameDialog.razor b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Raw/RawNameDialog.razor index 2778dc79f..2496b029f 100644 --- a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Raw/RawNameDialog.razor +++ b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Raw/RawNameDialog.razor @@ -1,43 +1,31 @@ -@* Reusable name-input dialog for the /raw create + rename operations (New folder / New tag-group / - New group / Rename folder-driver-device-tag-group). Inline-validates the input as a RawPath segment - (RawPaths.ValidateSegment) before raising OnSubmit; a valid submit self-closes the dialog and the - caller runs the create/rename service call + surfaces any server-side error/warnings. Markup mirrors - the other /raw modal shells (RawStubModal). *@ @using ZB.MOM.WW.OtOpcUa.Commons.Types - -@if (Visible) -{ - - +@implements IDisposable +@{ + var presentation = _generation; + var submitAction = OnSubmit; + var closeAction = VisibleChanged; } + + +
+ + + +
A RawPath segment — no '/', no leading or trailing spaces.
+ +
+
+
+
+ + +
+
+
@code { + /// Whether the dialog is shown (supports @bind-Visible). [Parameter] public bool Visible { get; set; } @@ -53,38 +41,55 @@ /// Raised with the validated name when the operator confirms. The dialog self-closes after. [Parameter] public EventCallback OnSubmit { get; set; } + + /// Optional nonconfidential identity when successive targets share the same displayed values. + [Parameter] public object? Target { get; set; } + + private readonly string _fieldScope = "ot-simple-" + Guid.NewGuid().ToString("N"); + private string FieldId(string suffix) => _fieldScope + "-" + suffix; + private string FieldIds(params string[] suffixes) => string.Join(" ", suffixes.Select(FieldId)); + private string _value = ""; private string? _error; - private bool _open; // seed the input once per open; preserve typing across unrelated re-renders + private bool _busy, _disposed, _lastVisible; + private object? _lastTarget; + private long _generation; protected override void OnParametersSet() { - if (!Visible) { _open = false; return; } - if (_open) { return; } - _open = true; + object? identity = (Target, Title, Value); + if (_disposed || (_lastVisible == Visible && Equals(_lastTarget, identity))) return; + _lastVisible = Visible; + _lastTarget = identity; + ++_generation; + if (!Visible) return; _value = Value ?? ""; _error = null; } - private async Task Submit() + private async Task Submit(long generation, EventCallback action, EventCallback closeAction) { + if (!Current(generation) || _busy) return; var err = RawPaths.ValidateSegment(_value); if (err is not null) { _error = err; return; } - await OnSubmit.InvokeAsync(_value); - await Close(); + var submitted = _value; + _busy = true; + try { await action.InvokeAsync(submitted); } + finally { _busy = false; } + if (Current(generation)) await Close(generation, closeAction); } - private async Task OnKeyDown(KeyboardEventArgs e) - { - if (e.Key == "Enter") { await Submit(); } - } - - private Task Cancel() => Close(); - - private async Task Close() + private bool Current(long generation) => !_disposed && Visible && generation == _generation; + private Task Cancel(long generation, EventCallback closeAction) => Current(generation) && !_busy ? Close(generation, closeAction) : Task.CompletedTask; + private async Task Close(long generation, EventCallback closeAction) { + if (!Current(generation)) return; Visible = false; - _open = false; - await VisibleChanged.InvokeAsync(false); + _lastVisible = false; + ++_generation; + await closeAction.InvokeAsync(false); } + private Task OnKeyDown(KeyboardEventArgs e, long generation, EventCallback action, EventCallback closeAction) => e.Key == "Enter" ? Submit(generation, action, closeAction) : Task.CompletedTask; + /// Invalidates UI callbacks without cancelling a dispatched caller operation. + public void Dispose() { _disposed = true; ++_generation; } } diff --git a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Raw/RawStubModal.razor b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Raw/RawStubModal.razor index 79aff4511..4f3ad36e0 100644 --- a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Raw/RawStubModal.razor +++ b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Raw/RawStubModal.razor @@ -1,37 +1,14 @@ -@* Placeholder modal for the /raw context-menu actions whose real dialogs - (Configure / Device / TagModal / CSV import-export / Browse device / Rename) - land in later Batch-2 waves (B/C). This wave wires every menu action to a - named handler that opens this "coming soon" placeholder, so the tree + lazy - expansion + menus can be live-verified without the real modals existing yet. - Wave B/C replaces each handler body with the real modal invocation and can - then delete this component. Markup mirrors the GlobalUns delete-confirm modal. *@ - -@if (Visible) -{ - - -} - +@implements IDisposable +@{ var presentation = _generation; var closeAction = OnClose; } + + + @if (!string.IsNullOrWhiteSpace(NodeName)) + {

Target: @NodeName

} +
+
+
@code { + /// Whether the placeholder is shown. [Parameter] public bool Visible { get; set; } @@ -46,4 +23,25 @@ /// Raised when the placeholder is dismissed. [Parameter] public EventCallback OnClose { get; set; } + + /// Optional nonconfidential identity for successive messages with identical captions. + [Parameter] public object? Target { get; set; } + private bool _lastVisible, _disposed, _closing; + private object? _lastTarget; + private long _generation; + protected override void OnParametersSet() + { + object identity = (Target, Title, Message, NodeName); + if (_lastVisible == Visible && Equals(_lastTarget, identity)) return; + _lastVisible = Visible; _lastTarget = identity; ++_generation; + } + private async Task Close(long generation, EventCallback action) + { + if (_disposed || !Visible || generation != _generation || _closing) return; + _closing = true; + try { await action.InvokeAsync(); } + finally { _closing = false; } + } + /// Invalidates old presentation callbacks. + public void Dispose() { _disposed = true; ++_generation; } } diff --git a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Uns/AreaModal.razor b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Uns/AreaModal.razor index 01a6a6624..5696c803d 100644 --- a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Uns/AreaModal.razor +++ b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Uns/AreaModal.razor @@ -1,72 +1,64 @@ -@* Create/edit modal for a UNS area, wired straight into IUnsTreeService. The host page owns - visibility and supplies the parent cluster (create) or the loaded AreaEditDto (edit) plus the - served-by cluster list. On a successful save it raises OnSaved so the host can reload the tree. *@ @using System.ComponentModel.DataAnnotations @using Microsoft.AspNetCore.Components.Forms @using ZB.MOM.WW.OtOpcUa.Configuration.Validation @using ZB.MOM.WW.OtOpcUa.AdminUI.Uns @inject IUnsTreeService Svc +@implements IDisposable +@{ + var presentation = _generation; + var savedAction = OnSaved; + var cancelAction = OnCancel; +} + + + + +
-@if (Visible) -{ - -
+
+
+
+
+ +
- -} +
+
@code { + /// Whether the modal is shown. The host owns this flag. [Parameter] public bool Visible { get; set; } @@ -88,13 +80,25 @@ /// Raised when the user cancels so the host can close. [Parameter] public EventCallback OnCancel { get; set; } + + /// Optional nonconfidential target identity for successive presentations. + [Parameter] public object? Target { get; set; } + private readonly string _fieldScope = "ot-simple-" + Guid.NewGuid().ToString("N"); + private string FieldId(string suffix) => _fieldScope + "-" + suffix; + private string FieldIds(params string[] suffixes) => string.Join(" ", suffixes.Select(FieldId)); private FormModel _form = new(); - private bool _busy; + private bool _busy, _closing, _disposed, _lastVisible; + private bool Pending => _busy || _closing; + private object? _lastTarget; + private long _generation; private string? _error; protected override void OnParametersSet() { - // Rebuild the working form whenever the host (re)opens the modal for a fresh target. + object identity = (Target, IsNew, ClusterId, Existing); + if (_disposed || (_lastVisible == Visible && Equals(_lastTarget, identity))) return; + _lastVisible = Visible; _lastTarget = identity; ++_generation; + if (!Visible) return; if (IsNew) { _form = new FormModel { ClusterId = ClusterId ?? "" }; @@ -109,35 +113,38 @@ ClusterId = Existing.ClusterId, }; } + _error = null; } - private async Task SaveAsync() + private async Task SaveAsync(long generation, EventCallback savedAction) { + if (!Current(generation) || Pending || (!IsNew && Existing is null)) return; + var submitted = new FormModel { UnsAreaId = _form.UnsAreaId, Name = _form.Name, Notes = _form.Notes, ClusterId = _form.ClusterId }; + var isNew = IsNew; + var rowVersion = Existing?.RowVersion.ToArray() ?? Array.Empty(); _busy = true; _error = null; try { - var result = IsNew - ? await Svc.CreateAreaAsync(_form.ClusterId, _form.UnsAreaId, _form.Name, _form.Notes) - : await Svc.UpdateAreaAsync(_form.UnsAreaId, _form.Name, _form.Notes, _form.ClusterId, Existing!.RowVersion); - - if (result.Ok) - { - await OnSaved.InvokeAsync(); - } - else - { - _error = result.Error; - } - } - finally - { - _busy = false; + var result = isNew ? await Svc.CreateAreaAsync(submitted.ClusterId, submitted.UnsAreaId, submitted.Name, submitted.Notes) : await Svc.UpdateAreaAsync(submitted.UnsAreaId, submitted.Name, submitted.Notes, submitted.ClusterId, rowVersion); + if (!Current(generation)) return; + if (result.Ok) await savedAction.InvokeAsync(); + else _error = result.Error; } + finally { _busy = false; } } - private Task CancelAsync() => OnCancel.InvokeAsync(); + private bool Current(long generation) => !_disposed && Visible && generation == _generation; + private async Task CancelAsync(long generation, EventCallback cancelAction) + { + if (!Current(generation) || Pending) return; + _closing = true; + try { await cancelAction.InvokeAsync(); } + finally { _closing = false; } + } + /// Invalidates UI callbacks without cancelling a dispatched service operation. + public void Dispose() { _disposed = true; ++_generation; } private sealed class FormModel { @@ -147,4 +154,5 @@ [Required] public string ClusterId { get; set; } = ""; public string? Notes { get; set; } } + } diff --git a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Uns/LineModal.razor b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Uns/LineModal.razor index a172bb152..122e848bc 100644 --- a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Uns/LineModal.razor +++ b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Uns/LineModal.razor @@ -1,73 +1,64 @@ -@* Create/edit modal for a UNS line, wired straight into IUnsTreeService. The host page owns - visibility and supplies the parent area (create) or the loaded LineEditDto (edit). The parent-area - list is SCOPED TO THE LINE'S CLUSTER by the host so an edit cannot move a line across clusters. - On a successful save it raises OnSaved so the host can reload the tree. *@ @using System.ComponentModel.DataAnnotations @using Microsoft.AspNetCore.Components.Forms @using ZB.MOM.WW.OtOpcUa.Configuration.Validation @using ZB.MOM.WW.OtOpcUa.AdminUI.Uns @inject IUnsTreeService Svc +@implements IDisposable +@{ + var presentation = _generation; + var savedAction = OnSaved; + var cancelAction = OnCancel; +} + + + + +
-@if (Visible) -{ - -
+
+
+
+
+ +
- -} +
+
@code { + /// Whether the modal is shown. The host owns this flag. [Parameter] public bool Visible { get; set; } @@ -89,13 +80,25 @@ /// Raised when the user cancels so the host can close. [Parameter] public EventCallback OnCancel { get; set; } + + /// Optional nonconfidential target identity for successive presentations. + [Parameter] public object? Target { get; set; } + private readonly string _fieldScope = "ot-simple-" + Guid.NewGuid().ToString("N"); + private string FieldId(string suffix) => _fieldScope + "-" + suffix; + private string FieldIds(params string[] suffixes) => string.Join(" ", suffixes.Select(FieldId)); private FormModel _form = new(); - private bool _busy; + private bool _busy, _closing, _disposed, _lastVisible; + private bool Pending => _busy || _closing; + private object? _lastTarget; + private long _generation; private string? _error; protected override void OnParametersSet() { - // Rebuild the working form whenever the host (re)opens the modal for a fresh target. + object identity = (Target, IsNew, UnsAreaId, Existing); + if (_disposed || (_lastVisible == Visible && Equals(_lastTarget, identity))) return; + _lastVisible = Visible; _lastTarget = identity; ++_generation; + if (!Visible) return; if (IsNew) { _form = new FormModel { UnsAreaId = UnsAreaId ?? "" }; @@ -110,35 +113,38 @@ Notes = Existing.Notes, }; } + _error = null; } - private async Task SaveAsync() + private async Task SaveAsync(long generation, EventCallback savedAction) { + if (!Current(generation) || Pending || (!IsNew && Existing is null)) return; + var submitted = new FormModel { UnsLineId = _form.UnsLineId, UnsAreaId = _form.UnsAreaId, Name = _form.Name, Notes = _form.Notes }; + var isNew = IsNew; + var rowVersion = Existing?.RowVersion.ToArray() ?? Array.Empty(); _busy = true; _error = null; try { - var result = IsNew - ? await Svc.CreateLineAsync(_form.UnsAreaId, _form.UnsLineId, _form.Name, _form.Notes) - : await Svc.UpdateLineAsync(_form.UnsLineId, _form.Name, _form.Notes, _form.UnsAreaId, Existing!.RowVersion); - - if (result.Ok) - { - await OnSaved.InvokeAsync(); - } - else - { - _error = result.Error; - } - } - finally - { - _busy = false; + var result = isNew ? await Svc.CreateLineAsync(submitted.UnsAreaId, submitted.UnsLineId, submitted.Name, submitted.Notes) : await Svc.UpdateLineAsync(submitted.UnsLineId, submitted.Name, submitted.Notes, submitted.UnsAreaId, rowVersion); + if (!Current(generation)) return; + if (result.Ok) await savedAction.InvokeAsync(); + else _error = result.Error; } + finally { _busy = false; } } - private Task CancelAsync() => OnCancel.InvokeAsync(); + private bool Current(long generation) => !_disposed && Visible && generation == _generation; + private async Task CancelAsync(long generation, EventCallback cancelAction) + { + if (!Current(generation) || Pending) return; + _closing = true; + try { await cancelAction.InvokeAsync(); } + finally { _closing = false; } + } + /// Invalidates UI callbacks without cancelling a dispatched service operation. + public void Dispose() { _disposed = true; ++_generation; } private sealed class FormModel { @@ -148,4 +154,5 @@ public string Name { get; set; } = ""; public string? Notes { get; set; } } + } diff --git a/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/SimpleModalAccessibilityTests.cs b/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/SimpleModalAccessibilityTests.cs new file mode 100644 index 000000000..e05fb9b36 --- /dev/null +++ b/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/SimpleModalAccessibilityTests.cs @@ -0,0 +1,253 @@ +using System.Reflection; +using Bunit; +using Microsoft.AspNetCore.Components; +using Microsoft.Extensions.DependencyInjection; +using Shouldly; +using Xunit; +using ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Raw; +using ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Uns; +using ZB.MOM.WW.OtOpcUa.AdminUI.Uns; + +namespace ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages; + +/// Simple wrapper names, field relationships and draft/pending ownership. +[Trait("Category", "Unit")] +public sealed class SimpleModalAccessibilityTests : BunitContext +{ + public SimpleModalAccessibilityTests() + { + JSInterop.Setup("otDialog.activate", _ => true).SetResult(true); + JSInterop.SetupVoid("otDialog.update", _ => true).SetVoidResult(); + JSInterop.SetupVoid("otDialog.deactivate", _ => true).SetVoidResult(); + Services.AddSingleton(DispatchProxy.Create()); + } + + [Theory] + [InlineData("name")] + [InlineData("driver")] + [InlineData("message")] + [InlineData("area")] + [InlineData("line")] + public void Wrapper_IsNamed_WithSafeCancel_AndUniqueFields(string kind) + { + var first = RenderWrapper(kind); + var second = RenderWrapper(kind); + foreach (var cut in new[] { first, second }) + { + var dialog = cut.Find("[role=dialog]"); + dialog.GetAttribute("aria-modal").ShouldBe("true"); + var titleId = dialog.GetAttribute("aria-labelledby"); + titleId.ShouldNotBeNullOrWhiteSpace(); + cut.Find("#" + titleId).TextContent.ShouldNotBeNullOrWhiteSpace(); + cut.Find(".modal-footer [data-initial-focus]").TextContent.Trim().ShouldBe(kind == "message" ? "Close" : "Cancel"); + foreach (var input in cut.FindAll("input:not([type=hidden]),select,textarea")) + { + input.Id.ShouldNotBeNullOrWhiteSpace(); + cut.FindAll("label").ShouldContain(label => label.GetAttribute("for") == input.Id); + foreach (var id in (input.GetAttribute("aria-describedby") ?? "").Split(' ',StringSplitOptions.RemoveEmptyEntries)) + cut.Find("#" + id).ShouldNotBeNull(); + } + } + var ids = first.FindAll("[id]").Concat(second.FindAll("[id]")).Select(n => n.Id).ToArray(); + ids.Distinct(StringComparer.Ordinal).Count().ShouldBe(ids.Length); + } + + [Fact] + public void Area_UnrelatedRenderPreservesDraft() + { + var cut = Render(p => p.Add(x => x.Visible,true).Add(x => x.IsNew,true).Add(x => x.ClusterId,"C1")); + cut.FindAll("input").Single(x => x.Id?.Contains("area-name",StringComparison.Ordinal) == true).Change("local-draft"); + cut.Render(p => p.Add(x => x.Clusters,new[] {("C1","Updated label")})); + cut.FindAll("input").Single(x => x.Id?.Contains("area-name",StringComparison.Ordinal) == true).GetAttribute("value").ShouldBe("local-draft"); + } + + [Fact] + public async Task Name_PendingSubmitBlocksClose_AndCannotCloseNewTarget() + { + var pending = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); + var entered = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); + var calls=0; var closes=0; + var cut = Render(p => p.Add(x => x.Visible,true).Add(x => x.Title,"Rename A").Add(x => x.Value,"A") + .Add(x => x.VisibleChanged, _ => closes++).Add(x => x.OnSubmit,async _ => {calls++;entered.SetResult();await pending.Task;})); + var submit = cut.Find(".modal-footer .btn-primary").TriggerEventAsync("onclick",new Microsoft.AspNetCore.Components.Web.MouseEventArgs()); + await entered.Task.WaitAsync(TimeSpan.FromSeconds(10), Xunit.TestContext.Current.CancellationToken); + try + { + cut.Find(".btn-close").HasAttribute("disabled").ShouldBeTrue(); + cut.Find("fieldset").HasAttribute("disabled").ShouldBeTrue(); + cut.Render(p => p.Add(x => x.Title,"Rename B").Add(x => x.Value,"B").Add(x => x.VisibleChanged,_ => closes+=100)); + } + finally {pending.SetResult();await submit;} + calls.ShouldBe(1);closes.ShouldBe(0); + cut.Find("input").GetAttribute("value").ShouldBe("B"); + cut.FindAll("[role=dialog]").Count.ShouldBe(1); + } + + [Theory] + [InlineData(false, false)] + [InlineData(false, true)] + [InlineData(true, false)] + [InlineData(true, true)] + public async Task AreaAndLine_PendingSnapshotCannotAffectNewPresentation(bool line, bool failure) + { + Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.RemoveAll(Services); + var service = DispatchProxy.Create(); + var delayed = (DelayedOperations)(object)service; + Services.AddSingleton(service); + var version = new byte[] { 1, 2 }; + var saves = 0; var cancels = 0; + Dictionary Parameters(bool second) => new() { + ["Visible"] = true, ["IsNew"] = false, + ["Existing"] = line + ? new LineEditDto(second ? "B" : "A", "AREA1", second ? "beta" : "alpha", second ? "new notes" : "old notes", second ? [3] : version) + : (object)new AreaEditDto(second ? "B" : "A", second ? "beta" : "alpha", second ? "new notes" : "old notes", "C1", second ? [3] : version), + ["OnSaved"] = EventCallback.Factory.Create(this, () => saves += second ? 100 : 1), + ["OnCancel"] = EventCallback.Factory.Create(this, () => cancels++) + }; + var cut = Render(p => p.Add(x => x.Type,line ? typeof(LineModal) : typeof(AreaModal)).Add(x => x.Parameters, Parameters(false))); + var submitting = cut.Find("form").TriggerEventAsync("onsubmit",EventArgs.Empty); + await delayed.Entered.Task.WaitAsync(TimeSpan.FromSeconds(10),Xunit.TestContext.Current.CancellationToken); + try + { + cut.Find("fieldset").HasAttribute("disabled").ShouldBeTrue(); + cut.Find(".btn-close").HasAttribute("disabled").ShouldBeTrue(); + await cut.Find(".modal-footer .btn-outline-secondary").TriggerEventAsync("onclick",new Microsoft.AspNetCore.Components.Web.MouseEventArgs()); + await cut.Find("form").TriggerEventAsync("onsubmit",EventArgs.Empty); + delayed.Calls.ShouldBe(1);cancels.ShouldBe(0); + version[0] = 9; + cut.Render(p => p.Add(x => x.Parameters,Parameters(true))); + cut.FindAll("input").Single(x => x.Id?.EndsWith("-name",StringComparison.Ordinal)==true).GetAttribute("value").ShouldBe("beta"); + } + finally { delayed.Pending.SetResult(new UnsMutationResult(!failure,failure ? "Old target failure" : null)); await submitting; } + delayed.Method.ShouldBe(line ? "UpdateLineAsync" : "UpdateAreaAsync"); + delayed.Arguments![0].ShouldBe("A");delayed.Arguments[1].ShouldBe("alpha");delayed.Arguments[2].ShouldBe("old notes"); + ((byte[])delayed.Arguments[4]!).ShouldBe(new byte[] { 1,2 }); + saves.ShouldBe(0);cancels.ShouldBe(0); + cut.Markup.ShouldNotContain("Old target failure"); + cut.FindAll("[role=dialog]").Count.ShouldBe(1); + cut.FindAll("input").Single(x => x.Id?.EndsWith("-name",StringComparison.Ordinal)==true).GetAttribute("value").ShouldBe("beta"); + } + + public class DelayedOperations : DispatchProxy + { + public readonly TaskCompletionSource Entered = new(TaskCreationOptions.RunContinuationsAsynchronously); + public readonly TaskCompletionSource Pending = new(TaskCreationOptions.RunContinuationsAsynchronously); + public int Calls; + public string? Method; + public object?[]? Arguments; + protected override object? Invoke(MethodInfo? method,object?[]? args) + { + if (method?.Name is not ("UpdateAreaAsync" or "UpdateLineAsync")) throw new InvalidOperationException("Unexpected operation: "+method?.Name); + Calls++;Method=method.Name;Arguments=args;Entered.TrySetResult();return Pending.Task; + } + } + + [Fact] + public async Task Driver_PendingTypedPayloadAndCallbackStayWithOriginalTarget() + { + var pending = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); + var entered = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); + (string DriverType,string Name) submitted=default; + var closes=0;var newerCalls=0; + var cut=Render(p=>p.Add(x=>x.Visible,true).Add(x=>x.Target,"A") + .Add(x=>x.VisibleChanged,_=>closes++).Add(x=>x.OnSubmit,async value=>{submitted=value;entered.SetResult();await pending.Task;})); + cut.Find("select").Change("S7"); + await cut.Find("input").TriggerEventAsync("oninput",new ChangeEventArgs{Value="alpha"}); + var saving=cut.Find(".modal-footer .btn-primary").TriggerEventAsync("onclick",new Microsoft.AspNetCore.Components.Web.MouseEventArgs()); + await entered.Task.WaitAsync(TimeSpan.FromSeconds(10),Xunit.TestContext.Current.CancellationToken); + try + { + await cut.Find(".modal-footer .btn-outline-secondary").TriggerEventAsync("onclick",new Microsoft.AspNetCore.Components.Web.MouseEventArgs()); + await cut.Find(".modal-footer .btn-primary").TriggerEventAsync("onclick",new Microsoft.AspNetCore.Components.Web.MouseEventArgs()); + cut.Render(p=>p.Add(x=>x.Target,"B").Add(x=>x.OnSubmit,_=>newerCalls++).Add(x=>x.VisibleChanged,_=>closes+=100)); + } + finally {pending.SetResult();await saving;} + submitted.ShouldBe(("S7","alpha"));closes.ShouldBe(0);newerCalls.ShouldBe(0); + cut.Find("input").GetAttribute("value").ShouldBe(""); + cut.Find("select").GetAttribute("value").ShouldBe("Modbus"); + cut.FindAll("[role=dialog]").Count.ShouldBe(1); + } + + [Fact] + public async Task Name_DisposalInvalidatesPendingCloseWithoutCancellingSubmittedAction() + { + var pending = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); + var entered = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); + var completed=false;var closes=0; + var cut=Render(p=>p.Add(x=>x.Visible,true).Add(x=>x.Value,"alpha") + .Add(x=>x.VisibleChanged,_=>closes++).Add(x=>x.OnSubmit,async _=>{entered.SetResult();await pending.Task;completed=true;})); + var saving=cut.Find(".modal-footer .btn-primary").TriggerEventAsync("onclick",new Microsoft.AspNetCore.Components.Web.MouseEventArgs()); + await entered.Task.WaitAsync(TimeSpan.FromSeconds(10),Xunit.TestContext.Current.CancellationToken); + await DisposeComponentsAsync();pending.SetResult();await saving; + completed.ShouldBeTrue();closes.ShouldBe(0); + } + + [Theory] + [InlineData(false)] + [InlineData(true)] + public async Task AreaAndLine_PendingCancelDispatchesOnlyOnce(bool line) + { + var pending=new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); + var entered=new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); + var calls=0; + var parameters=new Dictionary{["Visible"]=true,["IsNew"]=true, + ["OnCancel"]=EventCallback.Factory.Create(this,async()=>{calls++;entered.TrySetResult();await pending.Task;})}; + var cut=Render(p=>p.Add(x=>x.Type,line?typeof(LineModal):typeof(AreaModal)).Add(x=>x.Parameters,parameters)); + var first=cut.Find(".modal-footer .btn-outline-secondary").TriggerEventAsync("onclick",new Microsoft.AspNetCore.Components.Web.MouseEventArgs()); + await entered.Task.WaitAsync(TimeSpan.FromSeconds(10),Xunit.TestContext.Current.CancellationToken); + Task? second=null; + try + { + second=cut.Find(".modal-footer .btn-outline-secondary").TriggerEventAsync("onclick",new Microsoft.AspNetCore.Components.Web.MouseEventArgs()); + calls.ShouldBe(1); + } + finally {pending.SetResult();await first;if(second is not null)await second;} + } + + [Theory] + [InlineData(false)] + [InlineData(true)] + public async Task EditWithoutLoadedTargetCannotSubmitPreviousDraft(bool line) + { + Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.RemoveAll(Services); + var service=DispatchProxy.Create(); + Services.AddSingleton(service); + var parameters=new Dictionary{["Visible"]=true,["IsNew"]=false,["Existing"]=line + ? new LineEditDto("A","AREA1","alpha",null,[1]) + : (object)new AreaEditDto("A","alpha",null,"C1",[1])}; + var cut=Render(p=>p.Add(x=>x.Type,line?typeof(LineModal):typeof(AreaModal)).Add(x=>x.Parameters,parameters)); + parameters=new Dictionary(parameters){["Existing"]=null!}; + cut.Render(p=>p.Add(x=>x.Parameters,parameters)); + await cut.Find("form").TriggerEventAsync("onsubmit",EventArgs.Empty); + ((RecordingOperations)(object)service).Calls.ShouldBe(0); + } + + public class RecordingOperations:DispatchProxy + { + public int Calls; + protected override object? Invoke(MethodInfo? method,object?[]? args) + { + if(method?.Name is not ("UpdateAreaAsync" or "UpdateLineAsync"))throw new InvalidOperationException("Unexpected operation"); + Calls++;return Task.FromResult(new UnsMutationResult(false,"Not dispatched to a real provider")); + } + } + + private IRenderedComponent RenderWrapper(string kind) + { + var type = kind switch { "name" => typeof(RawNameDialog), "driver" => typeof(RawDriverTypeDialog), + "message" => typeof(RawStubModal), "area" => typeof(AreaModal), "line" => typeof(LineModal), + _ => throw new ArgumentOutOfRangeException(nameof(kind)) }; + var parameters = new Dictionary { ["Visible"] = true }; + if (kind == "name") parameters["Title"] = "New folder"; + if (kind == "message") { parameters["Title"] = "Rename warning"; parameters["Message"] = "Synthetic read-only warning"; } + if (kind is "area" or "line") parameters["IsNew"] = true; + if (kind == "area") parameters["ClusterId"] = "C1"; + if (kind == "line") parameters["UnsAreaId"] = "A1"; + return Render(p => p.Add(x => x.Type,type).Add(x => x.Parameters,parameters)); + } + + public class RefuseOperations : DispatchProxy + { + protected override object? Invoke(MethodInfo? method,object?[]? args) => throw new InvalidOperationException("No service operation allowed: "+method?.Name); + } +}