docs(theme): accept immutable 1.0 release and local pilots
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
# Remaining ScadaBridge chapter preflight
|
||||
|
||||
Read-only preflight after pilot commit `cdd3adf6`; broad UI implementation waits for the parent's explicit **G1 passed** message. Existing-checkout branch execution was explicitly user-authorized, overriding executeplan's default new-worktree requirement. No new source changes are made by this preflight.
|
||||
|
||||
## Baseline and task boundaries
|
||||
|
||||
Actual consumer baseline is Theme 1.0.0, full CentralUI Release suite 1551 passed/zero skipped, bUnit 2.7.2 / AngleSharp 1.5.2. Shared package and static export are published unchanged per parent; final feed-only restoration is owned by parent. Pilot evidence is component-host evidence, so SB-00's authenticated route-family captures remain incomplete. SB-07/13 have only the scoped supported-dark prerequisites completed; do not mark all semantic colors/palette ownership done from the pilot.
|
||||
|
||||
The remaining chapter is `docs/plans/2026-11-12-scada-ui-consistency/ScadaBridge.md`; task IDs SB-00–15 differ from TH07's pilot terminology. In particular **SB-01 is dialog naming**, not the completed dark prerequisite.
|
||||
|
||||
## First post-G1 batch
|
||||
|
||||
1. **SB-01 naming:** existing `Components/Shared/DialogHost.razor` lacks aria-labelledby/describedby and prompt label/input association. Existing `Shared/DialogHostShowAsyncTests.cs` and `DialogSeverityStylingTests.cs` provide actual service/renderer fixtures. Add red regressions for sequential confirm/prompt naming, implement stable per-dialog IDs, preserve cancellation/severity/result typing. Verify `dotnet test tests/ZB.MOM.WW.ScadaBridge.CentralUI.Tests/ZB.MOM.WW.ScadaBridge.CentralUI.Tests.csproj -c Release --filter 'FullyQualifiedName~DialogHost|FullyQualifiedName~DialogSeverity'`.
|
||||
2. **SB-02 overlay pilot:** real `wwwroot/js/dialog.js` uses module-global saved trigger and `window.event`; `DialogHost` relies on server keydown interop. Replace with per-element native-event lifecycle while preserving existing service contracts and testing current scenarios. Reuse actual audit drawer test fixtures. Browser harness must supply an explicit local fixture and demonstrate boundary Tab/Shift+Tab, no-focusable case, disconnected trigger, hidden/disabled descendants, Escape, disposal and repeat openings. Generic extraction remains deferred until BTDB's second successful pilot. Canary source can be extended with synthetic audit drawer data; no existing rig writes.
|
||||
3. **SB-03 field association:** apply labels/descriptions through DataTable, MultiSelectDropdown, AuditFilterBar and all report inventory callsites. Proposed ControlLabelTests is a new test file, not an existing harness. Add optional LabelledBy to local multiselect, preserve selection semantics. Audit filter tests already exist under `Components/Audit/`. Source scan and role coverage must precede a claim that all forms are fixed.
|
||||
|
||||
## Remaining sequence and verified test families
|
||||
|
||||
- SB-04 UTC and SB-14 exact-ID guards share AuditFilterBar files; implement sequentially with distinct behavior tests. Preserve the lax query-model API for other callers. Run timezone-filter tests under UTC/America/Indianapolis/Asia/Tokyo; process TZ only.
|
||||
- SB-05 independent Dashboard states and SB-10 policy shortcuts share Dashboard; create planned `Pages/DashboardStateTests.cs`, then SB-08 hierarchy and SB-11 summaries. Existing `Pages/HealthPageTests.cs` and `Monitoring/HealthFailoverButtonTests.cs` are available.
|
||||
- SB-06 ToastNotification naming uses existing `Shared/ToastNotificationTests.cs`; no timer-policy expansion.
|
||||
- SB-07 semantic flow/caption inks, SB-08 page/table anatomy and SB-15 flow/audit presentation use bounded browser comparison, not CSS declaration tests. Dark aliases already landed do not establish every local component's contrast.
|
||||
- SB-09 DataTable empty count/overflow has existing `Shared/DataTablePagerTests.cs`; preserve pagination/selection and add local named scroll wrapper without double wrapping.
|
||||
- SB-12 topology touch/short-viewport adaptation must preserve tree lazy loading, poll limits and loaded-search qualification; no backend search promise.
|
||||
- SB-13 retains local dark palette and saved sb-theme because Theme ships light base plus supported consumer adapters, not a shared dark switch. No preference migration is indicated by this release.
|
||||
- SB-15 full acceptance follows all tasks, with full suite plus an authenticated authorized disposable fixture for remaining full-route/role/live-replay semantics. No fleet deployment is required or authorized by browser verification.
|
||||
|
||||
## Existing harness limitations
|
||||
|
||||
The current localhost5199 canary renders actual MainLayout/login/components with anonymous auth and synthetic data; it can validate overlay DOM, layout and component focus after adding synthetic cases. It cannot substantiate actual authenticated dashboard/health/topology data-state or authorization end-to-end claims. bUnit fixtures supply deterministic role/data behavior, while any final browser route matrix must explicitly label fixture composition and remaining integration limits. Do not reuse or mutate the existing Docker fleet rig for convenience.
|
||||
|
||||
No blocking source/test-path mismatch found for the first batch. Parent final G1 result is the pending gate, not a request for new user permission.
|
||||
@@ -0,0 +1,44 @@
|
||||
# ScadaBridge Theme 1.0.0 local consumer pilot
|
||||
|
||||
This report supersedes the historical candidate-not-run statements in `../canary/SCADABRIDGE-CANARY.md`. That document remains the baseline/setup record. This is a disposable **actual-component host**, not a full application/fleet integration or deployment. The existing Docker rigs were untouched.
|
||||
|
||||
## Package and scope
|
||||
|
||||
The exact reviewed package came from source commit `3d61456d6150145a525a3a646721f865f5680c1b`, package SHA256 `834d2aad4e61cebff3fb48bbf608d412547d4aa39bdda142d0c7caf24c9e10d0`. It was not repacked. Restore uses task-local package directories and a private approved-source NuGet config; credentials are not evidence. `package-provenance.json` records production/test resolution and package/runtime DLL equality. The actual CentralUI production graph resolves Theme 1.0.0 and contains neither bUnit nor AngleSharp; tests retain bUnit 2.7.2 and AngleSharp 1.5.2.
|
||||
|
||||
Under the parent's limited pilot exception, actual ScadaBridge changes are `Directory.Packages.props` Theme 0.5.3 → 1.0.0 and the dark token block plus a supported-dark-only Bootstrap Secondary adapter in `CentralUI/wwwroot/css/site.css`. Light tokens stay unchanged. Dark blue is #7aa0ef / #9dbaf6 with #111827 primary foreground, #1e2640 tint, #566d9c border and #a7c1ff focus. Dark semantic text/faint aliases are added; existing status signal colors are preserved. The fixture's former proposed dark palette is removed: actual served CentralUI CSS is now authoritative.
|
||||
|
||||
## Browser evidence
|
||||
|
||||
- `../canary/scadabridge-first-inspection/results.json` retains the first 22-case matrix: four light accent families at 1440/1024/390; actual MainLayout light/dark at those widths; actual login light/dark; real 200% browser zoom light/dark. Functional checks passed, including native mobile navigation, field associations/error clearing, slow local success/failure busy feedback, caller-disabled actions, focus and no horizontal overflow/JS errors.
|
||||
- **Nine immediate motion readings in that first JSON were invalid empty values from prerender nodes detached during hydration. Do not describe every first-pass assertion as passing.** The raw results remain unchanged.
|
||||
- `../canary/scadabridge-confirmation/results.json` corrects the measurement method with synchronous current-node/style lookup, and replaces misleading full-page zoom captures with viewport captures. All ten confirmation cases pass: connected content immediately opacity 1/animation none with reduced motion, actual zoom `innerWidth=720`, `scrollWidth=720`, DPR 2. No product fix was made for this measurement correction.
|
||||
- `actual-dark-adoption.json` is the bounded focused check after the actual dark source adoption. Served site.css bytes match the actual source (SHA256 recorded). Primary text 6.84:1; link 8.67:1; selected navigation 7.67:1; five semantic status samples 8.50–9.25:1; keyboard focus is a solid 2px #a7c1ff outline. Desktop content has no horizontal overflow or browser error. `actual-dark-adoption.png` captures this final actual-source state.
|
||||
- Four-family cases cover **light themes only**. The separately tested dark palette is supported ScadaBridge blue, not an expansion of all four brands into dark themes.
|
||||
|
||||
The focused check exposed inherited local Bootstrap Secondary text at 3.15:1. Under explicit parent authorization, a supported-dark-only `.btn-outline-secondary` host adapter now uses existing `--ink-soft` and `--card` variables for normal, hover, pressed and disabled component variables. Actual active normal/hover/pressed labels each measure 5.62:1. Shared focus remains intact. This adapter is in actual CentralUI site.css; Theme has no built-in family dark mode and the immutable package is unchanged.
|
||||
|
||||
## Consumer suite
|
||||
|
||||
The first full Release run retained as `first-tests.trx` / `first-tests.log` completed 1550 passed, 1 failed, zero skips. `CloseButton_DismissesModal` encountered bUnit `UnknownEventHandlerIdException` between finding a button and clicking it while asynchronous modal rendering replaced its event handler. The exception recommends dispatcher-atomic Find+Click. The behavioral assertion remains that clicking Close removes the modal.
|
||||
|
||||
After converting only this test to `async Task` and awaiting `cut.InvokeAsync(() => cut.Find(...).Click())`, the complete Release suite passed **1551/1551**, zero failures/skips (`scadabridge-theme-1.0.0.trx`, `final-tests.log`). The failed first run remains retained. No test identity/assertion was removed or weakened; no production behavior changed. This report supplies pilot evidence; the parent owns final G1 acceptance.
|
||||
|
||||
## Accepted pilot commit
|
||||
|
||||
Parent acceptance and independent review preceded the explicit three-path commit `cdd3adf6` in the ScadaBridge `codex/scada-ui-consistency` branch. The sibling checkout is clean after this commit. Package publication was performed separately by the parent; this pilot did not repack or publish.
|
||||
|
||||
## Reproduction
|
||||
|
||||
Actual consumer cwd `/Users/dohertj2/Desktop/ScadaBridge`:
|
||||
|
||||
```sh
|
||||
dotnet restore tests/ZB.MOM.WW.ScadaBridge.CentralUI.Tests/ZB.MOM.WW.ScadaBridge.CentralUI.Tests.csproj --force --packages /tmp/scadabridge-theme-pilot-packages --configfile /tmp/scadabridge-ui-canary-nuget.config
|
||||
dotnet test tests/ZB.MOM.WW.ScadaBridge.CentralUI.Tests/ZB.MOM.WW.ScadaBridge.CentralUI.Tests.csproj -c Release --no-restore --logger 'trx;LogFileName=scadabridge-theme-1.0.0.trx' --results-directory /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/components/ui-theme/validation/theme-1.0.0/scadabridge-pilot
|
||||
```
|
||||
|
||||
The private config maps exact `ZB.MOM.WW.Theme` to the local immutable package feed and merges existing approved sources. It must be recreated privately for future runs; do not commit credentials. Candidate canary restore/run uses the retained csproj with `-p:CanaryThemeVersion=1.0.0`, `--artifacts-path /tmp/scadabridge-ui-canary-candidate-artifacts` and isolated `/tmp/scadabridge-ui-canary-candidate-packages`. Its source remains synthetic/local; actual consumer tests run from the sister checkout above. `../canary/inspect_scadabridge_actual_adoption.py` records the focused final browser check; the earlier scripts/evidence remain separately retained.
|
||||
|
||||
## Rollback and limits
|
||||
|
||||
Before any publication/deployment, rollback is the original Theme 0.5.3 pin plus the original dark token block, restored together. The disposable canary binds only 127.0.0.1:5199, has no fleet/database/LDAP services, and uses synthetic values. Local delayed button outcomes exercise presentation only. No live operation, production deployment, or complete authenticated fleet route coverage is claimed. Source/runtime provenance is evidence of consuming the handed package, not publication authorization.
|
||||
+106
@@ -0,0 +1,106 @@
|
||||
{
|
||||
"pairs": {
|
||||
"primary": {
|
||||
"color": "rgb(17, 24, 39)",
|
||||
"background": "rgb(122, 160, 239)",
|
||||
"selector": "#canary-busy-success",
|
||||
"contrast": 6.844
|
||||
},
|
||||
"link": {
|
||||
"color": "rgb(157, 186, 246)",
|
||||
"background": "rgb(27, 29, 33)",
|
||||
"selector": "main.page a",
|
||||
"contrast": 8.67
|
||||
},
|
||||
"selected": {
|
||||
"color": "rgb(157, 186, 246)",
|
||||
"background": "rgb(30, 38, 64)",
|
||||
"selector": ".rail-link.active",
|
||||
"contrast": 7.67
|
||||
},
|
||||
"ok": {
|
||||
"color": "rgb(138, 218, 150)",
|
||||
"background": "rgb(26, 46, 30)",
|
||||
"selector": ".canary-status-row .chip-ok",
|
||||
"contrast": 8.634
|
||||
},
|
||||
"warn": {
|
||||
"color": "rgb(239, 189, 99)",
|
||||
"background": "rgb(46, 34, 16)",
|
||||
"selector": ".canary-status-row .chip-warn",
|
||||
"contrast": 8.968
|
||||
},
|
||||
"bad": {
|
||||
"color": "rgb(255, 157, 157)",
|
||||
"background": "rgb(46, 22, 22)",
|
||||
"selector": ".canary-status-row .chip-bad",
|
||||
"contrast": 8.5
|
||||
},
|
||||
"idle": {
|
||||
"color": "rgb(195, 202, 213)",
|
||||
"background": "rgb(37, 40, 45)",
|
||||
"selector": ".canary-status-row .chip-idle",
|
||||
"contrast": 8.964
|
||||
},
|
||||
"info": {
|
||||
"color": "rgb(180, 198, 255)",
|
||||
"background": "rgb(26, 34, 64)",
|
||||
"selector": ".canary-status-row .chip-info",
|
||||
"contrast": 9.253
|
||||
},
|
||||
"secondary": {
|
||||
"color": "rgb(154, 160, 170)",
|
||||
"background": "rgb(37, 40, 45)",
|
||||
"selector": "#canary-busy-failure",
|
||||
"contrast": 5.621
|
||||
}
|
||||
},
|
||||
"tokens": {
|
||||
"--accent": "#7aa0ef",
|
||||
"--accent-deep": "#9dbaf6",
|
||||
"--accent-tint": "#1e2640",
|
||||
"--accent-focus": "#a7c1ff",
|
||||
"--on-accent": "#111827",
|
||||
"--ink-faint": "#a8b0bc",
|
||||
"--ok": "#40b856",
|
||||
"--warn": "#f0a030",
|
||||
"--bad": "#f05050",
|
||||
"--idle": "#7a8290"
|
||||
},
|
||||
"layout": {
|
||||
"innerWidth": 1440,
|
||||
"scrollWidth": 1440
|
||||
},
|
||||
"focus": {
|
||||
"active": true,
|
||||
"visible": true,
|
||||
"color": "rgb(167, 193, 255)",
|
||||
"width": "2px",
|
||||
"style": "solid"
|
||||
},
|
||||
"secondaryStates": {
|
||||
"normal": {
|
||||
"color": "rgb(154, 160, 170)",
|
||||
"background": "rgb(37, 40, 45)",
|
||||
"contrast": 5.621
|
||||
},
|
||||
"hover": {
|
||||
"color": "rgb(37, 40, 45)",
|
||||
"background": "rgb(154, 160, 170)",
|
||||
"contrast": 5.621
|
||||
},
|
||||
"active": {
|
||||
"color": "rgb(37, 40, 45)",
|
||||
"background": "rgb(154, 160, 170)",
|
||||
"contrast": 5.621
|
||||
}
|
||||
},
|
||||
"actualStylesheetParity": true,
|
||||
"siteCssSha256": "0c511c5f208942d4666678e931b4931534b4eb44921cfad95cf02f2cf03fb480",
|
||||
"lightControl": {
|
||||
"color": "rgb(255, 255, 255)",
|
||||
"background": "rgb(47, 95, 208)"
|
||||
},
|
||||
"browserErrors": [],
|
||||
"passed": true
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 116 KiB |
@@ -0,0 +1,26 @@
|
||||
ZB.MOM.WW.ScadaBridge.Commons -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.Commons/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.Commons.dll
|
||||
ZB.MOM.WW.ScadaBridge.KpiHistory -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.KpiHistory/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.KpiHistory.dll
|
||||
ZB.MOM.WW.ScadaBridge.ConfigurationDatabase -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.ConfigurationDatabase/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.ConfigurationDatabase.dll
|
||||
ZB.MOM.WW.ScadaBridge.Communication -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.Communication/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.Communication.dll
|
||||
ZB.MOM.WW.ScadaBridge.Security -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.Security/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.Security.dll
|
||||
ZB.MOM.WW.ScadaBridge.ScriptAnalysis -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.ScriptAnalysis/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.ScriptAnalysis.dll
|
||||
ZB.MOM.WW.ScadaBridge.SiteEventLogging -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.SiteEventLogging/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.SiteEventLogging.dll
|
||||
ZB.MOM.WW.ScadaBridge.StoreAndForward -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.StoreAndForward/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.StoreAndForward.dll
|
||||
ZB.MOM.WW.ScadaBridge.TemplateEngine -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.TemplateEngine/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.TemplateEngine.dll
|
||||
ZB.MOM.WW.ScadaBridge.AuditLog -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.AuditLog/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.AuditLog.dll
|
||||
ZB.MOM.WW.ScadaBridge.Transport -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.Transport/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.Transport.dll
|
||||
ZB.MOM.WW.ScadaBridge.DeploymentManager -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.DeploymentManager/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.DeploymentManager.dll
|
||||
ZB.MOM.WW.ScadaBridge.NotificationService -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.NotificationService/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.NotificationService.dll
|
||||
ZB.MOM.WW.ScadaBridge.InboundAPI -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.InboundAPI/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.InboundAPI.dll
|
||||
ZB.MOM.WW.ScadaBridge.HealthMonitoring -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.HealthMonitoring/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.HealthMonitoring.dll
|
||||
ZB.MOM.WW.ScadaBridge.ExternalSystemGateway -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.ExternalSystemGateway/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.ExternalSystemGateway.dll
|
||||
ZB.MOM.WW.ScadaBridge.NotificationOutbox -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.NotificationOutbox/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.NotificationOutbox.dll
|
||||
ZB.MOM.WW.ScadaBridge.ManagementService -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.ManagementService/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.ManagementService.dll
|
||||
ZB.MOM.WW.ScadaBridge.CentralUI -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.CentralUI/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.CentralUI.dll
|
||||
ZB.MOM.WW.ScadaBridge.CentralUI.SandboxWorker -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.CentralUI.SandboxWorker/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.CentralUI.SandboxWorker.dll
|
||||
ZB.MOM.WW.ScadaBridge.CentralUI.Tests -> /Users/dohertj2/Desktop/ScadaBridge/tests/ZB.MOM.WW.ScadaBridge.CentralUI.Tests/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.CentralUI.Tests.dll
|
||||
Test run for /Users/dohertj2/Desktop/ScadaBridge/tests/ZB.MOM.WW.ScadaBridge.CentralUI.Tests/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.CentralUI.Tests.dll (.NETCoreApp,Version=v10.0)
|
||||
A total of 1 test files matched the specified pattern.
|
||||
Results File: /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/components/ui-theme/validation/theme-1.0.0/scadabridge-pilot/scadabridge-theme-1.0.0.trx
|
||||
|
||||
Passed! - Failed: 0, Passed: 1551, Skipped: 0, Total: 1551, Duration: 34 s - ZB.MOM.WW.ScadaBridge.CentralUI.Tests.dll (net10.0)
|
||||
@@ -0,0 +1,56 @@
|
||||
ZB.MOM.WW.ScadaBridge.Commons -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.Commons/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.Commons.dll
|
||||
ZB.MOM.WW.ScadaBridge.KpiHistory -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.KpiHistory/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.KpiHistory.dll
|
||||
ZB.MOM.WW.ScadaBridge.Security -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.Security/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.Security.dll
|
||||
ZB.MOM.WW.ScadaBridge.ScriptAnalysis -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.ScriptAnalysis/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.ScriptAnalysis.dll
|
||||
ZB.MOM.WW.ScadaBridge.SiteEventLogging -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.SiteEventLogging/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.SiteEventLogging.dll
|
||||
ZB.MOM.WW.ScadaBridge.Communication -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.Communication/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.Communication.dll
|
||||
ZB.MOM.WW.ScadaBridge.StoreAndForward -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.StoreAndForward/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.StoreAndForward.dll
|
||||
ZB.MOM.WW.ScadaBridge.ConfigurationDatabase -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.ConfigurationDatabase/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.ConfigurationDatabase.dll
|
||||
ZB.MOM.WW.ScadaBridge.TemplateEngine -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.TemplateEngine/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.TemplateEngine.dll
|
||||
ZB.MOM.WW.ScadaBridge.AuditLog -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.AuditLog/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.AuditLog.dll
|
||||
ZB.MOM.WW.ScadaBridge.Transport -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.Transport/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.Transport.dll
|
||||
ZB.MOM.WW.ScadaBridge.DeploymentManager -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.DeploymentManager/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.DeploymentManager.dll
|
||||
ZB.MOM.WW.ScadaBridge.HealthMonitoring -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.HealthMonitoring/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.HealthMonitoring.dll
|
||||
ZB.MOM.WW.ScadaBridge.NotificationService -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.NotificationService/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.NotificationService.dll
|
||||
ZB.MOM.WW.ScadaBridge.InboundAPI -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.InboundAPI/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.InboundAPI.dll
|
||||
ZB.MOM.WW.ScadaBridge.ExternalSystemGateway -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.ExternalSystemGateway/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.ExternalSystemGateway.dll
|
||||
ZB.MOM.WW.ScadaBridge.NotificationOutbox -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.NotificationOutbox/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.NotificationOutbox.dll
|
||||
ZB.MOM.WW.ScadaBridge.ManagementService -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.ManagementService/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.ManagementService.dll
|
||||
ZB.MOM.WW.ScadaBridge.CentralUI -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.CentralUI/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.CentralUI.dll
|
||||
ZB.MOM.WW.ScadaBridge.CentralUI.SandboxWorker -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.CentralUI.SandboxWorker/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.CentralUI.SandboxWorker.dll
|
||||
ZB.MOM.WW.ScadaBridge.CentralUI.Tests -> /Users/dohertj2/Desktop/ScadaBridge/tests/ZB.MOM.WW.ScadaBridge.CentralUI.Tests/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.CentralUI.Tests.dll
|
||||
Test run for /Users/dohertj2/Desktop/ScadaBridge/tests/ZB.MOM.WW.ScadaBridge.CentralUI.Tests/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.CentralUI.Tests.dll (.NETCoreApp,Version=v10.0)
|
||||
A total of 1 test files matched the specified pattern.
|
||||
[xUnit.net 00:00:01.73] ZB.MOM.WW.ScadaBridge.CentralUI.Tests.Pages.NotificationReportDetailModalTests.CloseButton_DismissesModal [FAIL]
|
||||
Failed ZB.MOM.WW.ScadaBridge.CentralUI.Tests.Pages.NotificationReportDetailModalTests.CloseButton_DismissesModal [55 ms]
|
||||
Error Message:
|
||||
Bunit.Rendering.UnknownEventHandlerIdException : There is no event handler with ID '37' associated with the 'onclick' event in the current render tree.
|
||||
|
||||
This can happen, for example, when using `cut.FindAll()`, and calling event trigger methods on the found elements after a re-render of the render tree. The workaround is to use re-issue the `cut.FindAll()` call after each render of a component, this ensures you have the latest version of the render tree and DOM tree available in your test code.
|
||||
|
||||
This can happen with code like this, `cut.Find("button").Click()`, where the buttons event handler can be removed between the time button is found with the Find method and the Click method is triggered. The workaround is to use wrap the Find and Click method calls in InvokeAsync, i.e. `cut.InvokeAsync(() => cut.Find("button").Click());`. This ensures that there are no changes to the DOM between Find method and the Click method calls.
|
||||
---- System.ArgumentException : There is no event handler associated with this event. EventId: '37'. (Parameter 'eventHandlerId')
|
||||
Stack Trace:
|
||||
at Bunit.Rendering.BunitRenderer.AssertNoUnhandledExceptions() in /_/src/bunit/Rendering/BunitRenderer.cs:line 703
|
||||
at Bunit.Rendering.BunitRenderer.DispatchEventAsync(UInt64 eventHandlerId, EventFieldInfo fieldInfo, EventArgs eventArgs, Boolean ignoreUnknownEventHandlers) in /_/src/bunit/Rendering/BunitRenderer.cs:line 201
|
||||
at Bunit.TriggerEventDispatchExtensions.GetDispatchEventTasks(BunitRenderer renderer, IElement element, String eventName, EventArgs eventArgs) in /_/src/bunit/EventDispatchExtensions/TriggerEventDispatchExtensions.cs:line 135
|
||||
at Bunit.TriggerEventDispatchExtensions.TriggerBubblingEventAsync(BunitRenderer renderer, IElement element, String eventName, EventArgs eventArgs) in /_/src/bunit/EventDispatchExtensions/TriggerEventDispatchExtensions.cs:line 110
|
||||
at Bunit.TriggerEventDispatchExtensions.TriggerEventsAsync(BunitRenderer renderer, IElement element, String eventName, EventArgs eventArgs) in /_/src/bunit/EventDispatchExtensions/TriggerEventDispatchExtensions.cs:line 86
|
||||
at Bunit.TriggerEventDispatchExtensions.<>c__DisplayClass3_0.<TriggerEventAsync>b__0() in /_/src/bunit/EventDispatchExtensions/TriggerEventDispatchExtensions.cs:line 73
|
||||
at Microsoft.AspNetCore.Components.Rendering.RendererSynchronizationContext.<>c.<<InvokeAsync>b__10_0>d.MoveNext()
|
||||
--- End of stack trace from previous location ---
|
||||
at Bunit.TriggerEventDispatchExtensions.ThrowIfFailedSynchronously(Task result) in /_/src/bunit/EventDispatchExtensions/TriggerEventDispatchExtensions.cs:line 254
|
||||
at Bunit.TriggerEventDispatchExtensions.TriggerEventAsync(IElement element, String eventName, EventArgs eventArgs) in /_/src/bunit/EventDispatchExtensions/TriggerEventDispatchExtensions.cs:line 75
|
||||
at Bunit.EventHandlerDispatchExtensions.ClickAsync(IElement element, MouseEventArgs eventArgs) in /_/src/bunit/obj/Release/net10.0/bunit.generators.internal/Bunit.Blazor.EventDispatcherExtensionGenerator/EventHandlerDispatchExtensions.g.cs:line 1209
|
||||
at Bunit.EventHandlerDispatchExtensions.Click(IElement element, MouseEventArgs eventArgs) in /_/src/bunit/obj/Release/net10.0/bunit.generators.internal/Bunit.Blazor.EventDispatcherExtensionGenerator/EventHandlerDispatchExtensions.g.cs:line 1200
|
||||
at ZB.MOM.WW.ScadaBridge.CentralUI.Tests.Pages.NotificationReportDetailModalTests.CloseButton_DismissesModal() in /Users/dohertj2/Desktop/ScadaBridge/tests/ZB.MOM.WW.ScadaBridge.CentralUI.Tests/Pages/NotificationReportDetailModalTests.cs:line 158
|
||||
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
|
||||
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
|
||||
----- Inner Stack Trace -----
|
||||
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetRequiredEventBindingEntry(UInt64 eventHandlerId)
|
||||
at Microsoft.AspNetCore.Components.RenderTree.Renderer.DispatchEventAsync(UInt64 eventHandlerId, EventFieldInfo fieldInfo, EventArgs eventArgs, Boolean waitForQuiescence)
|
||||
at Bunit.Rendering.BunitRenderer.<>n__0(UInt64 eventHandlerId, EventFieldInfo fieldInfo, EventArgs eventArgs)
|
||||
at Bunit.Rendering.BunitRenderer.<>c__DisplayClass32_0.<DispatchEventAsync>b__0() in /_/src/bunit/Rendering/BunitRenderer.cs:line 182
|
||||
Results File: /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/components/ui-theme/validation/theme-1.0.0/scadabridge-pilot/scadabridge-theme-1.0.0.trx
|
||||
|
||||
Failed! - Failed: 1, Passed: 1550, Skipped: 0, Total: 1551, Duration: 34 s - ZB.MOM.WW.ScadaBridge.CentralUI.Tests.dll (net10.0)
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,63 @@
|
||||
{
|
||||
"production": {
|
||||
"assetsPath": "/Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.CentralUI/obj/project.assets.json",
|
||||
"packages": {
|
||||
"ZB.MOM.WW.Theme": [
|
||||
"ZB.MOM.WW.Theme/1.0.0"
|
||||
],
|
||||
"bunit": [],
|
||||
"AngleSharp": []
|
||||
},
|
||||
"packageFolders": [
|
||||
"/tmp/scadabridge-theme-pilot-packages"
|
||||
]
|
||||
},
|
||||
"test": {
|
||||
"assetsPath": "/Users/dohertj2/Desktop/ScadaBridge/tests/ZB.MOM.WW.ScadaBridge.CentralUI.Tests/obj/project.assets.json",
|
||||
"packages": {
|
||||
"ZB.MOM.WW.Theme": [
|
||||
"ZB.MOM.WW.Theme/1.0.0"
|
||||
],
|
||||
"bunit": [
|
||||
"bunit/2.7.2"
|
||||
],
|
||||
"AngleSharp": [
|
||||
"AngleSharp/1.5.2"
|
||||
]
|
||||
},
|
||||
"packageFolders": [
|
||||
"/tmp/scadabridge-theme-pilot-packages"
|
||||
]
|
||||
},
|
||||
"package": {
|
||||
"sha256": "834d2aad4e61cebff3fb48bbf608d412547d4aa39bdda142d0c7caf24c9e10d0",
|
||||
"dllEntry": "lib/net10.0/ZB.MOM.WW.Theme.dll",
|
||||
"dllSha256": "268c5364d6b98d8a19175587431df2e147f432c7cf0615d86372c7f636cde3bc"
|
||||
},
|
||||
"runtime": [
|
||||
{
|
||||
"path": "/Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.CentralUI.SandboxWorker/bin/Release/net10.0/ZB.MOM.WW.Theme.dll",
|
||||
"sha256": "268c5364d6b98d8a19175587431df2e147f432c7cf0615d86372c7f636cde3bc",
|
||||
"matchesPackage": true
|
||||
},
|
||||
{
|
||||
"path": "/Users/dohertj2/Desktop/ScadaBridge/tests/ZB.MOM.WW.ScadaBridge.CentralUI.Tests/bin/Release/net10.0/ZB.MOM.WW.Theme.dll",
|
||||
"sha256": "268c5364d6b98d8a19175587431df2e147f432c7cf0615d86372c7f636cde3bc",
|
||||
"matchesPackage": true
|
||||
}
|
||||
],
|
||||
"testDeps": {
|
||||
"path": "/Users/dohertj2/Desktop/ScadaBridge/tests/ZB.MOM.WW.ScadaBridge.CentralUI.Tests/bin/Release/net10.0/ZB.MOM.WW.ScadaBridge.CentralUI.Tests.deps.json",
|
||||
"libraries": {
|
||||
"ZB.MOM.WW.Theme": [
|
||||
"ZB.MOM.WW.Theme/1.0.0"
|
||||
],
|
||||
"bunit": [
|
||||
"bunit/2.7.2"
|
||||
],
|
||||
"AngleSharp": [
|
||||
"AngleSharp/1.5.2"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
Determining projects to restore...
|
||||
Restored /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.Commons/ZB.MOM.WW.ScadaBridge.Commons.csproj (in 771 ms).
|
||||
Restored /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.TemplateEngine/ZB.MOM.WW.ScadaBridge.TemplateEngine.csproj (in 1.61 sec).
|
||||
Restored /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.DeploymentManager/ZB.MOM.WW.ScadaBridge.DeploymentManager.csproj (in 1.61 sec).
|
||||
Restored /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.Security/ZB.MOM.WW.ScadaBridge.Security.csproj (in 23 ms).
|
||||
Restored /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.SiteEventLogging/ZB.MOM.WW.ScadaBridge.SiteEventLogging.csproj (in 1.64 sec).
|
||||
Restored /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.HealthMonitoring/ZB.MOM.WW.ScadaBridge.HealthMonitoring.csproj (in 863 ms).
|
||||
Restored /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.NotificationOutbox/ZB.MOM.WW.ScadaBridge.NotificationOutbox.csproj (in 1.64 sec).
|
||||
Restored /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.NotificationService/ZB.MOM.WW.ScadaBridge.NotificationService.csproj (in 1.64 sec).
|
||||
Restored /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.KpiHistory/ZB.MOM.WW.ScadaBridge.KpiHistory.csproj (in 8 ms).
|
||||
Restored /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.ScriptAnalysis/ZB.MOM.WW.ScadaBridge.ScriptAnalysis.csproj (in 8 ms).
|
||||
Restored /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.StoreAndForward/ZB.MOM.WW.ScadaBridge.StoreAndForward.csproj (in 8 ms).
|
||||
Restored /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.ExternalSystemGateway/ZB.MOM.WW.ScadaBridge.ExternalSystemGateway.csproj (in 1.7 sec).
|
||||
Restored /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.InboundAPI/ZB.MOM.WW.ScadaBridge.InboundAPI.csproj (in 77 ms).
|
||||
Restored /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.AuditLog/ZB.MOM.WW.ScadaBridge.AuditLog.csproj (in 1.7 sec).
|
||||
Restored /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.Transport/ZB.MOM.WW.ScadaBridge.Transport.csproj (in 1.7 sec).
|
||||
Restored /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.ManagementService/ZB.MOM.WW.ScadaBridge.ManagementService.csproj (in 1.71 sec).
|
||||
Restored /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.ConfigurationDatabase/ZB.MOM.WW.ScadaBridge.ConfigurationDatabase.csproj (in 1.71 sec).
|
||||
Restored /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.CentralUI/ZB.MOM.WW.ScadaBridge.CentralUI.csproj (in 1.7 sec).
|
||||
Restored /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.CentralUI.SandboxWorker/ZB.MOM.WW.ScadaBridge.CentralUI.SandboxWorker.csproj (in 1.7 sec).
|
||||
Restored /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.Communication/ZB.MOM.WW.ScadaBridge.Communication.csproj (in 220 ms).
|
||||
Restored /Users/dohertj2/Desktop/ScadaBridge/tests/ZB.MOM.WW.ScadaBridge.CentralUI.Tests/ZB.MOM.WW.ScadaBridge.CentralUI.Tests.csproj (in 2.01 sec).
|
||||
+9468
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"passed": 1551,
|
||||
"total": 1551,
|
||||
"failed": 0,
|
||||
"scope": "actual CentralUI Release full suite after pin, dark adapter and test-only dispatcher correction"
|
||||
}
|
||||
Reference in New Issue
Block a user