diff --git a/docs/ui-consistency/ot04-05/browser-results.json b/docs/ui-consistency/ot04-05/browser-results.json new file mode 100644 index 000000000..0312dcdc3 --- /dev/null +++ b/docs/ui-consistency/ot04-05/browser-results.json @@ -0,0 +1,1325 @@ +{ + "origin": "http://127.0.0.1:58714", + "scenes": [ + { + "mode": "desktop", + "role": "Viewer", + "zoom": 1, + "geometry": { + "innerWidth": 1440, + "scrollWidth": 1440, + "dpr": 1, + "navOverflow": "auto" + }, + "checks": [ + { + "name": "Page title product-qualified", + "passed": true + }, + { + "name": "First useful task visible", + "passed": true + }, + { + "name": "Exact policy destination /raw", + "passed": true + }, + { + "name": "Exact policy destination /uns", + "passed": true + }, + { + "name": "Exact policy destination /deployments", + "passed": true + }, + { + "name": "Exact policy destination /scripts", + "passed": true + }, + { + "name": "Exact policy destination /role-grants", + "passed": true + }, + { + "name": "Exact policy destination /apikeys", + "passed": true + }, + { + "name": "Exact policy destination /admin/secrets", + "passed": true + }, + { + "name": "Read-only destinations remain discoverable", + "passed": true + }, + { + "name": "Overview current location", + "passed": true + }, + { + "name": "Session footer reachable", + "passed": true + }, + { + "name": "Breakpoint-appropriate nav scrolling", + "passed": true + }, + { + "name": "No document horizontal overflow", + "passed": true + }, + { + "name": "Retained compatibility route /clusters/C1/namespaces", + "passed": true + }, + { + "name": "No ordinary retired Namespace link /clusters/C1/namespaces", + "passed": true + }, + { + "name": "Compatibility authoring gated /clusters/C1/namespaces", + "passed": true + }, + { + "name": "Retained compatibility route /clusters/C1/namespaces/new", + "passed": true + }, + { + "name": "No ordinary retired Namespace link /clusters/C1/namespaces/new", + "passed": true + }, + { + "name": "Compatibility authoring gated /clusters/C1/namespaces/new", + "passed": true + }, + { + "name": "Retained compatibility route /clusters/C1/namespaces/N1", + "passed": true + }, + { + "name": "No ordinary retired Namespace link /clusters/C1/namespaces/N1", + "passed": true + }, + { + "name": "Compatibility authoring gated /clusters/C1/namespaces/N1", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + }, + { + "mode": "desktop", + "role": "Operator", + "zoom": 1, + "geometry": { + "innerWidth": 1440, + "scrollWidth": 1440, + "dpr": 1, + "navOverflow": "auto" + }, + "checks": [ + { + "name": "Page title product-qualified", + "passed": true + }, + { + "name": "First useful task visible", + "passed": true + }, + { + "name": "Exact policy destination /raw", + "passed": true + }, + { + "name": "Exact policy destination /uns", + "passed": true + }, + { + "name": "Exact policy destination /deployments", + "passed": true + }, + { + "name": "Exact policy destination /scripts", + "passed": true + }, + { + "name": "Exact policy destination /role-grants", + "passed": true + }, + { + "name": "Exact policy destination /apikeys", + "passed": true + }, + { + "name": "Exact policy destination /admin/secrets", + "passed": true + }, + { + "name": "Read-only destinations remain discoverable", + "passed": true + }, + { + "name": "Overview current location", + "passed": true + }, + { + "name": "Session footer reachable", + "passed": true + }, + { + "name": "Breakpoint-appropriate nav scrolling", + "passed": true + }, + { + "name": "No document horizontal overflow", + "passed": true + }, + { + "name": "Retained compatibility route /clusters/C1/namespaces", + "passed": true + }, + { + "name": "No ordinary retired Namespace link /clusters/C1/namespaces", + "passed": true + }, + { + "name": "Compatibility authoring gated /clusters/C1/namespaces", + "passed": true + }, + { + "name": "Retained compatibility route /clusters/C1/namespaces/new", + "passed": true + }, + { + "name": "No ordinary retired Namespace link /clusters/C1/namespaces/new", + "passed": true + }, + { + "name": "Compatibility authoring gated /clusters/C1/namespaces/new", + "passed": true + }, + { + "name": "Retained compatibility route /clusters/C1/namespaces/N1", + "passed": true + }, + { + "name": "No ordinary retired Namespace link /clusters/C1/namespaces/N1", + "passed": true + }, + { + "name": "Compatibility authoring gated /clusters/C1/namespaces/N1", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + }, + { + "mode": "desktop", + "role": "Designer", + "zoom": 1, + "geometry": { + "innerWidth": 1440, + "scrollWidth": 1440, + "dpr": 1, + "navOverflow": "auto" + }, + "checks": [ + { + "name": "Page title product-qualified", + "passed": true + }, + { + "name": "First useful task visible", + "passed": true + }, + { + "name": "Exact policy destination /raw", + "passed": true + }, + { + "name": "Exact policy destination /uns", + "passed": true + }, + { + "name": "Exact policy destination /deployments", + "passed": true + }, + { + "name": "Exact policy destination /scripts", + "passed": true + }, + { + "name": "Exact policy destination /role-grants", + "passed": true + }, + { + "name": "Exact policy destination /apikeys", + "passed": true + }, + { + "name": "Exact policy destination /admin/secrets", + "passed": true + }, + { + "name": "Read-only destinations remain discoverable", + "passed": true + }, + { + "name": "Overview current location", + "passed": true + }, + { + "name": "Session footer reachable", + "passed": true + }, + { + "name": "Breakpoint-appropriate nav scrolling", + "passed": true + }, + { + "name": "No document horizontal overflow", + "passed": true + }, + { + "name": "Retained compatibility route /clusters/C1/namespaces", + "passed": true + }, + { + "name": "No ordinary retired Namespace link /clusters/C1/namespaces", + "passed": true + }, + { + "name": "Compatibility authoring gated /clusters/C1/namespaces", + "passed": true + }, + { + "name": "Retained compatibility route /clusters/C1/namespaces/new", + "passed": true + }, + { + "name": "No ordinary retired Namespace link /clusters/C1/namespaces/new", + "passed": true + }, + { + "name": "Compatibility authoring gated /clusters/C1/namespaces/new", + "passed": true + }, + { + "name": "Retained compatibility route /clusters/C1/namespaces/N1", + "passed": true + }, + { + "name": "No ordinary retired Namespace link /clusters/C1/namespaces/N1", + "passed": true + }, + { + "name": "Compatibility authoring gated /clusters/C1/namespaces/N1", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + }, + { + "mode": "desktop", + "role": "Administrator", + "zoom": 1, + "geometry": { + "innerWidth": 1440, + "scrollWidth": 1440, + "dpr": 1, + "navOverflow": "auto" + }, + "checks": [ + { + "name": "Page title product-qualified", + "passed": true + }, + { + "name": "First useful task visible", + "passed": true + }, + { + "name": "Exact policy destination /raw", + "passed": true + }, + { + "name": "Exact policy destination /uns", + "passed": true + }, + { + "name": "Exact policy destination /deployments", + "passed": true + }, + { + "name": "Exact policy destination /scripts", + "passed": true + }, + { + "name": "Exact policy destination /role-grants", + "passed": true + }, + { + "name": "Exact policy destination /apikeys", + "passed": true + }, + { + "name": "Exact policy destination /admin/secrets", + "passed": true + }, + { + "name": "Read-only destinations remain discoverable", + "passed": true + }, + { + "name": "Overview current location", + "passed": true + }, + { + "name": "Session footer reachable", + "passed": true + }, + { + "name": "Breakpoint-appropriate nav scrolling", + "passed": true + }, + { + "name": "No document horizontal overflow", + "passed": true + }, + { + "name": "Retained compatibility route /clusters/C1/namespaces", + "passed": true + }, + { + "name": "No ordinary retired Namespace link /clusters/C1/namespaces", + "passed": true + }, + { + "name": "Compatibility authoring gated /clusters/C1/namespaces", + "passed": true + }, + { + "name": "Retained compatibility route /clusters/C1/namespaces/new", + "passed": true + }, + { + "name": "No ordinary retired Namespace link /clusters/C1/namespaces/new", + "passed": true + }, + { + "name": "Compatibility authoring gated /clusters/C1/namespaces/new", + "passed": true + }, + { + "name": "Retained compatibility route /clusters/C1/namespaces/N1", + "passed": true + }, + { + "name": "No ordinary retired Namespace link /clusters/C1/namespaces/N1", + "passed": true + }, + { + "name": "Compatibility authoring gated /clusters/C1/namespaces/N1", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + }, + { + "mode": "phone", + "role": "Viewer", + "zoom": 1, + "geometry": { + "innerWidth": 390, + "scrollWidth": 390, + "dpr": 1, + "navOverflow": "visible" + }, + "checks": [ + { + "name": "Page title product-qualified", + "passed": true + }, + { + "name": "First useful task visible", + "passed": true + }, + { + "name": "Exact policy destination /raw", + "passed": true + }, + { + "name": "Exact policy destination /uns", + "passed": true + }, + { + "name": "Exact policy destination /deployments", + "passed": true + }, + { + "name": "Exact policy destination /scripts", + "passed": true + }, + { + "name": "Exact policy destination /role-grants", + "passed": true + }, + { + "name": "Exact policy destination /apikeys", + "passed": true + }, + { + "name": "Exact policy destination /admin/secrets", + "passed": true + }, + { + "name": "Read-only destinations remain discoverable", + "passed": true + }, + { + "name": "Overview current location", + "passed": true + }, + { + "name": "Session footer reachable", + "passed": true + }, + { + "name": "Breakpoint-appropriate nav scrolling", + "passed": true + }, + { + "name": "No document horizontal overflow", + "passed": true + }, + { + "name": "Retained compatibility route /clusters/C1/namespaces", + "passed": true + }, + { + "name": "No ordinary retired Namespace link /clusters/C1/namespaces", + "passed": true + }, + { + "name": "Compatibility authoring gated /clusters/C1/namespaces", + "passed": true + }, + { + "name": "Retained compatibility route /clusters/C1/namespaces/new", + "passed": true + }, + { + "name": "No ordinary retired Namespace link /clusters/C1/namespaces/new", + "passed": true + }, + { + "name": "Compatibility authoring gated /clusters/C1/namespaces/new", + "passed": true + }, + { + "name": "Retained compatibility route /clusters/C1/namespaces/N1", + "passed": true + }, + { + "name": "No ordinary retired Namespace link /clusters/C1/namespaces/N1", + "passed": true + }, + { + "name": "Compatibility authoring gated /clusters/C1/namespaces/N1", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + }, + { + "mode": "phone", + "role": "Operator", + "zoom": 1, + "geometry": { + "innerWidth": 390, + "scrollWidth": 390, + "dpr": 1, + "navOverflow": "visible" + }, + "checks": [ + { + "name": "Page title product-qualified", + "passed": true + }, + { + "name": "First useful task visible", + "passed": true + }, + { + "name": "Exact policy destination /raw", + "passed": true + }, + { + "name": "Exact policy destination /uns", + "passed": true + }, + { + "name": "Exact policy destination /deployments", + "passed": true + }, + { + "name": "Exact policy destination /scripts", + "passed": true + }, + { + "name": "Exact policy destination /role-grants", + "passed": true + }, + { + "name": "Exact policy destination /apikeys", + "passed": true + }, + { + "name": "Exact policy destination /admin/secrets", + "passed": true + }, + { + "name": "Read-only destinations remain discoverable", + "passed": true + }, + { + "name": "Overview current location", + "passed": true + }, + { + "name": "Session footer reachable", + "passed": true + }, + { + "name": "Breakpoint-appropriate nav scrolling", + "passed": true + }, + { + "name": "No document horizontal overflow", + "passed": true + }, + { + "name": "Retained compatibility route /clusters/C1/namespaces", + "passed": true + }, + { + "name": "No ordinary retired Namespace link /clusters/C1/namespaces", + "passed": true + }, + { + "name": "Compatibility authoring gated /clusters/C1/namespaces", + "passed": true + }, + { + "name": "Retained compatibility route /clusters/C1/namespaces/new", + "passed": true + }, + { + "name": "No ordinary retired Namespace link /clusters/C1/namespaces/new", + "passed": true + }, + { + "name": "Compatibility authoring gated /clusters/C1/namespaces/new", + "passed": true + }, + { + "name": "Retained compatibility route /clusters/C1/namespaces/N1", + "passed": true + }, + { + "name": "No ordinary retired Namespace link /clusters/C1/namespaces/N1", + "passed": true + }, + { + "name": "Compatibility authoring gated /clusters/C1/namespaces/N1", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + }, + { + "mode": "phone", + "role": "Designer", + "zoom": 1, + "geometry": { + "innerWidth": 390, + "scrollWidth": 390, + "dpr": 1, + "navOverflow": "visible" + }, + "checks": [ + { + "name": "Page title product-qualified", + "passed": true + }, + { + "name": "First useful task visible", + "passed": true + }, + { + "name": "Exact policy destination /raw", + "passed": true + }, + { + "name": "Exact policy destination /uns", + "passed": true + }, + { + "name": "Exact policy destination /deployments", + "passed": true + }, + { + "name": "Exact policy destination /scripts", + "passed": true + }, + { + "name": "Exact policy destination /role-grants", + "passed": true + }, + { + "name": "Exact policy destination /apikeys", + "passed": true + }, + { + "name": "Exact policy destination /admin/secrets", + "passed": true + }, + { + "name": "Read-only destinations remain discoverable", + "passed": true + }, + { + "name": "Overview current location", + "passed": true + }, + { + "name": "Session footer reachable", + "passed": true + }, + { + "name": "Breakpoint-appropriate nav scrolling", + "passed": true + }, + { + "name": "No document horizontal overflow", + "passed": true + }, + { + "name": "Retained compatibility route /clusters/C1/namespaces", + "passed": true + }, + { + "name": "No ordinary retired Namespace link /clusters/C1/namespaces", + "passed": true + }, + { + "name": "Compatibility authoring gated /clusters/C1/namespaces", + "passed": true + }, + { + "name": "Retained compatibility route /clusters/C1/namespaces/new", + "passed": true + }, + { + "name": "No ordinary retired Namespace link /clusters/C1/namespaces/new", + "passed": true + }, + { + "name": "Compatibility authoring gated /clusters/C1/namespaces/new", + "passed": true + }, + { + "name": "Retained compatibility route /clusters/C1/namespaces/N1", + "passed": true + }, + { + "name": "No ordinary retired Namespace link /clusters/C1/namespaces/N1", + "passed": true + }, + { + "name": "Compatibility authoring gated /clusters/C1/namespaces/N1", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + }, + { + "mode": "phone", + "role": "Administrator", + "zoom": 1, + "geometry": { + "innerWidth": 390, + "scrollWidth": 390, + "dpr": 1, + "navOverflow": "visible" + }, + "checks": [ + { + "name": "Page title product-qualified", + "passed": true + }, + { + "name": "First useful task visible", + "passed": true + }, + { + "name": "Exact policy destination /raw", + "passed": true + }, + { + "name": "Exact policy destination /uns", + "passed": true + }, + { + "name": "Exact policy destination /deployments", + "passed": true + }, + { + "name": "Exact policy destination /scripts", + "passed": true + }, + { + "name": "Exact policy destination /role-grants", + "passed": true + }, + { + "name": "Exact policy destination /apikeys", + "passed": true + }, + { + "name": "Exact policy destination /admin/secrets", + "passed": true + }, + { + "name": "Read-only destinations remain discoverable", + "passed": true + }, + { + "name": "Overview current location", + "passed": true + }, + { + "name": "Session footer reachable", + "passed": true + }, + { + "name": "Breakpoint-appropriate nav scrolling", + "passed": true + }, + { + "name": "No document horizontal overflow", + "passed": true + }, + { + "name": "Retained compatibility route /clusters/C1/namespaces", + "passed": true + }, + { + "name": "No ordinary retired Namespace link /clusters/C1/namespaces", + "passed": true + }, + { + "name": "Compatibility authoring gated /clusters/C1/namespaces", + "passed": true + }, + { + "name": "Retained compatibility route /clusters/C1/namespaces/new", + "passed": true + }, + { + "name": "No ordinary retired Namespace link /clusters/C1/namespaces/new", + "passed": true + }, + { + "name": "Compatibility authoring gated /clusters/C1/namespaces/new", + "passed": true + }, + { + "name": "Retained compatibility route /clusters/C1/namespaces/N1", + "passed": true + }, + { + "name": "No ordinary retired Namespace link /clusters/C1/namespaces/N1", + "passed": true + }, + { + "name": "Compatibility authoring gated /clusters/C1/namespaces/N1", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + }, + { + "mode": "real200", + "role": "Viewer", + "zoom": 2, + "geometry": { + "innerWidth": 720, + "scrollWidth": 720, + "dpr": 2, + "navOverflow": "visible" + }, + "checks": [ + { + "name": "Page title product-qualified", + "passed": true + }, + { + "name": "First useful task visible", + "passed": true + }, + { + "name": "Exact policy destination /raw", + "passed": true + }, + { + "name": "Exact policy destination /uns", + "passed": true + }, + { + "name": "Exact policy destination /deployments", + "passed": true + }, + { + "name": "Exact policy destination /scripts", + "passed": true + }, + { + "name": "Exact policy destination /role-grants", + "passed": true + }, + { + "name": "Exact policy destination /apikeys", + "passed": true + }, + { + "name": "Exact policy destination /admin/secrets", + "passed": true + }, + { + "name": "Read-only destinations remain discoverable", + "passed": true + }, + { + "name": "Overview current location", + "passed": true + }, + { + "name": "Session footer reachable", + "passed": true + }, + { + "name": "Breakpoint-appropriate nav scrolling", + "passed": true + }, + { + "name": "No document horizontal overflow", + "passed": true + }, + { + "name": "Retained compatibility route /clusters/C1/namespaces", + "passed": true + }, + { + "name": "No ordinary retired Namespace link /clusters/C1/namespaces", + "passed": true + }, + { + "name": "Compatibility authoring gated /clusters/C1/namespaces", + "passed": true + }, + { + "name": "Retained compatibility route /clusters/C1/namespaces/new", + "passed": true + }, + { + "name": "No ordinary retired Namespace link /clusters/C1/namespaces/new", + "passed": true + }, + { + "name": "Compatibility authoring gated /clusters/C1/namespaces/new", + "passed": true + }, + { + "name": "Retained compatibility route /clusters/C1/namespaces/N1", + "passed": true + }, + { + "name": "No ordinary retired Namespace link /clusters/C1/namespaces/N1", + "passed": true + }, + { + "name": "Compatibility authoring gated /clusters/C1/namespaces/N1", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + }, + { + "mode": "real200", + "role": "Operator", + "zoom": 2, + "geometry": { + "innerWidth": 720, + "scrollWidth": 720, + "dpr": 2, + "navOverflow": "visible" + }, + "checks": [ + { + "name": "Page title product-qualified", + "passed": true + }, + { + "name": "First useful task visible", + "passed": true + }, + { + "name": "Exact policy destination /raw", + "passed": true + }, + { + "name": "Exact policy destination /uns", + "passed": true + }, + { + "name": "Exact policy destination /deployments", + "passed": true + }, + { + "name": "Exact policy destination /scripts", + "passed": true + }, + { + "name": "Exact policy destination /role-grants", + "passed": true + }, + { + "name": "Exact policy destination /apikeys", + "passed": true + }, + { + "name": "Exact policy destination /admin/secrets", + "passed": true + }, + { + "name": "Read-only destinations remain discoverable", + "passed": true + }, + { + "name": "Overview current location", + "passed": true + }, + { + "name": "Session footer reachable", + "passed": true + }, + { + "name": "Breakpoint-appropriate nav scrolling", + "passed": true + }, + { + "name": "No document horizontal overflow", + "passed": true + }, + { + "name": "Retained compatibility route /clusters/C1/namespaces", + "passed": true + }, + { + "name": "No ordinary retired Namespace link /clusters/C1/namespaces", + "passed": true + }, + { + "name": "Compatibility authoring gated /clusters/C1/namespaces", + "passed": true + }, + { + "name": "Retained compatibility route /clusters/C1/namespaces/new", + "passed": true + }, + { + "name": "No ordinary retired Namespace link /clusters/C1/namespaces/new", + "passed": true + }, + { + "name": "Compatibility authoring gated /clusters/C1/namespaces/new", + "passed": true + }, + { + "name": "Retained compatibility route /clusters/C1/namespaces/N1", + "passed": true + }, + { + "name": "No ordinary retired Namespace link /clusters/C1/namespaces/N1", + "passed": true + }, + { + "name": "Compatibility authoring gated /clusters/C1/namespaces/N1", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + }, + { + "mode": "real200", + "role": "Designer", + "zoom": 2, + "geometry": { + "innerWidth": 720, + "scrollWidth": 720, + "dpr": 2, + "navOverflow": "visible" + }, + "checks": [ + { + "name": "Page title product-qualified", + "passed": true + }, + { + "name": "First useful task visible", + "passed": true + }, + { + "name": "Exact policy destination /raw", + "passed": true + }, + { + "name": "Exact policy destination /uns", + "passed": true + }, + { + "name": "Exact policy destination /deployments", + "passed": true + }, + { + "name": "Exact policy destination /scripts", + "passed": true + }, + { + "name": "Exact policy destination /role-grants", + "passed": true + }, + { + "name": "Exact policy destination /apikeys", + "passed": true + }, + { + "name": "Exact policy destination /admin/secrets", + "passed": true + }, + { + "name": "Read-only destinations remain discoverable", + "passed": true + }, + { + "name": "Overview current location", + "passed": true + }, + { + "name": "Session footer reachable", + "passed": true + }, + { + "name": "Breakpoint-appropriate nav scrolling", + "passed": true + }, + { + "name": "No document horizontal overflow", + "passed": true + }, + { + "name": "Retained compatibility route /clusters/C1/namespaces", + "passed": true + }, + { + "name": "No ordinary retired Namespace link /clusters/C1/namespaces", + "passed": true + }, + { + "name": "Compatibility authoring gated /clusters/C1/namespaces", + "passed": true + }, + { + "name": "Retained compatibility route /clusters/C1/namespaces/new", + "passed": true + }, + { + "name": "No ordinary retired Namespace link /clusters/C1/namespaces/new", + "passed": true + }, + { + "name": "Compatibility authoring gated /clusters/C1/namespaces/new", + "passed": true + }, + { + "name": "Retained compatibility route /clusters/C1/namespaces/N1", + "passed": true + }, + { + "name": "No ordinary retired Namespace link /clusters/C1/namespaces/N1", + "passed": true + }, + { + "name": "Compatibility authoring gated /clusters/C1/namespaces/N1", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + }, + { + "mode": "real200", + "role": "Administrator", + "zoom": 2, + "geometry": { + "innerWidth": 720, + "scrollWidth": 720, + "dpr": 2, + "navOverflow": "visible" + }, + "checks": [ + { + "name": "Page title product-qualified", + "passed": true + }, + { + "name": "First useful task visible", + "passed": true + }, + { + "name": "Exact policy destination /raw", + "passed": true + }, + { + "name": "Exact policy destination /uns", + "passed": true + }, + { + "name": "Exact policy destination /deployments", + "passed": true + }, + { + "name": "Exact policy destination /scripts", + "passed": true + }, + { + "name": "Exact policy destination /role-grants", + "passed": true + }, + { + "name": "Exact policy destination /apikeys", + "passed": true + }, + { + "name": "Exact policy destination /admin/secrets", + "passed": true + }, + { + "name": "Read-only destinations remain discoverable", + "passed": true + }, + { + "name": "Overview current location", + "passed": true + }, + { + "name": "Session footer reachable", + "passed": true + }, + { + "name": "Breakpoint-appropriate nav scrolling", + "passed": true + }, + { + "name": "No document horizontal overflow", + "passed": true + }, + { + "name": "Retained compatibility route /clusters/C1/namespaces", + "passed": true + }, + { + "name": "No ordinary retired Namespace link /clusters/C1/namespaces", + "passed": true + }, + { + "name": "Compatibility authoring gated /clusters/C1/namespaces", + "passed": true + }, + { + "name": "Retained compatibility route /clusters/C1/namespaces/new", + "passed": true + }, + { + "name": "No ordinary retired Namespace link /clusters/C1/namespaces/new", + "passed": true + }, + { + "name": "Compatibility authoring gated /clusters/C1/namespaces/new", + "passed": true + }, + { + "name": "Retained compatibility route /clusters/C1/namespaces/N1", + "passed": true + }, + { + "name": "No ordinary retired Namespace link /clusters/C1/namespaces/N1", + "passed": true + }, + { + "name": "Compatibility authoring gated /clusters/C1/namespaces/N1", + "passed": true + }, + { + "name": "No page errors", + "passed": true + } + ], + "errors": [] + } + ] +} diff --git a/docs/ui-consistency/ot04-05/browser.py b/docs/ui-consistency/ot04-05/browser.py new file mode 100644 index 000000000..d4f44a9d6 --- /dev/null +++ b/docs/ui-consistency/ot04-05/browser.py @@ -0,0 +1,40 @@ +"""Read-only source-linked OT navigation acceptance; no operational endpoints exist.""" +import 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 +out=Path(__file__).parent;origin='http://127.0.0.1:58714';result={'origin':origin,'scenes':[]} +with sync_playwright() as p: + for mode,width,zoom in [('desktop',1440,1),('phone',390,1),('real200',1440,2)]: + for role in ['Viewer','Operator','Designer','Administrator']: + with zoom_browser(p,width=width,height=600) as (ctx,worker): + page=ctx.new_page();errors=[];page.on('pageerror',lambda e:errors.append(str(e))) + assert page.request.get(origin+'/fixture/provenance').json()['services'].startswith('Razor only; no backend') + response=page.goto(origin+'/?role='+role);assert response.status==200 + factor=set_browser_zoom(worker,page,zoom);expect(page.locator('h1')).to_have_count(1) + checks=[] + def check(n,v):checks.append({'name':n,'passed':bool(v)});assert v,n + editor=role in ['Designer','Administrator'];admin=role=='Administrator' + check('Page title product-qualified','OtOpcUa' in page.title()) + check('First useful task visible',page.locator('main a[href="/fleet"]').is_visible()) + for path,allowed in [('/raw',editor),('/uns',editor),('/deployments',editor),('/scripts',editor),('/role-grants',admin),('/apikeys',admin),('/admin/secrets',admin)]: + check('Exact policy destination '+path,page.locator('nav a[href="'+path+'"]').count()==int(allowed)) + check('Read-only destinations remain discoverable',all(page.locator('nav a[href="'+x+'"]').count()==1 for x in ['/fleet','/hosts','/clusters','/reservations','/certificates','/script-log','/alerts','/alarms-historian'])) + if page.locator('.rail-toggle').is_visible():page.locator('.rail-toggle').click() + check('Overview current location',page.locator('nav a[href="/"]').get_attribute('aria-current')=='page') + footer=page.locator('.rail-foot');footer.locator('button').scroll_into_view_if_needed() + check('Session footer reachable',footer.locator('button').is_visible()) + geometry=page.evaluate('''()=>({innerWidth,scrollWidth:document.documentElement.scrollWidth,dpr:devicePixelRatio,navOverflow:getComputedStyle(document.querySelector('.rail-scroll')).overflowY})''') + check('Breakpoint-appropriate nav scrolling',geometry['navOverflow'] in ['auto','scroll'] if geometry['innerWidth']>=992 else geometry['navOverflow']=='visible') + check('No document horizontal overflow',geometry['scrollWidth']<=geometry['innerWidth']) + page.screenshot(path=str(out/(mode+'-'+role+'.png'))) + for path in ['/clusters/C1/namespaces','/clusters/C1/namespaces/new','/clusters/C1/namespaces/N1']: + response=page.goto(origin+path+'?role='+role);check('Retained compatibility route '+path,response.status==200) + expect(page.locator('h1')).to_have_count(1) + check('No ordinary retired Namespace link '+path,page.locator('.nav-tabs a[href$="/namespaces"]').count()==0) + check('Compatibility authoring gated '+path,page.locator('main a[href="/raw"]').count()==int(editor) and page.locator('main a[href="/uns"]').count()==int(editor)) + check('No page errors',not errors) + result['scenes'].append({'mode':mode,'role':role,'zoom':factor,'geometry':geometry,'checks':checks,'errors':errors}) + (out/'browser-results.json').write_text(json.dumps(result,indent=2)+'\n') +print(json.dumps({'scenes':len(result['scenes']),'checks':sum(len(s['checks'])for s in result['scenes'])})) diff --git a/docs/ui-consistency/ot04-05/canary/.gitignore b/docs/ui-consistency/ot04-05/canary/.gitignore new file mode 100644 index 000000000..cd42ee34e --- /dev/null +++ b/docs/ui-consistency/ot04-05/canary/.gitignore @@ -0,0 +1,2 @@ +bin/ +obj/ diff --git a/docs/ui-consistency/ot04-05/canary/Components/App.razor b/docs/ui-consistency/ot04-05/canary/Components/App.razor new file mode 100644 index 000000000..e43e9a491 --- /dev/null +++ b/docs/ui-consistency/ot04-05/canary/Components/App.razor @@ -0,0 +1,3 @@ + + + diff --git a/docs/ui-consistency/ot04-05/canary/Components/Fixture.razor b/docs/ui-consistency/ot04-05/canary/Components/Fixture.razor new file mode 100644 index 000000000..3fe74b868 --- /dev/null +++ b/docs/ui-consistency/ot04-05/canary/Components/Fixture.razor @@ -0,0 +1,12 @@ +@page "/" +@page "/clusters/C1/namespaces" +@page "/clusters/C1/namespaces/new" +@page "/clusters/C1/namespaces/N1" +@inject NavigationManager Nav + + + @if (new Uri(Nav.Uri).AbsolutePath == "/") { } + else if (new Uri(Nav.Uri).AbsolutePath == "/clusters/C1/namespaces") { } + else { } + + diff --git a/docs/ui-consistency/ot04-05/canary/Components/_Imports.razor b/docs/ui-consistency/ot04-05/canary/Components/_Imports.razor new file mode 100644 index 000000000..3bc7f920a --- /dev/null +++ b/docs/ui-consistency/ot04-05/canary/Components/_Imports.razor @@ -0,0 +1,6 @@ +@using Microsoft.AspNetCore.Components +@using Microsoft.AspNetCore.Components.Routing +@using Microsoft.AspNetCore.Components.Web +@using Microsoft.AspNetCore.Components.Authorization +@using ZB.MOM.WW.Theme +@using ZB.MOM.WW.OtOpcUa.AdminUI.Components.Layout diff --git a/docs/ui-consistency/ot04-05/canary/NavCanary.csproj b/docs/ui-consistency/ot04-05/canary/NavCanary.csproj new file mode 100644 index 000000000..15b2e27bc --- /dev/null +++ b/docs/ui-consistency/ot04-05/canary/NavCanary.csproj @@ -0,0 +1 @@ +net10.0enableenable diff --git a/docs/ui-consistency/ot04-05/canary/Program.cs b/docs/ui-consistency/ot04-05/canary/Program.cs new file mode 100644 index 000000000..7e13dcff4 --- /dev/null +++ b/docs/ui-consistency/ot04-05/canary/Program.cs @@ -0,0 +1,25 @@ +using System.Security.Claims; +using Microsoft.AspNetCore.Components.Authorization; +using ZB.MOM.WW.OtOpcUa.Security.Auth; +var builder=WebApplication.CreateBuilder(args); +builder.WebHost.UseStaticWebAssets(); +builder.Services.AddRazorComponents().AddInteractiveServerComponents(); +builder.Services.AddHttpContextAccessor(); +builder.Services.AddCascadingAuthenticationState(); +builder.Services.AddScoped(); +builder.Services.AddAuthorization(o=>{ + o.AddPolicy(AdminUiPolicies.AuthenticatedRead,p=>p.RequireAuthenticatedUser()); + o.AddPolicy(AdminUiPolicies.ConfigEditor,p=>p.RequireRole("Administrator","Designer")); + o.AddPolicy(AdminUiPolicies.FleetAdmin,p=>p.RequireRole("Administrator")); + o.AddPolicy(ZB.MOM.WW.Secrets.Ui.SecretsAuthorization.ManagePolicy,p=>p.RequireRole("Administrator")); +}); +var app=builder.Build();app.UseAntiforgery();app.MapStaticAssets(); +app.MapGet("/fixture/provenance",()=>new{purpose="Loopback read-only OT navigation fixture",services="Razor only; no backend services, data providers or action endpoints"}); +app.MapRazorComponents().AddInteractiveServerRenderMode();app.Run(); +sealed class FixtureAuthentication(IHttpContextAccessor accessor):AuthenticationStateProvider { + public override Task GetAuthenticationStateAsync(){ + var role=accessor.HttpContext?.Request.Query["role"].ToString()??"Viewer"; + if(role is not ("Viewer" or "Operator" or "Designer" or "Administrator"))role="Viewer"; + return Task.FromResult(new AuthenticationState(new ClaimsPrincipal(new ClaimsIdentity([new Claim(ClaimTypes.Name,"Synthetic "+role),new Claim(ClaimTypes.Role,role)],"fixture")))); + } +} diff --git a/docs/ui-consistency/ot04-05/desktop-Administrator.png b/docs/ui-consistency/ot04-05/desktop-Administrator.png new file mode 100644 index 000000000..2b3ea8f20 Binary files /dev/null and b/docs/ui-consistency/ot04-05/desktop-Administrator.png differ diff --git a/docs/ui-consistency/ot04-05/desktop-Designer.png b/docs/ui-consistency/ot04-05/desktop-Designer.png new file mode 100644 index 000000000..26e01836c Binary files /dev/null and b/docs/ui-consistency/ot04-05/desktop-Designer.png differ diff --git a/docs/ui-consistency/ot04-05/desktop-Operator.png b/docs/ui-consistency/ot04-05/desktop-Operator.png new file mode 100644 index 000000000..2ee415dcf Binary files /dev/null and b/docs/ui-consistency/ot04-05/desktop-Operator.png differ diff --git a/docs/ui-consistency/ot04-05/desktop-Viewer.png b/docs/ui-consistency/ot04-05/desktop-Viewer.png new file mode 100644 index 000000000..c34424961 Binary files /dev/null and b/docs/ui-consistency/ot04-05/desktop-Viewer.png differ diff --git a/docs/ui-consistency/ot04-05/evidence/browser-breakpoint-assumption.log b/docs/ui-consistency/ot04-05/evidence/browser-breakpoint-assumption.log new file mode 100644 index 000000000..e328a17eb --- /dev/null +++ b/docs/ui-consistency/ot04-05/evidence/browser-breakpoint-assumption.log @@ -0,0 +1,8 @@ +Traceback (most recent call last): + File "/Users/dohertj2/Desktop/OtOpcUa/docs/ui-consistency/ot04-05/browser.py", line 29, in + check('Independent nav scroll enabled',geometry['navOverflow'] in ['auto','scroll']) + ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/Users/dohertj2/Desktop/OtOpcUa/docs/ui-consistency/ot04-05/browser.py", line 17, in check + def check(n,v):checks.append({'name':n,'passed':bool(v)});assert v,n + ^ +AssertionError: Independent nav scroll enabled diff --git a/docs/ui-consistency/ot04-05/evidence/browser-green.log b/docs/ui-consistency/ot04-05/evidence/browser-green.log new file mode 100644 index 000000000..7709a7393 --- /dev/null +++ b/docs/ui-consistency/ot04-05/evidence/browser-green.log @@ -0,0 +1 @@ +{"scenes": 12, "checks": 288} diff --git a/docs/ui-consistency/ot04-05/evidence/cleanup.json b/docs/ui-consistency/ot04-05/evidence/cleanup.json new file mode 100644 index 000000000..4ddd9313c --- /dev/null +++ b/docs/ui-consistency/ot04-05/evidence/cleanup.json @@ -0,0 +1,5 @@ +{ + "ownedFixtureStopped": true, + "loopback58714Closed": true, + "otherFixturesTouched": false +} diff --git a/docs/ui-consistency/ot04-05/evidence/final-render.log b/docs/ui-consistency/ot04-05/evidence/final-render.log new file mode 100644 index 000000000..c8dfa3f0d --- /dev/null +++ b/docs/ui-consistency/ot04-05/evidence/final-render.log @@ -0,0 +1 @@ +6 passed diff --git a/docs/ui-consistency/ot04-05/evidence/focused-green.log b/docs/ui-consistency/ot04-05/evidence/focused-green.log new file mode 100644 index 000000000..c2353be00 --- /dev/null +++ b/docs/ui-consistency/ot04-05/evidence/focused-green.log @@ -0,0 +1,54 @@ + + Determining projects to restore... + All projects are up-to-date for restore. + ZB.MOM.WW.OtOpcUa.Analyzers -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Analyzers/debug/ZB.MOM.WW.OtOpcUa.Analyzers.dll + ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /tmp/ot04-05-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/ot04-05-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/ot04-05-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/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /tmp/ot04-05-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/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /tmp/ot04-05-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/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /tmp/ot04-05-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/ot04-05-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/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /tmp/ot04-05-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/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/debug/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /tmp/ot04-05-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/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll + ZB.MOM.WW.OtOpcUa.Commons -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Commons/debug/ZB.MOM.WW.OtOpcUa.Commons.dll + ZB.MOM.WW.OtOpcUa.Cluster -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Cluster/debug/ZB.MOM.WW.OtOpcUa.Cluster.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /tmp/ot04-05-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/ot04-05-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/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll + ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/debug/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll + ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/debug/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll + ZB.MOM.WW.OtOpcUa.Configuration -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Configuration/debug/ZB.MOM.WW.OtOpcUa.Configuration.dll + ZB.MOM.WW.OtOpcUa.Core -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core/debug/ZB.MOM.WW.OtOpcUa.Core.dll + ZB.MOM.WW.OtOpcUa.Security -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Security/debug/ZB.MOM.WW.OtOpcUa.Security.dll + ZB.MOM.WW.OtOpcUa.ControlPlane -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.ControlPlane/debug/ZB.MOM.WW.OtOpcUa.ControlPlane.dll + ZB.MOM.WW.OtOpcUa.OpcUaServer -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.OpcUaServer/debug/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/debug/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/debug/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbCip/debug/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/debug/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/debug/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll + ZB.MOM.WW.OtOpcUa.Runtime -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Runtime/debug/ZB.MOM.WW.OtOpcUa.Runtime.dll + ZB.MOM.WW.OtOpcUa.AdminUI -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.AdminUI/debug/ZB.MOM.WW.OtOpcUa.AdminUI.dll + ZB.MOM.WW.OtOpcUa.AdminUI.Tests -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/debug/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll +Test run for /tmp/ot04-05-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: 18, Skipped: 0, Total: 18, Duration: 554 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0) diff --git a/docs/ui-consistency/ot04-05/evidence/initial-source-root-failure.log b/docs/ui-consistency/ot04-05/evidence/initial-source-root-failure.log new file mode 100644 index 000000000..ea10e2a42 --- /dev/null +++ b/docs/ui-consistency/ot04-05/evidence/initial-source-root-failure.log @@ -0,0 +1,139 @@ + + Determining projects to restore... + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.csproj (in 58 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.csproj (in 58 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.csproj (in 59 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/Drivers/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.csproj (in 58 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.8 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.csproj (in 0.7 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.csproj (in 151 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.csproj (in 151 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.csproj (in 152 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/Core/ZB.MOM.WW.OtOpcUa.Core.Abstractions/ZB.MOM.WW.OtOpcUa.Core.Abstractions.csproj (in 0.7 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.csproj (in 20 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Tooling/ZB.MOM.WW.OtOpcUa.Analyzers/ZB.MOM.WW.OtOpcUa.Analyzers.csproj (in 192 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.csproj (in 193 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.csproj (in 61 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core/ZB.MOM.WW.OtOpcUa.Core.csproj (in 219 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.csproj (in 0.7 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.csproj (in 31 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.csproj (in 227 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.csproj (in 120 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip/ZB.MOM.WW.OtOpcUa.Driver.AbCip.csproj (in 137 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.csproj (in 219 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.ControlPlane/ZB.MOM.WW.OtOpcUa.ControlPlane.csproj (in 137 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer/ZB.MOM.WW.OtOpcUa.OpcUaServer.csproj (in 32 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Security/ZB.MOM.WW.OtOpcUa.Security.csproj (in 59 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.csproj (in 137 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.csproj (in 3 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting/ZB.MOM.WW.OtOpcUa.Core.Scripting.csproj (in 6 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.csproj (in 3 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.csproj (in 4 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.csproj (in 4 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.csproj (in 2 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/ZB.MOM.WW.OtOpcUa.Runtime.csproj (in 54 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Commons/ZB.MOM.WW.OtOpcUa.Commons.csproj (in 12 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/ZB.MOM.WW.OtOpcUa.AdminUI.csproj (in 140 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.csproj (in 6 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Cluster/ZB.MOM.WW.OtOpcUa.Cluster.csproj (in 15 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.csproj (in 2 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.csproj (in 3 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.csproj (in 0.9 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql/ZB.MOM.WW.OtOpcUa.Driver.Sql.csproj (in 13 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.csproj (in 4 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.csproj (in 7 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.csproj (in 28 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Configuration/ZB.MOM.WW.OtOpcUa.Configuration.csproj (in 61 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.csproj (in 309 ms). + ZB.MOM.WW.OtOpcUa.Analyzers -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Analyzers/debug/ZB.MOM.WW.OtOpcUa.Analyzers.dll + ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /tmp/ot04-05-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/ot04-05-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/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/debug/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /tmp/ot04-05-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/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /tmp/ot04-05-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/ot04-05-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/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/debug/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll + ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /tmp/ot04-05-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/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /tmp/ot04-05-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/ot04-05-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/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll + ZB.MOM.WW.OtOpcUa.Commons -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Commons/debug/ZB.MOM.WW.OtOpcUa.Commons.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll + ZB.MOM.WW.OtOpcUa.Cluster -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Cluster/debug/ZB.MOM.WW.OtOpcUa.Cluster.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /tmp/ot04-05-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/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/debug/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll + ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/debug/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll + ZB.MOM.WW.OtOpcUa.Configuration -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Configuration/debug/ZB.MOM.WW.OtOpcUa.Configuration.dll + ZB.MOM.WW.OtOpcUa.Core -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core/debug/ZB.MOM.WW.OtOpcUa.Core.dll + ZB.MOM.WW.OtOpcUa.Security -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Security/debug/ZB.MOM.WW.OtOpcUa.Security.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/debug/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/debug/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/debug/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll + ZB.MOM.WW.OtOpcUa.OpcUaServer -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.OpcUaServer/debug/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/debug/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbCip/debug/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll + ZB.MOM.WW.OtOpcUa.ControlPlane -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.ControlPlane/debug/ZB.MOM.WW.OtOpcUa.ControlPlane.dll + ZB.MOM.WW.OtOpcUa.Runtime -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.Runtime/debug/ZB.MOM.WW.OtOpcUa.Runtime.dll + ZB.MOM.WW.OtOpcUa.AdminUI -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.AdminUI/debug/ZB.MOM.WW.OtOpcUa.AdminUI.dll + ZB.MOM.WW.OtOpcUa.AdminUI.Tests -> /tmp/ot04-05-artifacts/bin/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/debug/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll +Test run for /tmp/ot04-05-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.SecretsNavLinkTests.The_gate_is_the_pages_own_policy_constant_not_a_role_or_a_literal [FAIL] +[xUnit.net 00:00:01.27] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.SecretsNavLinkTests.The_rail_links_to_the_secrets_page [FAIL] +[xUnit.net 00:00:01.27] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.SecretsNavLinkTests.The_secrets_link_is_nested_inside_the_authorize_view [FAIL] + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.SecretsNavLinkTests.The_gate_is_the_pages_own_policy_constant_not_a_role_or_a_literal [33 ms] + Error Message: + Shouldly.ShouldAssertException : dir + should not be null but was + +Additional Info: + could not locate the repository root (no ZB.MOM.WW.OtOpcUa.slnx above the test binary) + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.SecretsNavLinkTests.ReadMainLayoutSource() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/SecretsNavLinkTests.cs:line 31 + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.SecretsNavLinkTests.The_gate_is_the_pages_own_policy_constant_not_a_role_or_a_literal() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/SecretsNavLinkTests.cs:line 81 + 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.SecretsNavLinkTests.The_rail_links_to_the_secrets_page [< 1 ms] + Error Message: + Shouldly.ShouldAssertException : dir + should not be null but was + +Additional Info: + could not locate the repository root (no ZB.MOM.WW.OtOpcUa.slnx above the test binary) + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.SecretsNavLinkTests.ReadMainLayoutSource() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/SecretsNavLinkTests.cs:line 31 + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.SecretsNavLinkTests.The_rail_links_to_the_secrets_page() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/SecretsNavLinkTests.cs:line 42 + 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.SecretsNavLinkTests.The_secrets_link_is_nested_inside_the_authorize_view [< 1 ms] + Error Message: + Shouldly.ShouldAssertException : dir + should not be null but was + +Additional Info: + could not locate the repository root (no ZB.MOM.WW.OtOpcUa.slnx above the test binary) + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.SecretsNavLinkTests.ReadMainLayoutSource() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/SecretsNavLinkTests.cs:line 31 + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.SecretsNavLinkTests.The_secrets_link_is_nested_inside_the_authorize_view() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/SecretsNavLinkTests.cs:line 59 + at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) + at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) + +Failed! - Failed: 3, Passed: 8, Skipped: 0, Total: 11, Duration: 188 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0) diff --git a/docs/ui-consistency/ot04-05/evidence/red.log b/docs/ui-consistency/ot04-05/evidence/red.log new file mode 100644 index 000000000..21db3b803 --- /dev/null +++ b/docs/ui-consistency/ot04-05/evidence/red.log @@ -0,0 +1,94 @@ + + ZB.MOM.WW.OtOpcUa.Analyzers -> /Users/dohertj2/Desktop/OtOpcUa/src/Tooling/ZB.MOM.WW.OtOpcUa.Analyzers/bin/Debug/netstandard2.0/ZB.MOM.WW.OtOpcUa.Analyzers.dll + ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll + ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.dll + ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Abstractions/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll + ZB.MOM.WW.OtOpcUa.Commons -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Commons/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Commons.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll + ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll + ZB.MOM.WW.OtOpcUa.Cluster -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Cluster/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Cluster.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll + ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll + ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll + ZB.MOM.WW.OtOpcUa.Configuration -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Configuration/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Configuration.dll + ZB.MOM.WW.OtOpcUa.Core -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.dll + ZB.MOM.WW.OtOpcUa.Security -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Security/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Security.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll + ZB.MOM.WW.OtOpcUa.ControlPlane -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.ControlPlane/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.ControlPlane.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll + ZB.MOM.WW.OtOpcUa.OpcUaServer -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll + ZB.MOM.WW.OtOpcUa.Runtime -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Runtime.dll + ZB.MOM.WW.OtOpcUa.AdminUI -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.dll + ZB.MOM.WW.OtOpcUa.AdminUI.Tests -> /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll +Test run for /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (.NETCoreApp,Version=v10.0) +A total of 1 test files matched the specified pattern. +[xUnit.net 00:00:01.17] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.NavigationPolicyRenderTests.Navigation_UsesDestinationPolicies(editor: True, administrator: False) [FAIL] +[xUnit.net 00:00:01.18] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.NavigationPolicyRenderTests.Navigation_UsesDestinationPolicies(editor: False, administrator: False) [FAIL] +[xUnit.net 00:00:01.18] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.NavigationPolicyRenderTests.RetiredNamespaces_AreAbsentFromOrdinaryClusterNavigation [FAIL] + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.NavigationPolicyRenderTests.Navigation_UsesDestinationPolicies(editor: True, administrator: False) [176 ms] + Error Message: + Shouldly.ShouldAssertException : cut.FindAll($"a[href='{path}']").Count + should be +0 + but was +1 + +Additional Info: + /role-grants + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.NavigationPolicyRenderTests.Navigation_UsesDestinationPolicies(Boolean editor, Boolean administrator) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/NavigationPolicyRenderTests.cs:line 35 + 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.NavigationPolicyRenderTests.Navigation_UsesDestinationPolicies(editor: False, administrator: False) [3 ms] + Error Message: + Shouldly.ShouldAssertException : cut.FindAll($"a[href='{path}']").Count + should be +0 + but was +1 + +Additional Info: + /raw + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.NavigationPolicyRenderTests.Navigation_UsesDestinationPolicies(Boolean editor, Boolean administrator) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/NavigationPolicyRenderTests.cs:line 33 + at InvokeStub_NavigationPolicyRenderTests.Navigation_UsesDestinationPolicies(Object, Span`1) + at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) + Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.NavigationPolicyRenderTests.RetiredNamespaces_AreAbsentFromOrdinaryClusterNavigation [4 ms] + Error Message: + Shouldly.ShouldAssertException : cut.FindAll("a[href$='/namespaces']") + should be empty but had +1 + item and was +[AngleSharp.Html.Dom.HtmlAnchorElement (19467089)] + Stack Trace: + at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.NavigationPolicyRenderTests.RetiredNamespaces_AreAbsentFromOrdinaryClusterNavigation() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/NavigationPolicyRenderTests.cs:line 42 + at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) + at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) + +Failed! - Failed: 3, Passed: 1, Skipped: 0, Total: 4, Duration: 194 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0) diff --git a/docs/ui-consistency/ot04-05/evidence/source-guard.json b/docs/ui-consistency/ot04-05/evidence/source-guard.json new file mode 100644 index 000000000..e4bebef01 --- /dev/null +++ b/docs/ui-consistency/ot04-05/evidence/source-guard.json @@ -0,0 +1,37 @@ +[ + { + "path": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Layout/MainLayout.razor", + "beforeSha256": "7785711c6c2f06a2d8ab654674b9bf6a948325e68c0eb7db96e49859ae290088", + "afterSha256": "f3c32fcb6f4afaf57486c0868a34264dd30c1be58bf57c2514e7c3ef324e9cee", + "routesAndPagePolicyDirectivesUnchanged": true, + "existingCSharpUnchanged": true + }, + { + "path": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/ClusterNav.razor", + "beforeSha256": "9911aee91559b83053ffc27f3f488e7c2071bd1e08679b910e21d8f27fee4cc2", + "afterSha256": "1c44d92a17c27cd8bd140b0a1d77dd8f94ad7185c88ec6d41ed9039269aac8c3", + "routesAndPagePolicyDirectivesUnchanged": true, + "existingCSharpUnchanged": true + }, + { + "path": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Home.razor", + "beforeSha256": "45144ddbcfabcd4fe2187eef615e200f17cd354f4d9fbc0438849a1f1195cfd9", + "afterSha256": "0ca1d6ab6d67dd2e0d453e05b6b5a61b8b6a701f096eb3e0b2f25f32cd5ba98e", + "routesAndPagePolicyDirectivesUnchanged": true, + "existingCSharpUnchanged": true + }, + { + "path": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Clusters/ClusterNamespaces.razor", + "beforeSha256": "d786e68d86ce81e0d052fbbef217d3021ad822b77d11a5e8d3a6cc7f11cba561", + "afterSha256": "2bf016845805167a06c53280c8672fbba49d607071571c0f26cb391553d1fae6", + "routesAndPagePolicyDirectivesUnchanged": true, + "existingCSharpUnchanged": true + }, + { + "path": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Clusters/NamespaceEdit.razor", + "beforeSha256": "7fc647595d296a2bb8af4a0784d64f6224a56872d2f44798b7d5a3e4809a6ccc", + "afterSha256": "15ed7b93351f78d01572b44537b98d81eac384fa0cfc36250461b06fc6ed11d3", + "routesAndPagePolicyDirectivesUnchanged": true, + "existingCSharpUnchanged": true + } +] diff --git a/docs/ui-consistency/ot04-05/final-render.json b/docs/ui-consistency/ot04-05/final-render.json new file mode 100644 index 000000000..9cb203aa1 --- /dev/null +++ b/docs/ui-consistency/ot04-05/final-render.json @@ -0,0 +1,44 @@ +[ + { + "width": 1440, + "path": "/", + "h1": "OtOpcUa", + "h2": "OPERATIONS", + "passed": true + }, + { + "width": 1440, + "path": "/clusters/C1/namespaces", + "h1": "Retired namespaces \u00b7 C1", + "h2": "NAMESPACES ARE RETIRED IN V3", + "passed": true + }, + { + "width": 1440, + "path": "/clusters/C1/namespaces/N1", + "h1": "Retired namespaces \u00b7 C1", + "h2": "NAMESPACES ARE RETIRED IN V3", + "passed": true + }, + { + "width": 390, + "path": "/", + "h1": "OtOpcUa", + "h2": "OPERATIONS", + "passed": true + }, + { + "width": 390, + "path": "/clusters/C1/namespaces", + "h1": "Retired namespaces \u00b7 C1", + "h2": "NAMESPACES ARE RETIRED IN V3", + "passed": true + }, + { + "width": 390, + "path": "/clusters/C1/namespaces/N1", + "h1": "Retired namespaces \u00b7 C1", + "h2": "NAMESPACES ARE RETIRED IN V3", + "passed": true + } +] diff --git a/docs/ui-consistency/ot04-05/final-render.py b/docs/ui-consistency/ot04-05/final-render.py new file mode 100644 index 000000000..21d2b51e3 --- /dev/null +++ b/docs/ui-consistency/ot04-05/final-render.py @@ -0,0 +1,18 @@ +"""Narrow heading/copy follow-up on the existing synthetic fixture.""" +from pathlib import Path +import json +from playwright.sync_api import sync_playwright,expect +out=Path(__file__).parent;results=[] +with sync_playwright() as p: + b=p.chromium.launch(channel='chromium') + for width in [1440,390]: + page=b.new_page(viewport={'width':width,'height':900}) + for path in ['/','/clusters/C1/namespaces','/clusters/C1/namespaces/N1']: + response=page.goto('http://127.0.0.1:58714'+path+'?role=Designer');assert response.status==200 + expect(page.locator('h1')).to_have_count(1);expect(page.locator('h2.panel-head')).to_have_count(1);expect(page.locator('.page-head h1')).to_have_count(1) + assert 'placeholder' not in page.locator('main').inner_text() + if path.endswith('/namespaces'):assert 'Existing namespace links remain available for reference.' in page.locator('main').inner_text() + results.append({'width':width,'path':path,'h1':page.locator('h1').inner_text(),'h2':page.locator('h2.panel-head').inner_text(),'passed':True}) + page.close() + b.close() +(out/'final-render.json').write_text(json.dumps(results,indent=2)+'\n');print(len(results),'passed') diff --git a/docs/ui-consistency/ot04-05/phone-Administrator.png b/docs/ui-consistency/ot04-05/phone-Administrator.png new file mode 100644 index 000000000..b7751567f Binary files /dev/null and b/docs/ui-consistency/ot04-05/phone-Administrator.png differ diff --git a/docs/ui-consistency/ot04-05/phone-Designer.png b/docs/ui-consistency/ot04-05/phone-Designer.png new file mode 100644 index 000000000..0cac7fffb Binary files /dev/null and b/docs/ui-consistency/ot04-05/phone-Designer.png differ diff --git a/docs/ui-consistency/ot04-05/phone-Operator.png b/docs/ui-consistency/ot04-05/phone-Operator.png new file mode 100644 index 000000000..dc00d4484 Binary files /dev/null and b/docs/ui-consistency/ot04-05/phone-Operator.png differ diff --git a/docs/ui-consistency/ot04-05/phone-Viewer.png b/docs/ui-consistency/ot04-05/phone-Viewer.png new file mode 100644 index 000000000..e1b61de38 Binary files /dev/null and b/docs/ui-consistency/ot04-05/phone-Viewer.png differ diff --git a/docs/ui-consistency/ot04-05/real200-Administrator.png b/docs/ui-consistency/ot04-05/real200-Administrator.png new file mode 100644 index 000000000..7851d98ea Binary files /dev/null and b/docs/ui-consistency/ot04-05/real200-Administrator.png differ diff --git a/docs/ui-consistency/ot04-05/real200-Designer.png b/docs/ui-consistency/ot04-05/real200-Designer.png new file mode 100644 index 000000000..193601c7f Binary files /dev/null and b/docs/ui-consistency/ot04-05/real200-Designer.png differ diff --git a/docs/ui-consistency/ot04-05/real200-Operator.png b/docs/ui-consistency/ot04-05/real200-Operator.png new file mode 100644 index 000000000..729254ade Binary files /dev/null and b/docs/ui-consistency/ot04-05/real200-Operator.png differ diff --git a/docs/ui-consistency/ot04-05/real200-Viewer.png b/docs/ui-consistency/ot04-05/real200-Viewer.png new file mode 100644 index 000000000..729254ade Binary files /dev/null and b/docs/ui-consistency/ot04-05/real200-Viewer.png differ diff --git a/docs/ui-consistency/ot04-05/verification.md b/docs/ui-consistency/ot04-05/verification.md new file mode 100644 index 000000000..a3ea06f5d --- /dev/null +++ b/docs/ui-consistency/ot04-05/verification.md @@ -0,0 +1,30 @@ +# OT04–05 navigation and orientation + +The six assigned existing files and new NavigationPolicyRenderTests complete the bounded navigation/Home/Namespace compatibility slice. Existing routes, route authorization attributes, C# page parameter declarations and the MainLayout session/footer/body are unchanged (source-guard.json). No endpoint, data-loading, model, configuration, operation or deployment behavior changed. + +## Result + +- MainLayout enables canonical Theme1.0.1 ScrollNav and groups existing destinations into Operations, Configuration, Scripting, Administration and Secrets. ConfigEditor gates Raw/UNS/Scripts/Deployments; FleetAdmin gates role grants/API keys; the package's own ManagePolicy independently gates Secrets. Read-only routes remain available, including certificates, reservations and script log. Gates use exact destination policies, not inferred role strings. +- Home supplies a useful Fleet status action and existing host/cluster orientation, with authoring/deployment links only for ConfigEditor. It adds no aggregate data, environment guess or status metric. +- ClusterNav removes the ordinary retired Namespace destination and adds aria-current for its four existing readable destinations. Namespace list/new/edit URLs remain; both compatibility pages now have h1 and product title, plus real Raw/UNS links only for ConfigEditor. +- SecretsNavLinkTests identifies the Secrets-specific policy wrapper rather than assuming the first AuthorizeView. Its source-root lookup now starts at the compiled test's CallerFilePath, supporting isolated artifacts without changing assertions. Stale remarks claiming no bUnit were corrected. + +## Verification + +Meaningful root-authored NavigationPolicyRenderTests baseline: 3 failures/1 pass, retained evidence/red.log. Added Home/compatibility role cases and an independent Secrets-policy case. The first isolated-artifacts run exposed the old sourceguard's testbinary ancestry assumption (3 source-root failures/8 passes); fixed source lookup, retained raw evidence. No bypass, skip or removed assertion. + +```sh +dotnet test tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.csproj --artifacts-path /tmp/ot04-05-artifacts --filter 'FullyQualifiedName~NavigationPolicyRenderTests|FullyQualifiedName~SecretsNavLinkTests|FullyQualifiedName~PageAuthorizationGuardTests|FullyQualifiedName~DeleteConfirmRenderTests' +``` + +**18/18 pass, zero skips**, including original delete confirmation tests. No new build warnings in this checkpoint. Full suite belongs to the coordinated integration freeze; this report does not claim it ran here. + +`canary/` is a separate, source-referencing Razor host with its own route assembly, synthetic authenticated principals and the real role-policy mapping. It registers no operational/data providers. Actual application route attributes remain protected by the independent reflection guards; fixture deep-link rendering is markup validation, not an authentication endpoint test. The fixture maps only its explicit Home/three compatibility routes and read-only provenance endpoint; no real service action endpoint exists. + +**12 actual Chromium scenes/288 assertions**: Viewer, Operator, Designer and Administrator at 1440px, 390px, and real 200% browser zoom (720px layout viewport/DPR2). Each verifies one h1, product-qualified title, first useful Fleet action before opening navigation, exact policy link presence/absence, retained readable links, current Overview location, reachable session footer, breakpoint-appropriate scrolling, no horizontal overflow, all three retained compatibility routes with gated links and no retired ordinary tab, no page errors. `browser-results.json`, twelve screenshots and `browser.py` retain proof. The script imports ignitionoee's existing loopback-only real browser zoom helper; this explicit harness dependency does not affect production. + +The first browser run incorrectly expected independent ScrollNav scrolling on phones. Canonical layout intentionally uses page scrolling below 992px; corrected the assertion to match the documented shared behavior, retaining the initial log. No theme override or local CSS workaround was introduced. No state persistence/business operations were exercised. + +## Scope and limitations + +The old Namespace pages continue to describe their compatibility purpose; no retired editor behavior was reinstated. Policy checks affect discoverability only and preserve endpoint/route security. Cluster overview action links are a different agent's tested slice. This checkpoint does not claim operational fleet data, live roles against an identity provider, or a deployed host acceptance. Parent review accepted the separate Secrets section as a taxonomy refinement of the planned four groups: it remains independently governed by the package policy rather than nested under FleetAdmin. Final copy/heading corrections use canonical page-head/h2.panel-head and concise compatibility wording. A narrow final render passed all six Home/list/edit scenes at1440/390 after these markup-only corrections (final-render.json), checking h1/page-head/h2.panel-head and final compatibility copy. Fixture shutdown and exact scoped commit follow parent review. No ledger/gate edits. diff --git a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Layout/MainLayout.razor b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Layout/MainLayout.razor index 3951a8061..15731756a 100644 --- a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Layout/MainLayout.razor +++ b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Layout/MainLayout.razor @@ -12,42 +12,42 @@ Accent as an inline --accent on the shell root, which would silently beat any future scheme-level override (the exact defect ScadaBridge hit). A real brand accent belongs in site.css :root, not here. *@ - + diff --git a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Clusters/ClusterNamespaces.razor b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Clusters/ClusterNamespaces.razor index d3cac1c12..164a6760b 100644 --- a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Clusters/ClusterNamespaces.razor +++ b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Clusters/ClusterNamespaces.razor @@ -2,19 +2,22 @@ @attribute [Authorize(Policy = AdminUiPolicies.AuthenticatedRead)] @rendermode RenderMode.InteractiveServer +Retired namespaces · OtOpcUa + -
-

Namespaces · @ClusterId

+
+

Retired namespaces · @ClusterId

-
Namespaces are retired in v3
+

Namespaces are retired in v3

- The Namespace entity has been removed. The v3 Raw/UNS split replaces it — - raw driver folders and the unified namespace are managed on the /raw and - /uns pages. This page is a placeholder so existing links do not 404. + The Namespace entity has been removed. Raw driver folders and the unified namespace replace it. + +

Manage drivers and tags in Raw or equipment in UNS.

+
Existing namespace links remain available for reference.
diff --git a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Clusters/NamespaceEdit.razor b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Clusters/NamespaceEdit.razor index eceebcb23..99a8f7f00 100644 --- a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Clusters/NamespaceEdit.razor +++ b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Clusters/NamespaceEdit.razor @@ -3,20 +3,23 @@ @attribute [Authorize(Policy = AdminUiPolicies.ConfigEditor)] @rendermode RenderMode.InteractiveServer +Retired namespaces · OtOpcUa + -
-

Namespaces · @ClusterId

+
+

Retired namespaces · @ClusterId

Back
-
Namespaces are retired in v3
+

Namespaces are retired in v3

- The Namespace entity has been removed. The v3 Raw/UNS split replaces it — - raw driver folders and the unified namespace are managed on the /raw and - /uns pages. This editor no longer applies. + The Namespace entity has been removed. Raw driver folders and the unified namespace replace it. + +

Manage drivers and tags in Raw or equipment in UNS.

+
This editor no longer applies.
diff --git a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Home.razor b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Home.razor index 60375c58f..d94867e17 100644 --- a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Home.razor +++ b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Home.razor @@ -1,7 +1,22 @@ @page "/" @attribute [Authorize(Policy = AdminUiPolicies.AuthenticatedRead)] -OtOpcUa +Overview · OtOpcUa -

OtOpcUa Admin

-

Use the nav above to configure clusters, drivers, and tags, then deploy.

+
+
+

OtOpcUa

+

Inspect fleet health, then open a cluster for its status and diagnostics.

+
+ View fleet status +
+
+

Operations

+
+

Host status shows the available hosts. Clusters opens cluster status, diagnostics and audit history.

+ +

Author drivers and tags in Raw, organize equipment in UNS, and review Deployments. Configuration changes take effect through deployment.

+
+

Use the side navigation to return to operations, configuration and scripting.

+
+
diff --git a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/ClusterNav.razor b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/ClusterNav.razor index 9d076c7a5..7c0cf941c 100644 --- a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/ClusterNav.razor +++ b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/ClusterNav.razor @@ -9,11 +9,10 @@ } @code { diff --git a/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/NavigationPolicyRenderTests.cs b/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/NavigationPolicyRenderTests.cs new file mode 100644 index 000000000..67b05ecde --- /dev/null +++ b/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/NavigationPolicyRenderTests.cs @@ -0,0 +1,77 @@ +using Bunit; +using Bunit.TestDoubles; +using Microsoft.AspNetCore.Components; +using Shouldly; +using Xunit; +using ZB.MOM.WW.OtOpcUa.AdminUI.Components.Layout; +using ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared; +using ZB.MOM.WW.OtOpcUa.Security.Auth; +using ZB.MOM.WW.Secrets.Ui; + +namespace ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages; + +/// Real rail destinations retain their route-policy visibility. +[Trait("Category", "Unit")] +public sealed class NavigationPolicyRenderTests : BunitContext +{ + [Theory] + [InlineData(false, false)] + [InlineData(true, false)] + [InlineData(true, true)] + public void Navigation_UsesDestinationPolicies(bool editor, bool administrator) + { + var auth = this.AddAuthorization(); + auth.SetAuthorized("fixture"); + var policies = new List { AdminUiPolicies.AuthenticatedRead }; + if (editor) policies.Add(AdminUiPolicies.ConfigEditor); + if (administrator) policies.AddRange([AdminUiPolicies.FleetAdmin, SecretsAuthorization.ManagePolicy]); + auth.SetPolicies(policies.ToArray()); + var cut = Render(); + foreach (var path in new[] { "/fleet", "/hosts", "/clusters", "/certificates", "/script-log", "/alerts" }) + cut.FindAll($"a[href='{path}']").Count.ShouldBe(1, path); + foreach (var path in new[] { "/raw", "/uns", "/scripts", "/deployments" }) + cut.FindAll($"a[href='{path}']").Count.ShouldBe(editor ? 1 : 0, path); + foreach (var path in new[] { "/role-grants", "/apikeys", "/admin/secrets" }) + cut.FindAll($"a[href='{path}']").Count.ShouldBe(administrator ? 1 : 0, path); + } + + [Fact] + public void RetiredNamespaces_AreAbsentFromOrdinaryClusterNavigation() + { + var cut = Render(p => p.Add(x => x.ClusterId,"C1").Add(x => x.ActiveTab,"overview")); + cut.FindAll("a[href$='/namespaces']").ShouldBeEmpty(); + cut.Find("a[href='/clusters/C1']").GetAttribute("aria-current").ShouldBe("page"); + } + + [Theory] + [InlineData(false)] + [InlineData(true)] + public void CompatibilityAndHome_OfferOnlyAuthorizedAuthoring(bool editor) + { + var auth = this.AddAuthorization(); + auth.SetAuthorized("fixture"); + auth.SetPolicies(editor + ? [AdminUiPolicies.AuthenticatedRead, AdminUiPolicies.ConfigEditor] + : [AdminUiPolicies.AuthenticatedRead]); + var home = Render(); + home.FindAll("h1").Count.ShouldBe(1); + home.Find("a[href='/fleet']").ShouldNotBeNull(); + home.FindAll("a[href='/raw']").Count.ShouldBe(editor ? 1 : 0); + home.FindAll("a[href='/uns']").Count.ShouldBe(editor ? 1 : 0); + var compatibility = Render(p => p.Add(x => x.ClusterId, "C1")); + compatibility.FindAll("h1").Count.ShouldBe(1); + compatibility.FindAll("a[href='/raw']").Count.ShouldBe(editor ? 1 : 0); + compatibility.FindAll("a[href='/uns']").Count.ShouldBe(editor ? 1 : 0); + } + + [Fact] + public void SecretsPolicy_IsIndependentOfFleetAdministration() + { + var auth = this.AddAuthorization(); + auth.SetAuthorized("fixture"); + auth.SetPolicies(AdminUiPolicies.AuthenticatedRead, SecretsAuthorization.ManagePolicy); + var cut = Render(); + cut.Find("a[href='/admin/secrets']").ShouldNotBeNull(); + cut.FindAll("a[href='/role-grants'],a[href='/apikeys']").ShouldBeEmpty(); + } +} diff --git a/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/SecretsNavLinkTests.cs b/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/SecretsNavLinkTests.cs index d9327b08d..304bc7bf1 100644 --- a/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/SecretsNavLinkTests.cs +++ b/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/SecretsNavLinkTests.cs @@ -15,24 +15,20 @@ namespace ZB.MOM.WW.OtOpcUa.AdminUI.Tests; /// user can get there. /// /// -/// Source scan rather than a rendering assertion: the repo has no bUnit (the central -/// PackageVersion for it is referenced by no project), and razor layout markup — unlike -/// a page's @page/@attribute directives — does not survive into class metadata -/// any form a reflection guard can read. So this proves the link and its gate are *written*; -/// that the gate actually admits an Administrator and hides the item from a Designer is -/// live-verified on the docker-dev rig, per this repo's Razor convention. +/// This source guard preserves the exact package policy expression. Rendered policy visibility +/// is independently covered by NavigationPolicyRenderTests; neither replaces route authorization. /// [Trait("Category", "Unit")] public sealed class SecretsNavLinkTests { private const string NavItem = "", open + 1, StringComparison.Ordinal);