diff --git a/components/ui-theme/validation/ot-ui/host/Components/Pages/RefreshPilot.razor b/components/ui-theme/validation/ot-ui/host/Components/Pages/RefreshPilot.razor new file mode 100644 index 0000000..9ac51e0 --- /dev/null +++ b/components/ui-theme/validation/ot-ui/host/Components/Pages/RefreshPilot.razor @@ -0,0 +1,20 @@ +@page "/refresh-pilot" +@layout ZB.MOM.WW.OtOpcUa.AdminUI.Components.Layout.MainLayout +@using ZB.MOM.WW.OtOpcUa.AdminUI.Components.Pages +@inject FixtureDbReadControl Reads +

Local refresh fixture · synthetic memory-only records and isolated membership shell.

+
+ + @(_interactive ? "ready" : "waiting") + + +
+
+@if(Kind=="hosts") { } else { } +
+@code { + [SupplyParameterFromQuery(Name="kind")] public string? Kind {get;set;} + [SupplyParameterFromQuery(Name="initialFail")] public bool InitialFail {get;set;} + private bool _interactive; + protected override void OnInitialized() {Reads.FailReads=InitialFail;} +} diff --git a/components/ui-theme/validation/ot-ui/ot11-root/browser.log b/components/ui-theme/validation/ot-ui/ot11-root/browser.log new file mode 100644 index 0000000..9117ed5 --- /dev/null +++ b/components/ui-theme/validation/ot-ui/ot11-root/browser.log @@ -0,0 +1 @@ +PASS 12 actual refresh failure/retry cases diff --git a/components/ui-theme/validation/ot-ui/ot11-root/browser.py b/components/ui-theme/validation/ot-ui/ot11-root/browser.py new file mode 100644 index 0000000..638ffa4 --- /dev/null +++ b/components/ui-theme/validation/ot-ui/ot11-root/browser.py @@ -0,0 +1,63 @@ +"""Actual Fleet/Hosts synthetic read failures, native keyboard retry and real browser zoom.""" +import json,sys +from pathlib import Path +from playwright.sync_api import sync_playwright,expect +HERE=Path(__file__).resolve().parent +sys.path.insert(0,str(HERE.parents[1]/'theme-1.0.0'/'canary')) +from browser_zoom import zoom_browser,set_browser_zoom +OUT=HERE/'browser';OUT.mkdir(exist_ok=True) +results=[] +def case(page,kind,width,initial_fail=False,zoom=False): + errors=[];page.on('pageerror',lambda e:errors.append(str(e))) + page.goto(f'http://127.0.0.1:18140/refresh-pilot?kind={kind}&initialFail={str(initial_fail).lower()}') + for _ in range(20): + page.locator('#fixture-ready').click() + if page.locator('#fixture-state').inner_text()=='ready':break + page.wait_for_timeout(250) + expect(page.locator('#fixture-state')).to_have_text('ready') + page.evaluate('document.fonts.ready') + actual=page.locator('#actual-refresh-page');refresh=actual.get_by_role('button',name='Refresh',exact=True) + if initial_fail: + expect(actual.get_by_role('status')).to_contain_text('unavailable') + assert actual.locator('[data-testid=config-fetched]' if kind=='hosts' else 'time').count()==0 + assert 'PRIVATE' not in actual.inner_text() + page.locator('#fixture-restore').click();refresh.focus();page.keyboard.press('Enter') + expect(actual.get_by_role('status')).to_have_count(0) + times=actual.locator('time').evaluate_all('(es)=>es.map(e=>e.dateTime)') + assert len(times)==(2 if kind=='hosts' else 1) + retained=actual.locator('[data-testid=config-fetched]' if kind=='hosts' else 'time').get_attribute('datetime') + rows=actual.locator('tbody tr').count() + page.locator('#fixture-fail').click();refresh.focus();page.keyboard.press('Enter') + expect(actual.get_by_role('status')).to_contain_text('last successful') + expect(refresh).to_be_focused() + assert actual.locator('[data-testid=config-fetched]' if kind=='hosts' else 'time').get_attribute('datetime')==retained + assert actual.locator('tbody tr').count()==rows + text=actual.get_by_role('status').inner_text() + if width==1440 and not initial_fail: + page.wait_for_timeout(10500 if kind=='fleet' else 5500) + assert actual.get_by_role('status').inner_text()==text + geometry=page.evaluate('({width:innerWidth,dpr:devicePixelRatio,scroll:document.documentElement.scrollWidth})') + assert geometry['scroll']<=geometry['width'],geometry + if zoom: assert geometry['width']==720 and geometry['dpr']==2,geometry + name=f'{kind}-{width}-initial{initial_fail}-zoom{zoom}' + actual.get_by_role('status').scroll_into_view_if_needed();page.screenshot(path=str(OUT/(name+'.png'))) + page.locator('#fixture-restore').click();refresh.focus();page.keyboard.press('Enter') + expect(actual.get_by_role('status')).to_have_count(0);expect(refresh).to_be_focused() + assert not errors,errors + results.append(dict(name=name,geometry=geometry,retainedRows=rows,stableAcquisitionTime=True,nativeRetryFocus=True,errors=errors)) + (OUT/'results.json').write_text(json.dumps(results,indent=2)+'\n') +with sync_playwright() as p: + browser=p.chromium.launch() + for kind in ['fleet','hosts']: + for width in [1440,390]: + for initial in [False,True]: + ctx=browser.new_context(viewport={'width':width,'height':900});page=ctx.new_page();case(page,kind,width,initial);ctx.close() + browser.close() + with zoom_browser(p) as (ctx,worker): + page=ctx.new_page() + page.goto('http://127.0.0.1:18140/refresh-pilot') + assert set_browser_zoom(worker,page,2)==2 + for kind in ['fleet','hosts']: + for initial in [False,True]:case(page,kind,720,initial,True) + set_browser_zoom(worker,page,1) +print('PASS',len(results),'actual refresh failure/retry cases') diff --git a/components/ui-theme/validation/ot-ui/ot11-root/browser/fleet-1440-initialFalse-zoomFalse.png b/components/ui-theme/validation/ot-ui/ot11-root/browser/fleet-1440-initialFalse-zoomFalse.png new file mode 100644 index 0000000..6cfad36 Binary files /dev/null and b/components/ui-theme/validation/ot-ui/ot11-root/browser/fleet-1440-initialFalse-zoomFalse.png differ diff --git a/components/ui-theme/validation/ot-ui/ot11-root/browser/fleet-1440-initialTrue-zoomFalse.png b/components/ui-theme/validation/ot-ui/ot11-root/browser/fleet-1440-initialTrue-zoomFalse.png new file mode 100644 index 0000000..80b2d19 Binary files /dev/null and b/components/ui-theme/validation/ot-ui/ot11-root/browser/fleet-1440-initialTrue-zoomFalse.png differ diff --git a/components/ui-theme/validation/ot-ui/ot11-root/browser/fleet-390-initialFalse-zoomFalse.png b/components/ui-theme/validation/ot-ui/ot11-root/browser/fleet-390-initialFalse-zoomFalse.png new file mode 100644 index 0000000..42b0845 Binary files /dev/null and b/components/ui-theme/validation/ot-ui/ot11-root/browser/fleet-390-initialFalse-zoomFalse.png differ diff --git a/components/ui-theme/validation/ot-ui/ot11-root/browser/fleet-390-initialTrue-zoomFalse.png b/components/ui-theme/validation/ot-ui/ot11-root/browser/fleet-390-initialTrue-zoomFalse.png new file mode 100644 index 0000000..d33748f Binary files /dev/null and b/components/ui-theme/validation/ot-ui/ot11-root/browser/fleet-390-initialTrue-zoomFalse.png differ diff --git a/components/ui-theme/validation/ot-ui/ot11-root/browser/fleet-720-initialFalse-zoomTrue.png b/components/ui-theme/validation/ot-ui/ot11-root/browser/fleet-720-initialFalse-zoomTrue.png new file mode 100644 index 0000000..7a9f142 Binary files /dev/null and b/components/ui-theme/validation/ot-ui/ot11-root/browser/fleet-720-initialFalse-zoomTrue.png differ diff --git a/components/ui-theme/validation/ot-ui/ot11-root/browser/fleet-720-initialTrue-zoomTrue.png b/components/ui-theme/validation/ot-ui/ot11-root/browser/fleet-720-initialTrue-zoomTrue.png new file mode 100644 index 0000000..8aba482 Binary files /dev/null and b/components/ui-theme/validation/ot-ui/ot11-root/browser/fleet-720-initialTrue-zoomTrue.png differ diff --git a/components/ui-theme/validation/ot-ui/ot11-root/browser/hosts-1440-initialFalse-zoomFalse.png b/components/ui-theme/validation/ot-ui/ot11-root/browser/hosts-1440-initialFalse-zoomFalse.png new file mode 100644 index 0000000..8be801c Binary files /dev/null and b/components/ui-theme/validation/ot-ui/ot11-root/browser/hosts-1440-initialFalse-zoomFalse.png differ diff --git a/components/ui-theme/validation/ot-ui/ot11-root/browser/hosts-1440-initialTrue-zoomFalse.png b/components/ui-theme/validation/ot-ui/ot11-root/browser/hosts-1440-initialTrue-zoomFalse.png new file mode 100644 index 0000000..f6d6036 Binary files /dev/null and b/components/ui-theme/validation/ot-ui/ot11-root/browser/hosts-1440-initialTrue-zoomFalse.png differ diff --git a/components/ui-theme/validation/ot-ui/ot11-root/browser/hosts-390-initialFalse-zoomFalse.png b/components/ui-theme/validation/ot-ui/ot11-root/browser/hosts-390-initialFalse-zoomFalse.png new file mode 100644 index 0000000..70764fc Binary files /dev/null and b/components/ui-theme/validation/ot-ui/ot11-root/browser/hosts-390-initialFalse-zoomFalse.png differ diff --git a/components/ui-theme/validation/ot-ui/ot11-root/browser/hosts-390-initialTrue-zoomFalse.png b/components/ui-theme/validation/ot-ui/ot11-root/browser/hosts-390-initialTrue-zoomFalse.png new file mode 100644 index 0000000..df6416d Binary files /dev/null and b/components/ui-theme/validation/ot-ui/ot11-root/browser/hosts-390-initialTrue-zoomFalse.png differ diff --git a/components/ui-theme/validation/ot-ui/ot11-root/browser/hosts-720-initialFalse-zoomTrue.png b/components/ui-theme/validation/ot-ui/ot11-root/browser/hosts-720-initialFalse-zoomTrue.png new file mode 100644 index 0000000..3688f27 Binary files /dev/null and b/components/ui-theme/validation/ot-ui/ot11-root/browser/hosts-720-initialFalse-zoomTrue.png differ diff --git a/components/ui-theme/validation/ot-ui/ot11-root/browser/hosts-720-initialTrue-zoomTrue.png b/components/ui-theme/validation/ot-ui/ot11-root/browser/hosts-720-initialTrue-zoomTrue.png new file mode 100644 index 0000000..5cfe19d Binary files /dev/null and b/components/ui-theme/validation/ot-ui/ot11-root/browser/hosts-720-initialTrue-zoomTrue.png differ diff --git a/components/ui-theme/validation/ot-ui/ot11-root/browser/results.json b/components/ui-theme/validation/ot-ui/ot11-root/browser/results.json new file mode 100644 index 0000000..d8d0bb9 --- /dev/null +++ b/components/ui-theme/validation/ot-ui/ot11-root/browser/results.json @@ -0,0 +1,146 @@ +[ + { + "name": "fleet-1440-initialFalse-zoomFalse", + "geometry": { + "width": 1440, + "dpr": 1, + "scroll": 1440 + }, + "retainedRows": 1, + "stableAcquisitionTime": true, + "nativeRetryFocus": true, + "errors": [] + }, + { + "name": "fleet-1440-initialTrue-zoomFalse", + "geometry": { + "width": 1440, + "dpr": 1, + "scroll": 1440 + }, + "retainedRows": 1, + "stableAcquisitionTime": true, + "nativeRetryFocus": true, + "errors": [] + }, + { + "name": "fleet-390-initialFalse-zoomFalse", + "geometry": { + "width": 390, + "dpr": 1, + "scroll": 390 + }, + "retainedRows": 1, + "stableAcquisitionTime": true, + "nativeRetryFocus": true, + "errors": [] + }, + { + "name": "fleet-390-initialTrue-zoomFalse", + "geometry": { + "width": 390, + "dpr": 1, + "scroll": 390 + }, + "retainedRows": 1, + "stableAcquisitionTime": true, + "nativeRetryFocus": true, + "errors": [] + }, + { + "name": "hosts-1440-initialFalse-zoomFalse", + "geometry": { + "width": 1440, + "dpr": 1, + "scroll": 1440 + }, + "retainedRows": 0, + "stableAcquisitionTime": true, + "nativeRetryFocus": true, + "errors": [] + }, + { + "name": "hosts-1440-initialTrue-zoomFalse", + "geometry": { + "width": 1440, + "dpr": 1, + "scroll": 1440 + }, + "retainedRows": 0, + "stableAcquisitionTime": true, + "nativeRetryFocus": true, + "errors": [] + }, + { + "name": "hosts-390-initialFalse-zoomFalse", + "geometry": { + "width": 390, + "dpr": 1, + "scroll": 390 + }, + "retainedRows": 0, + "stableAcquisitionTime": true, + "nativeRetryFocus": true, + "errors": [] + }, + { + "name": "hosts-390-initialTrue-zoomFalse", + "geometry": { + "width": 390, + "dpr": 1, + "scroll": 390 + }, + "retainedRows": 0, + "stableAcquisitionTime": true, + "nativeRetryFocus": true, + "errors": [] + }, + { + "name": "fleet-720-initialFalse-zoomTrue", + "geometry": { + "width": 720, + "dpr": 2, + "scroll": 720 + }, + "retainedRows": 1, + "stableAcquisitionTime": true, + "nativeRetryFocus": true, + "errors": [] + }, + { + "name": "fleet-720-initialTrue-zoomTrue", + "geometry": { + "width": 720, + "dpr": 2, + "scroll": 720 + }, + "retainedRows": 1, + "stableAcquisitionTime": true, + "nativeRetryFocus": true, + "errors": [] + }, + { + "name": "hosts-720-initialFalse-zoomTrue", + "geometry": { + "width": 720, + "dpr": 2, + "scroll": 720 + }, + "retainedRows": 0, + "stableAcquisitionTime": true, + "nativeRetryFocus": true, + "errors": [] + }, + { + "name": "hosts-720-initialTrue-zoomTrue", + "geometry": { + "width": 720, + "dpr": 2, + "scroll": 720 + }, + "retainedRows": 0, + "stableAcquisitionTime": true, + "nativeRetryFocus": true, + "errors": [] + } +] diff --git a/components/ui-theme/validation/ot-ui/ot11-root/build-final.log b/components/ui-theme/validation/ot-ui/ot11-root/build-final.log new file mode 100644 index 0000000..3206bcf --- /dev/null +++ b/components/ui-theme/validation/ot-ui/ot11-root/build-final.log @@ -0,0 +1,44 @@ + ZB.MOM.WW.OtOpcUa.Analyzers -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Analyzers.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll + ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll + ZB.MOM.WW.OtOpcUa.Commons -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Commons.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll + ZB.MOM.WW.OtOpcUa.Cluster -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Cluster.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll + ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll + ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll + ZB.MOM.WW.OtOpcUa.Configuration -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Configuration.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll + ZB.MOM.WW.OtOpcUa.Security -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Security.dll + ZB.MOM.WW.OtOpcUa.Core -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Core.dll + ZB.MOM.WW.OtOpcUa.ControlPlane -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.ControlPlane.dll + ZB.MOM.WW.OtOpcUa.OpcUaServer -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll + ZB.MOM.WW.OtOpcUa.Runtime -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Runtime.dll + ZB.MOM.WW.OtOpcUa.AdminUI -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.AdminUI.dll + OtUiCanary -> /tmp/ot11-root-canary-out/OtUiCanary.dll + +Build succeeded. + 0 Warning(s) + 0 Error(s) + +Time Elapsed 00:00:03.07 diff --git a/components/ui-theme/validation/ot-ui/ot11-root/build.log b/components/ui-theme/validation/ot-ui/ot11-root/build.log new file mode 100644 index 0000000..4de7aaf --- /dev/null +++ b/components/ui-theme/validation/ot-ui/ot11-root/build.log @@ -0,0 +1,83 @@ + Determining projects to restore... + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.csproj (in 66 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.csproj (in 88 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Abstractions/ZB.MOM.WW.OtOpcUa.Core.Abstractions.csproj (in 66 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.csproj (in 1 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.csproj (in 209 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.csproj (in 229 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.csproj (in 228 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.csproj (in 217 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Commons/ZB.MOM.WW.OtOpcUa.Commons.csproj (in 234 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.csproj (in 235 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.csproj (in 244 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting/ZB.MOM.WW.OtOpcUa.Core.Scripting.csproj (in 10 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.csproj (in 97 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.csproj (in 282 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.csproj (in 278 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.csproj (in 18 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Security/ZB.MOM.WW.OtOpcUa.Security.csproj (in 44 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.csproj (in 0.8 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Tooling/ZB.MOM.WW.OtOpcUa.Analyzers/ZB.MOM.WW.OtOpcUa.Analyzers.csproj (in 57 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Cluster/ZB.MOM.WW.OtOpcUa.Cluster.csproj (in 126 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.csproj (in 2 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.csproj (in 40 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core/ZB.MOM.WW.OtOpcUa.Core.csproj (in 285 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer/ZB.MOM.WW.OtOpcUa.OpcUaServer.csproj (in 46 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/ZB.MOM.WW.OtOpcUa.Runtime.csproj (in 33 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.csproj (in 1 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/ZB.MOM.WW.OtOpcUa.Driver.S7.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 0.9 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.csproj (in 2 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.csproj (in 32 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.csproj (in 6 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.csproj (in 5 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.csproj (in 13 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.csproj (in 4 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Configuration/ZB.MOM.WW.OtOpcUa.Configuration.csproj (in 191 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/ZB.MOM.WW.OtOpcUa.AdminUI.csproj (in 43 ms). + Restored /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.ControlPlane/ZB.MOM.WW.OtOpcUa.ControlPlane.csproj (in 64 ms). + Restored /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/components/ui-theme/validation/ot-ui/host/OtUiCanary.csproj (in 348 ms). + ZB.MOM.WW.OtOpcUa.Analyzers -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Analyzers.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll + ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll + ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll + ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll + ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll + ZB.MOM.WW.OtOpcUa.Commons -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Commons.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll + ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll + ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll + ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll + ZB.MOM.WW.OtOpcUa.Cluster -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Cluster.dll + ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll + ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll + ZB.MOM.WW.OtOpcUa.Core.Scripting -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll + ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll + ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll + ZB.MOM.WW.OtOpcUa.Configuration -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Configuration.dll + ZB.MOM.WW.OtOpcUa.Security -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Security.dll + ZB.MOM.WW.OtOpcUa.Core -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Core.dll + ZB.MOM.WW.OtOpcUa.ControlPlane -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.ControlPlane.dll + ZB.MOM.WW.OtOpcUa.OpcUaServer -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll + ZB.MOM.WW.OtOpcUa.Runtime -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.Runtime.dll + ZB.MOM.WW.OtOpcUa.AdminUI -> /tmp/ot11-root-canary-out/ZB.MOM.WW.OtOpcUa.AdminUI.dll + OtUiCanary -> /tmp/ot11-root-canary-out/OtUiCanary.dll + +Build succeeded. + 0 Warning(s) + 0 Error(s) + +Time Elapsed 00:00:21.54 diff --git a/components/ui-theme/validation/ot-ui/ot11-root/initial-hydration-harness.log b/components/ui-theme/validation/ot-ui/ot11-root/initial-hydration-harness.log new file mode 100644 index 0000000..b9ccb88 --- /dev/null +++ b/components/ui-theme/validation/ot-ui/ot11-root/initial-hydration-harness.log @@ -0,0 +1,36 @@ +Traceback (most recent call last): + File "/Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/components/ui-theme/validation/ot-ui/ot11-root/browser.py", line 50, in + ctx=browser.new_context(viewport={'width':width,'height':900});page=ctx.new_page();case(page,kind,width,initial);ctx.close() + ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/components/ui-theme/validation/ot-ui/ot11-root/browser.py", line 13, in case + page.locator('#fixture-ready').click();expect(page.locator('#fixture-state')).to_have_text('ready') + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ + File "/opt/homebrew/lib/python3.14/site-packages/playwright/sync_api/_generated.py", line 20080, in to_have_text + self._sync( + ~~~~~~~~~~^ + self._impl_obj.to_have_text( + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + ...<4 lines>... + ) + ^ + ) + ^ + File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_sync_base.py", line 115, in _sync + return task.result() + ~~~~~~~~~~~^^ + File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_assertions.py", line 561, in to_have_text + await self._expect_impl( + ...<9 lines>... + ) + File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_assertions.py", line 85, in _expect_impl + raise AssertionError( + f"{out_message}\nActual value: {actual}{error_message} {format_call_log(result.get('log'))}" + ) +AssertionError: Locator expected to have text 'ready' +Actual value: waiting +Call log: + - Expect "to_have_text" with timeout 5000ms + - waiting for locator("#fixture-state") + 9 × locator resolved to waiting + - unexpected value "waiting" + diff --git a/docs/plans/2026-11-12-scada-ui-consistency/EXECUTION.md b/docs/plans/2026-11-12-scada-ui-consistency/EXECUTION.md index b8b4d11..09115fd 100644 --- a/docs/plans/2026-11-12-scada-ui-consistency/EXECUTION.md +++ b/docs/plans/2026-11-12-scada-ui-consistency/EXECUTION.md @@ -137,3 +137,11 @@ SQL evidence qualification: AdminUiSqlServerFixture can probeitsdefaultserverdur BT02–04/06–11 accepted through55631fa03f792df12aa2068fda8e644f70ef7f6d (BT00/01/05 already accepted). Final1019passed/28unchanged external-SQL skips/0fail/0warnings; baseline outcome comparison retains all prior tests apart from two explicitly replaced native Escape callback names. Actual61renders/3roles,56additional cases/9contrast pairs,85functional cases and45worker-tab cases are bounded in BTDB docs/ui-consistency/verification.md. Independent review caught and corrected captured-review payload changes, duplicate Reload confirmation, invalid nonblank severity, clean-clone membership, scoped theme dialog host and phone audit overflow. Exact delivered Theme1.0.1 DLL+6HTTP assets verified; all three owned BT canaries stopped. History5000 performance is a synthetic client measurement, not SQL capacity certification. 92of100 tasks are accepted. OT06/09/10/11/12/13/14 and OV07 remain open. Gateway agent owns seven shared probe lifecycle guards; root owns Fleet/Hosts stale refresh feedback, primary owns other remaining OT work and final SQL gates, modal agent owns five complex wrappers. No deployment or whole-goal completion is implied. + +## OT deployment, modal and refresh checkpoint + +OT09 completedf7bc69e9 after independent source/hash/TRX/browser review:37focused including actual private-SQL50row/noArtifactBlob projection;24native feedback scenes. Accepted request, persisted status and applied/sealed outcomes remain distinct. Last successful history survives failed refresh and missing actor replies remain unconfirmed rather than rejected. No actor/backend/policy semantics changed. + +OT13 complexfive79acb80d/cleanup88be7734 passed independent review:233focused,15native627checks andtwo390/real200 invalid-focus/recovery contexts. Current getter remains live; retired child getters retain frozenA configuration and never readB/default protocol JSON. Seven sharedprobe guards43a3512b pass184focused; dynamicMonacoReadOnlyb4f7672d passes29focused, with additional late-create disposal review still open. Wrapper callers and remaining UNS/Raw/inline surfaces keep OT13 open. + +Root OT11 Fleet/Hosts7c888d1d retains last-good rows/enrichment, separate acquired/error clocks, initial unavailable/retry and manual-only busy/success feedback.40tests0skips include actual private-SQL first-query success/second-query rejection without partial config installation;12native1440/390/real200 cases confirm retryfocus/rows/time/firstfailure stability. Root host18140 stopped. Live-tail pages remain primary-owned, so OT11 remains open.93of100 tasks accepted; remaining OT06/10/11/12/13/14 and OV07 stay open, G3 not closed. diff --git a/docs/plans/2026-11-12-scada-ui-consistency/tasks.json b/docs/plans/2026-11-12-scada-ui-consistency/tasks.json index 9ae0ea7..80e30ed 100644 --- a/docs/plans/2026-11-12-scada-ui-consistency/tasks.json +++ b/docs/plans/2026-11-12-scada-ui-consistency/tasks.json @@ -751,11 +751,12 @@ "title": "Distinguish request acceptance and deployment application", "chapter": "OtOpcUa.md", "line": 227, - "status": "in_progress", + "status": "completed", "prerequisiteGates": [ "GB" ], - "dependencies": "GB is mandatory before every UI task; additional G1/G2/chapter dependencies remain in the master and named task." + "dependencies": "GB is mandatory before every UI task; additional G1/G2/chapter dependencies remain in the master and named task.", + "evidence": "/Users/dohertj2/Desktop/OtOpcUa/docs/ui-consistency/evidence/ot09-deployments/README.md; f7bc69e9" }, { "id": "OT-10",