fix(admin-ui): recover root loads and clarify loaded-tree filtering
@@ -0,0 +1,25 @@
|
||||
# OT10 loaded-tree filtering and root recovery
|
||||
|
||||
Frozen source scope is GlobalRaw, GlobalUns, UnsTree plus TreeRecoveryTests (hashes in source-freeze.json). Both pages retain their exact ConfigEditor route policy. Create-a-cluster next step targets existing /clusters/new with the same policy. Raw retains prerender:false and auto-expands only eager Enterprise roots; it adds no child fetch. UNS filtering remains a case-insensitive substring over loaded names and ancestor context, with no new search endpoint or lazy tag fetch.
|
||||
|
||||
Root loading, failed read, confirmed no clusters and loaded-name no-match states are distinct. Retry is dispatcher-side single-flight. Failed retry returns focus to its control; Clear returns focus to the associated UNS input. The field describes its loaded-only scope; the helper sits outside the uppercase panel heading. Full escaped failure text uses existing native DiagnosticDetails. Page disposal cancels its view-owned initial/retry reads and ignores late results. Existing mutation/caller reload methods are unchanged here: their presentation-generation follow-up is a separate required OT13 batch.
|
||||
|
||||
The actual 195px browser case exposed an unbounded existing UNS action row (241px document). The loaded UNS region now owns horizontal overflow, has a contextual accessible name and keyboard focus; no virtualization or data loading was introduced. No global CSS change is included.
|
||||
|
||||
## Actual checks
|
||||
|
||||
- red.log: 4 behavioral failures before implementation (missing retry/no-match contract). first-green-attempt.log records 3 pass/1 failure from assuming bUnit wrapper disposal was synchronous; the deterministic dispatcher disposal correction is explained below. A separate concurrent Fleet/Hosts test compile failure briefly blocked an intermediate run and was corrected by its owner.
|
||||
- tests.log/tests.trx: 13 passed, 0 failed/skipped (5 new recovery/filter cases plus 8 existing RawTreeRows tests). Includes repeated failed retry then success, no false empty state, pending read reentry guard, cancellation before releasing the delayed result, no lazy calls, loaded-only no-match and clear/unchanged read count.
|
||||
- Command from OtOpcUa root: `python3 infra/tools/ui-consistency/with_private_sql.py --state <private-state-path> -- dotnet test tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.csproj -c Release --no-restore --filter "FullyQualifiedName~TreeRecoveryTests|FullyQualifiedName~RawTreeRowsTests" --logger "trx;LogFileName=tree-recovery.trx" --results-directory /tmp/ot10-accepted-results`.
|
||||
- fixture-build.log: actual component host builds with zero warnings/errors. Its proxy allows synthetic root reads and an empty equipment-picker context, refuses lazy/mutation calls and records refusals. No actual fleet, SQL or configuration write occurs in browser cases. All test discovery uses the explicit private loopback SQL runner.
|
||||
- matrix.json/confirmation.log: 8/8 actual browser cases: Raw/UNS ×1440/390 and real200% (720/195 effective widths, DPR2). Checks failed-retry focus, escaped diagnostic, successful recovery, linked scope hint, no-match, Clear focus/value/loaded nodes, zero unexpected lazy/mutation calls and no page overflow/errors. Screenshots use viewport capture; tall viewport at200% avoids the earlier scrolling/capture framing issue.
|
||||
|
||||
## Honest failure record
|
||||
|
||||
The first harness attempt selected ancestor ThemeShell details as well as the target disclosure; harness-selector-failure.log preserves that strict-mode error. first-matrix.json/log preserve the first complete8case run: Raw4passed; UNS4 had case-sensitive CSSuppercase helper checks and immediate async-Clear assertions, plus the real195px overflow. The first confirmation then used global querySelector(input), which selected a hidden rail form input; global-input-harness-timeout.log and contextual-clear-probe.log show the selector mistake and actual correctly cleared/focused field. The final harness uses the control’s actual ID and waits on its value/focus; no Clear product behavior was changed to address that harness error. No failures are counted as passing.
|
||||
|
||||
The test fixture calls the component’s public Dispose on its dispatcher for deterministic pending-read cleanup, rather than assuming the bUnit wrapper’s synchronous Dispose has completed component disposal. This preserves the cancellation assertion. DispatchProxy fakes cover both root interfaces without changing the existing Raw fake’s throw-by-default contract.
|
||||
|
||||
## Remaining gates
|
||||
|
||||
Whole-route/full-suite/package/runtime and combined fields/dialogs acceptance remain OT14. GlobalUns modal replacement/reload generations remain OT13. No claim of generic tree search, complete lazy-tree inventory or production connectivity. Roll back this scoped source commit for a regression; there is no data migration or deployment.
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"origin": "http://127.0.0.1:51661",
|
||||
"cases": 8,
|
||||
"passed": 8,
|
||||
"failed": []
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{'value': '', 'html': '<input aria-describedby="uns-filter-c19d1574f1fa4a61bf43204c08594739-hint" id="uns-filter-c19d1574f1fa4a61bf43204c08594739" type="text" class="form-control form-control-sm" style="max-width:240px" placeholder="Filter by name (substring)…" _bl_a36c3a51-f21c-48b1-aa33-dc863d847946="">', 'active': '<input aria-describedby="uns-filter-c19d1574f1fa4a61bf43204c08594739-hint" id="uns-filter-c19d1574f1fa4a61bf43204c08594739" type="text" class="form-control form-control-sm" style="max-width:240px" placeholder="Filter by name (substring)…" _bl_a36c3a51-f21c-48b1-aa33-dc863d847946="">'}
|
||||
{
|
||||
"origin": "http://127.0.0.1:51661",
|
||||
"cases": 1,
|
||||
"passed": 1,
|
||||
"failed": []
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
|
||||
ZB.MOM.WW.OtOpcUa.Analyzers -> /Users/dohertj2/Desktop/OtOpcUa/src/Tooling/ZB.MOM.WW.OtOpcUa.Analyzers/bin/Release/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/Release/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/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Abstractions/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/bin/Release/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/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/bin/Release/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/Release/net10.0/ZB.MOM.WW.OtOpcUa.Commons.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Cluster -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Cluster/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Cluster.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.Scripting -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Configuration -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Configuration/bin/Release/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/Release/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/Release/net10.0/ZB.MOM.WW.OtOpcUa.Security.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/bin/Release/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/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/bin/Release/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/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll
|
||||
ZB.MOM.WW.OtOpcUa.ControlPlane -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.ControlPlane/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.ControlPlane.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip/bin/Release/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/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll
|
||||
ZB.MOM.WW.OtOpcUa.OpcUaServer -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer/bin/Release/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/Release/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/Release/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/Release/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/Release/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.21] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.TreeRecoveryTests.RawPendingRetry_IsSingleFlightAndDisposalCancelsRead [FAIL]
|
||||
Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.TreeRecoveryTests.RawPendingRetry_IsSingleFlightAndDisposalCancelsRead [201 ms]
|
||||
Error Message:
|
||||
Shouldly.ShouldAssertException : cut.Dispose();reads.Token.IsCancellationRequested
|
||||
should be
|
||||
True
|
||||
but was
|
||||
False
|
||||
Stack Trace:
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.TreeRecoveryTests.RawPendingRetry_IsSingleFlightAndDisposalCancelsRead() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/TreeRecoveryTests.cs:line 51
|
||||
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
|
||||
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
|
||||
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
|
||||
--- End of stack trace from previous location ---
|
||||
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
|
||||
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
|
||||
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
|
||||
|
||||
Failed! - Failed: 1, Passed: 3, Skipped: 0, Total: 4, Duration: 227 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0)
|
||||
@@ -0,0 +1,182 @@
|
||||
[
|
||||
{
|
||||
"sample": "raw",
|
||||
"viewport": 1440,
|
||||
"zoom": 1,
|
||||
"layout": {
|
||||
"width": 1440,
|
||||
"document": 1440,
|
||||
"dpr": 1
|
||||
},
|
||||
"counts": "2 / 0",
|
||||
"checks": {
|
||||
"failureNotEmpty": true,
|
||||
"fullEscapedDiagnostic": true,
|
||||
"recoveryConfirmedEmpty": true,
|
||||
"noLazyOrMutationCalls": true,
|
||||
"noBodyOverflow": true,
|
||||
"noPageErrors": true
|
||||
},
|
||||
"errors": [],
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"sample": "raw",
|
||||
"viewport": 390,
|
||||
"zoom": 1,
|
||||
"layout": {
|
||||
"width": 390,
|
||||
"document": 390,
|
||||
"dpr": 1
|
||||
},
|
||||
"counts": "0 / 0",
|
||||
"checks": {
|
||||
"failureNotEmpty": true,
|
||||
"fullEscapedDiagnostic": true,
|
||||
"recoveryConfirmedEmpty": true,
|
||||
"noLazyOrMutationCalls": true,
|
||||
"noBodyOverflow": true,
|
||||
"noPageErrors": true
|
||||
},
|
||||
"errors": [],
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"sample": "raw",
|
||||
"viewport": 1440,
|
||||
"zoom": 2,
|
||||
"layout": {
|
||||
"width": 720,
|
||||
"document": 720,
|
||||
"dpr": 2
|
||||
},
|
||||
"counts": "0 / 0",
|
||||
"checks": {
|
||||
"failureNotEmpty": true,
|
||||
"fullEscapedDiagnostic": true,
|
||||
"recoveryConfirmedEmpty": true,
|
||||
"noLazyOrMutationCalls": true,
|
||||
"noBodyOverflow": true,
|
||||
"noPageErrors": true
|
||||
},
|
||||
"errors": [],
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"sample": "raw",
|
||||
"viewport": 390,
|
||||
"zoom": 2,
|
||||
"layout": {
|
||||
"width": 195,
|
||||
"document": 195,
|
||||
"dpr": 2
|
||||
},
|
||||
"counts": "0 / 0",
|
||||
"checks": {
|
||||
"failureNotEmpty": true,
|
||||
"fullEscapedDiagnostic": true,
|
||||
"recoveryConfirmedEmpty": true,
|
||||
"noLazyOrMutationCalls": true,
|
||||
"noBodyOverflow": true,
|
||||
"noPageErrors": true
|
||||
},
|
||||
"errors": [],
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"sample": "uns",
|
||||
"viewport": 1440,
|
||||
"zoom": 1,
|
||||
"layout": {
|
||||
"width": 1440,
|
||||
"document": 1440,
|
||||
"dpr": 1
|
||||
},
|
||||
"counts": "0 / 0",
|
||||
"checks": {
|
||||
"failureNotEmpty": true,
|
||||
"fullEscapedDiagnostic": true,
|
||||
"scopeHintLinked": false,
|
||||
"noMatchExplicit": true,
|
||||
"clearFocusReturned": false,
|
||||
"clearRestoresLoadedNodes": false,
|
||||
"noLazyOrMutationCalls": true,
|
||||
"noBodyOverflow": true,
|
||||
"noPageErrors": true
|
||||
},
|
||||
"errors": [],
|
||||
"passed": false
|
||||
},
|
||||
{
|
||||
"sample": "uns",
|
||||
"viewport": 390,
|
||||
"zoom": 1,
|
||||
"layout": {
|
||||
"width": 390,
|
||||
"document": 390,
|
||||
"dpr": 1
|
||||
},
|
||||
"counts": "0 / 0",
|
||||
"checks": {
|
||||
"failureNotEmpty": true,
|
||||
"fullEscapedDiagnostic": true,
|
||||
"scopeHintLinked": false,
|
||||
"noMatchExplicit": true,
|
||||
"clearFocusReturned": false,
|
||||
"clearRestoresLoadedNodes": false,
|
||||
"noLazyOrMutationCalls": true,
|
||||
"noBodyOverflow": true,
|
||||
"noPageErrors": true
|
||||
},
|
||||
"errors": [],
|
||||
"passed": false
|
||||
},
|
||||
{
|
||||
"sample": "uns",
|
||||
"viewport": 1440,
|
||||
"zoom": 2,
|
||||
"layout": {
|
||||
"width": 720,
|
||||
"document": 720,
|
||||
"dpr": 2
|
||||
},
|
||||
"counts": "0 / 0",
|
||||
"checks": {
|
||||
"failureNotEmpty": true,
|
||||
"fullEscapedDiagnostic": true,
|
||||
"scopeHintLinked": false,
|
||||
"noMatchExplicit": true,
|
||||
"clearFocusReturned": false,
|
||||
"clearRestoresLoadedNodes": false,
|
||||
"noLazyOrMutationCalls": true,
|
||||
"noBodyOverflow": true,
|
||||
"noPageErrors": true
|
||||
},
|
||||
"errors": [],
|
||||
"passed": false
|
||||
},
|
||||
{
|
||||
"sample": "uns",
|
||||
"viewport": 390,
|
||||
"zoom": 2,
|
||||
"layout": {
|
||||
"width": 195,
|
||||
"document": 241,
|
||||
"dpr": 2
|
||||
},
|
||||
"counts": "0 / 0",
|
||||
"checks": {
|
||||
"failureNotEmpty": true,
|
||||
"fullEscapedDiagnostic": true,
|
||||
"scopeHintLinked": false,
|
||||
"noMatchExplicit": true,
|
||||
"clearFocusReturned": false,
|
||||
"clearRestoresLoadedNodes": false,
|
||||
"noLazyOrMutationCalls": true,
|
||||
"noBodyOverflow": false,
|
||||
"noPageErrors": true
|
||||
},
|
||||
"errors": [],
|
||||
"passed": false
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,103 @@
|
||||
{
|
||||
"origin": "http://127.0.0.1:51442",
|
||||
"cases": 8,
|
||||
"passed": 4,
|
||||
"failed": [
|
||||
{
|
||||
"sample": "uns",
|
||||
"viewport": 1440,
|
||||
"zoom": 1,
|
||||
"layout": {
|
||||
"width": 1440,
|
||||
"document": 1440,
|
||||
"dpr": 1
|
||||
},
|
||||
"counts": "0 / 0",
|
||||
"checks": {
|
||||
"failureNotEmpty": true,
|
||||
"fullEscapedDiagnostic": true,
|
||||
"scopeHintLinked": false,
|
||||
"noMatchExplicit": true,
|
||||
"clearFocusReturned": false,
|
||||
"clearRestoresLoadedNodes": false,
|
||||
"noLazyOrMutationCalls": true,
|
||||
"noBodyOverflow": true,
|
||||
"noPageErrors": true
|
||||
},
|
||||
"errors": [],
|
||||
"passed": false
|
||||
},
|
||||
{
|
||||
"sample": "uns",
|
||||
"viewport": 390,
|
||||
"zoom": 1,
|
||||
"layout": {
|
||||
"width": 390,
|
||||
"document": 390,
|
||||
"dpr": 1
|
||||
},
|
||||
"counts": "0 / 0",
|
||||
"checks": {
|
||||
"failureNotEmpty": true,
|
||||
"fullEscapedDiagnostic": true,
|
||||
"scopeHintLinked": false,
|
||||
"noMatchExplicit": true,
|
||||
"clearFocusReturned": false,
|
||||
"clearRestoresLoadedNodes": false,
|
||||
"noLazyOrMutationCalls": true,
|
||||
"noBodyOverflow": true,
|
||||
"noPageErrors": true
|
||||
},
|
||||
"errors": [],
|
||||
"passed": false
|
||||
},
|
||||
{
|
||||
"sample": "uns",
|
||||
"viewport": 1440,
|
||||
"zoom": 2,
|
||||
"layout": {
|
||||
"width": 720,
|
||||
"document": 720,
|
||||
"dpr": 2
|
||||
},
|
||||
"counts": "0 / 0",
|
||||
"checks": {
|
||||
"failureNotEmpty": true,
|
||||
"fullEscapedDiagnostic": true,
|
||||
"scopeHintLinked": false,
|
||||
"noMatchExplicit": true,
|
||||
"clearFocusReturned": false,
|
||||
"clearRestoresLoadedNodes": false,
|
||||
"noLazyOrMutationCalls": true,
|
||||
"noBodyOverflow": true,
|
||||
"noPageErrors": true
|
||||
},
|
||||
"errors": [],
|
||||
"passed": false
|
||||
},
|
||||
{
|
||||
"sample": "uns",
|
||||
"viewport": 390,
|
||||
"zoom": 2,
|
||||
"layout": {
|
||||
"width": 195,
|
||||
"document": 241,
|
||||
"dpr": 2
|
||||
},
|
||||
"counts": "0 / 0",
|
||||
"checks": {
|
||||
"failureNotEmpty": true,
|
||||
"fullEscapedDiagnostic": true,
|
||||
"scopeHintLinked": false,
|
||||
"noMatchExplicit": true,
|
||||
"clearFocusReturned": false,
|
||||
"clearRestoresLoadedNodes": false,
|
||||
"noLazyOrMutationCalls": true,
|
||||
"noBodyOverflow": false,
|
||||
"noPageErrors": true
|
||||
},
|
||||
"errors": [],
|
||||
"passed": false
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
ZB.MOM.WW.OtOpcUa.Analyzers -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Analyzers/debug/ZB.MOM.WW.OtOpcUa.Analyzers.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/debug/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/debug/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Commons -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Commons/debug/ZB.MOM.WW.OtOpcUa.Commons.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll
|
||||
ZB.MOM.WW.OtOpcUa.Cluster -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Cluster/debug/ZB.MOM.WW.OtOpcUa.Cluster.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.Scripting -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/debug/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/debug/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Configuration -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Configuration/debug/ZB.MOM.WW.OtOpcUa.Configuration.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core/debug/ZB.MOM.WW.OtOpcUa.Core.dll
|
||||
ZB.MOM.WW.OtOpcUa.Security -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Security/debug/ZB.MOM.WW.OtOpcUa.Security.dll
|
||||
ZB.MOM.WW.OtOpcUa.ControlPlane -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.ControlPlane/debug/ZB.MOM.WW.OtOpcUa.ControlPlane.dll
|
||||
ZB.MOM.WW.OtOpcUa.OpcUaServer -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.OpcUaServer/debug/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll
|
||||
ZB.MOM.WW.OtOpcUa.Runtime -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Runtime/debug/ZB.MOM.WW.OtOpcUa.Runtime.dll
|
||||
ZB.MOM.WW.OtOpcUa.AdminUI -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.AdminUI/debug/ZB.MOM.WW.OtOpcUa.AdminUI.dll
|
||||
OtUiCanary -> /tmp/ot-ui-canary-artifacts/bin/OtUiCanary/debug/OtUiCanary.dll
|
||||
|
||||
Build succeeded.
|
||||
0 Warning(s)
|
||||
0 Error(s)
|
||||
|
||||
Time Elapsed 00:00:07.59
|
||||
@@ -0,0 +1,31 @@
|
||||
Traceback (most recent call last):
|
||||
File "/Users/dohertj2/Desktop/OtOpcUa/infra/tools/ui-consistency/check_tree_recovery.py", line 29, in <module>
|
||||
page.get_by_role('button',name='Clear filter',exact=True).click();page.wait_for_function('document.querySelector("input").value==="" && document.activeElement===document.querySelector("input")');checks['clearFocusReturned']=field.evaluate('(e)=>e===document.activeElement');checks['clearRestoresLoadedNodes']=page.get_by_text('Synthetic press',exact=True).count()==1 and field.input_value()==''
|
||||
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
File "/opt/homebrew/lib/python3.14/site-packages/playwright/sync_api/_generated.py", line 11599, in wait_for_function
|
||||
self._sync(
|
||||
~~~~~~~~~~^
|
||||
self._impl_obj.wait_for_function(
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
...<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/_page.py", line 1110, in wait_for_function
|
||||
return await self._main_frame.wait_for_function(**locals_to_params(locals()))
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_frame.py", line 878, in wait_for_function
|
||||
await self._channel.send("waitForFunction", self._timeout, params)
|
||||
File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_connection.py", line 69, in send
|
||||
return await self._connection.wrap_api_call(
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
...<3 lines>...
|
||||
)
|
||||
^
|
||||
File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_connection.py", line 559, in wrap_api_call
|
||||
raise rewrite_error(error, f"{parsed_st['apiName']}: {error}") from None
|
||||
playwright._impl._errors.TimeoutError: Page.wait_for_function: Timeout 30000ms exceeded.
|
||||
@@ -0,0 +1,42 @@
|
||||
Traceback (most recent call last):
|
||||
File "/Users/dohertj2/Desktop/OtOpcUa/infra/tools/ui-consistency/check_tree_recovery.py", line 18, in <module>
|
||||
details.locator('summary').click();checks['fullEscapedDiagnostic']='ignored()' in details.inner_text() and details.locator('script').count()==0
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
|
||||
File "/opt/homebrew/lib/python3.14/site-packages/playwright/sync_api/_generated.py", line 15631, in click
|
||||
self._sync(
|
||||
~~~~~~~~~~^
|
||||
self._impl_obj.click(
|
||||
^^^^^^^^^^^^^^^^^^^^^
|
||||
...<10 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/_locator.py", line 162, in click
|
||||
return await self._frame._click(self._selector, strict=True, **params)
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_frame.py", line 566, in _click
|
||||
await self._channel.send("click", self._timeout, locals_to_params(locals()))
|
||||
File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_connection.py", line 69, in send
|
||||
return await self._connection.wrap_api_call(
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
...<3 lines>...
|
||||
)
|
||||
^
|
||||
File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_connection.py", line 559, in wrap_api_call
|
||||
raise rewrite_error(error, f"{parsed_st['apiName']}: {error}") from None
|
||||
playwright._impl._errors.Error: Locator.click: Error: strict mode violation: locator("details").filter(has=get_by_text("Raw loading details", exact=True)).locator("summary") resolved to 7 elements:
|
||||
1) <summary aria-label="Toggle navigation" class="rail-toggle btn btn-outline-secondary btn-sm d-lg-none m-2 align-self-start">↵ ☰↵ </summary> aka get_by_label("Toggle navigation")
|
||||
2) <summary aria-expanded="true" class="rail-eyebrow-toggle">Operations</summary> aka get_by_text("Operations")
|
||||
3) <summary aria-expanded="true" class="rail-eyebrow-toggle">Configuration</summary> aka get_by_text("Configuration", exact=True)
|
||||
4) <summary aria-expanded="true" class="rail-eyebrow-toggle">Scripting</summary> aka get_by_text("Scripting")
|
||||
5) <summary aria-expanded="true" class="rail-eyebrow-toggle">Administration</summary> aka get_by_text("Administration")
|
||||
6) <summary aria-expanded="true" class="rail-eyebrow-toggle">Secrets</summary> aka locator("summary").filter(has_text="Secrets")
|
||||
7) <summary b-a6so63ux2l="">Raw loading details</summary> aka get_by_text("Raw loading details")
|
||||
|
||||
Call log:
|
||||
- waiting for locator("details").filter(has=get_by_text("Raw loading details", exact=True)).locator("summary")
|
||||
|
||||
@@ -0,0 +1,190 @@
|
||||
[
|
||||
{
|
||||
"sample": "raw",
|
||||
"viewport": 1440,
|
||||
"zoom": 1,
|
||||
"layout": {
|
||||
"width": 1440,
|
||||
"document": 1440,
|
||||
"dpr": 1
|
||||
},
|
||||
"counts": "0 / 0",
|
||||
"checks": {
|
||||
"failureNotEmpty": true,
|
||||
"fullEscapedDiagnostic": true,
|
||||
"failedRetryReturnsFocus": true,
|
||||
"recoveryConfirmedEmpty": true,
|
||||
"noLazyOrMutationCalls": true,
|
||||
"noBodyOverflow": true,
|
||||
"noPageErrors": true
|
||||
},
|
||||
"errors": [],
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"sample": "raw",
|
||||
"viewport": 390,
|
||||
"zoom": 1,
|
||||
"layout": {
|
||||
"width": 390,
|
||||
"document": 390,
|
||||
"dpr": 1
|
||||
},
|
||||
"counts": "0 / 0",
|
||||
"checks": {
|
||||
"failureNotEmpty": true,
|
||||
"fullEscapedDiagnostic": true,
|
||||
"failedRetryReturnsFocus": true,
|
||||
"recoveryConfirmedEmpty": true,
|
||||
"noLazyOrMutationCalls": true,
|
||||
"noBodyOverflow": true,
|
||||
"noPageErrors": true
|
||||
},
|
||||
"errors": [],
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"sample": "raw",
|
||||
"viewport": 1440,
|
||||
"zoom": 2,
|
||||
"layout": {
|
||||
"width": 720,
|
||||
"document": 720,
|
||||
"dpr": 2
|
||||
},
|
||||
"counts": "0 / 0",
|
||||
"checks": {
|
||||
"failureNotEmpty": true,
|
||||
"fullEscapedDiagnostic": true,
|
||||
"failedRetryReturnsFocus": true,
|
||||
"recoveryConfirmedEmpty": true,
|
||||
"noLazyOrMutationCalls": true,
|
||||
"noBodyOverflow": true,
|
||||
"noPageErrors": true
|
||||
},
|
||||
"errors": [],
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"sample": "raw",
|
||||
"viewport": 390,
|
||||
"zoom": 2,
|
||||
"layout": {
|
||||
"width": 195,
|
||||
"document": 195,
|
||||
"dpr": 2
|
||||
},
|
||||
"counts": "0 / 0",
|
||||
"checks": {
|
||||
"failureNotEmpty": true,
|
||||
"fullEscapedDiagnostic": true,
|
||||
"failedRetryReturnsFocus": true,
|
||||
"recoveryConfirmedEmpty": true,
|
||||
"noLazyOrMutationCalls": true,
|
||||
"noBodyOverflow": true,
|
||||
"noPageErrors": true
|
||||
},
|
||||
"errors": [],
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"sample": "uns",
|
||||
"viewport": 1440,
|
||||
"zoom": 1,
|
||||
"layout": {
|
||||
"width": 1440,
|
||||
"document": 1440,
|
||||
"dpr": 1
|
||||
},
|
||||
"counts": "0 / 0",
|
||||
"checks": {
|
||||
"failureNotEmpty": true,
|
||||
"fullEscapedDiagnostic": true,
|
||||
"failedRetryReturnsFocus": true,
|
||||
"scopeHintLinked": true,
|
||||
"noMatchExplicit": true,
|
||||
"clearFocusReturned": true,
|
||||
"clearRestoresLoadedNodes": true,
|
||||
"noLazyOrMutationCalls": true,
|
||||
"noBodyOverflow": true,
|
||||
"noPageErrors": true
|
||||
},
|
||||
"errors": [],
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"sample": "uns",
|
||||
"viewport": 390,
|
||||
"zoom": 1,
|
||||
"layout": {
|
||||
"width": 390,
|
||||
"document": 390,
|
||||
"dpr": 1
|
||||
},
|
||||
"counts": "0 / 0",
|
||||
"checks": {
|
||||
"failureNotEmpty": true,
|
||||
"fullEscapedDiagnostic": true,
|
||||
"failedRetryReturnsFocus": true,
|
||||
"scopeHintLinked": true,
|
||||
"noMatchExplicit": true,
|
||||
"clearFocusReturned": true,
|
||||
"clearRestoresLoadedNodes": true,
|
||||
"noLazyOrMutationCalls": true,
|
||||
"noBodyOverflow": true,
|
||||
"noPageErrors": true
|
||||
},
|
||||
"errors": [],
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"sample": "uns",
|
||||
"viewport": 1440,
|
||||
"zoom": 2,
|
||||
"layout": {
|
||||
"width": 720,
|
||||
"document": 720,
|
||||
"dpr": 2
|
||||
},
|
||||
"counts": "0 / 0",
|
||||
"checks": {
|
||||
"failureNotEmpty": true,
|
||||
"fullEscapedDiagnostic": true,
|
||||
"failedRetryReturnsFocus": true,
|
||||
"scopeHintLinked": true,
|
||||
"noMatchExplicit": true,
|
||||
"clearFocusReturned": true,
|
||||
"clearRestoresLoadedNodes": true,
|
||||
"noLazyOrMutationCalls": true,
|
||||
"noBodyOverflow": true,
|
||||
"noPageErrors": true
|
||||
},
|
||||
"errors": [],
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"sample": "uns",
|
||||
"viewport": 390,
|
||||
"zoom": 2,
|
||||
"layout": {
|
||||
"width": 195,
|
||||
"document": 195,
|
||||
"dpr": 2
|
||||
},
|
||||
"counts": "3 / 0",
|
||||
"checks": {
|
||||
"failureNotEmpty": true,
|
||||
"fullEscapedDiagnostic": true,
|
||||
"failedRetryReturnsFocus": true,
|
||||
"scopeHintLinked": true,
|
||||
"noMatchExplicit": true,
|
||||
"clearFocusReturned": true,
|
||||
"clearRestoresLoadedNodes": true,
|
||||
"noLazyOrMutationCalls": true,
|
||||
"noBodyOverflow": true,
|
||||
"noPageErrors": true
|
||||
},
|
||||
"errors": [],
|
||||
"passed": true
|
||||
}
|
||||
]
|
||||
|
After Width: | Height: | Size: 73 KiB |
|
After Width: | Height: | Size: 89 KiB |
|
After Width: | Height: | Size: 30 KiB |
|
After Width: | Height: | Size: 72 KiB |
@@ -0,0 +1,119 @@
|
||||
|
||||
ZB.MOM.WW.OtOpcUa.Analyzers -> /Users/dohertj2/Desktop/OtOpcUa/src/Tooling/ZB.MOM.WW.OtOpcUa.Analyzers/bin/Release/netstandard2.0/ZB.MOM.WW.OtOpcUa.Analyzers.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Abstractions/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/bin/Release/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/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Commons -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Commons/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Commons.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.Scripting -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/bin/Release/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/Release/net10.0/ZB.MOM.WW.OtOpcUa.Cluster.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/bin/Release/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/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll
|
||||
ZB.MOM.WW.OtOpcUa.Configuration -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Configuration/bin/Release/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/Release/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/Release/net10.0/ZB.MOM.WW.OtOpcUa.Security.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll
|
||||
ZB.MOM.WW.OtOpcUa.ControlPlane -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.ControlPlane/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.ControlPlane.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll
|
||||
ZB.MOM.WW.OtOpcUa.OpcUaServer -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer/bin/Release/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/Release/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/Release/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/Release/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/Release/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.30] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.TreeRecoveryTests.RawPendingRetry_IsSingleFlightAndDisposalCancelsRead [FAIL]
|
||||
[xUnit.net 00:00:01.31] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.TreeRecoveryTests.UnsFailure_RetryRecoversConfirmedEmpty [FAIL]
|
||||
Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.TreeRecoveryTests.RawPendingRetry_IsSingleFlightAndDisposalCancelsRead [163 ms]
|
||||
Error Message:
|
||||
Bunit.ElementNotFoundException : No elements were found that matches the selector 'button[data-testid=tree-retry]'
|
||||
Stack Trace:
|
||||
at Bunit.RenderedComponentExtensions.Find[TComponent,TElement](IRenderedComponent`1 renderedComponent, String cssSelector) in /_/src/bunit/Extensions/RenderedComponentExtensions.cs:line 42
|
||||
at Bunit.RenderedComponentExtensions.Find[TComponent](IRenderedComponent`1 renderedComponent, String cssSelector) in /_/src/bunit/Extensions/RenderedComponentExtensions.cs:line 21
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.TreeRecoveryTests.RawPendingRetry_IsSingleFlightAndDisposalCancelsRead() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/TreeRecoveryTests.cs:line 47
|
||||
--- End of stack trace from previous location ---
|
||||
Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.TreeRecoveryTests.UnsFailure_RetryRecoversConfirmedEmpty [4 ms]
|
||||
Error Message:
|
||||
System.InvalidOperationException : synthetic failure
|
||||
Stack Trace:
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Components.Pages.Uns.GlobalUns.OnInitializedAsync() in /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Uns/GlobalUns.razor:line 153
|
||||
at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()
|
||||
at Bunit.Rendering.BunitRenderer.AssertNoUnhandledExceptions() in /_/src/bunit/Rendering/BunitRenderer.cs:line 707
|
||||
at Bunit.Rendering.BunitRenderer.Render(RenderFragment renderFragment) in /_/src/bunit/Rendering/BunitRenderer.cs:line 597
|
||||
at Bunit.Rendering.BunitRenderer.RenderFragment(RenderFragment renderFragment) in /_/src/bunit/Rendering/BunitRenderer.cs:line 137
|
||||
at Bunit.BunitContext.RenderInsideRenderTree(RenderFragment renderFragment) in /_/src/bunit/BunitContext.cs:line 230
|
||||
at Bunit.BunitContext.RenderInsideRenderTree[TComponent](RenderFragment renderFragment) in /_/src/bunit/BunitContext.cs:line 214
|
||||
at Bunit.BunitContext.Render[TComponent](RenderFragment renderFragment) in /_/src/bunit/BunitContext.cs:line 169
|
||||
at Bunit.BunitContext.Render[TComponent](Action`1 parameterBuilder) in /_/src/bunit/BunitContext.cs:line 152
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.TreeRecoveryTests.UnsFailure_RetryRecoversConfirmedEmpty() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/TreeRecoveryTests.cs:line 36
|
||||
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
|
||||
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
|
||||
[xUnit.net 00:00:02.33] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.TreeRecoveryTests.RawFailure_IsNotEmptyAndRetryDoesNotFetchLazyChildren [FAIL]
|
||||
[xUnit.net 00:00:02.34] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.TreeRecoveryTests.LoadedFilter_HasNoMatchStateAndDoesNotFetchUnloadedChildren [FAIL]
|
||||
Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.TreeRecoveryTests.RawFailure_IsNotEmptyAndRetryDoesNotFetchLazyChildren [1 s]
|
||||
Error Message:
|
||||
Bunit.Extensions.WaitForHelpers.WaitForFailedException : The assertion did not pass within the timeout period.
|
||||
|
||||
If this test does not fail consistently, the reason may be that
|
||||
the wait timeout is too short, and the runtime did not have enough
|
||||
time to complete the necessary number of renders of the component under test.
|
||||
This can happen on highly utilized or slower hardware, for example.
|
||||
|
||||
To determine if this is the cause, compare the check and render count(s) below
|
||||
and see if they match what is expected. If they do not,
|
||||
consider increasing the timeout, either at the individual
|
||||
method call level, e.g. WaitForElement("div", TimeSpan.FromSeconds(15)),
|
||||
or via the static TestContext.DefaultWaitTimeout property.
|
||||
|
||||
Check count: 1.
|
||||
Component render count: 1.
|
||||
Total render count across all components: 0.
|
||||
---- Bunit.ElementNotFoundException : No elements were found that matches the selector '[role=alert]'
|
||||
Stack Trace:
|
||||
at Bunit.RenderedComponentWaitForHelperExtensions.WaitForAssertion[TComponent](IRenderedComponent`1 renderedComponent, Action assertion, Nullable`1 timeout) in /_/src/bunit/Extensions/WaitForHelpers/RenderedComponentWaitForHelperExtensions.WaitForState.cs:line 77
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.TreeRecoveryTests.RawFailure_IsNotEmptyAndRetryDoesNotFetchLazyChildren() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/TreeRecoveryTests.cs:line 27
|
||||
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
|
||||
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
|
||||
----- Inner Stack Trace -----
|
||||
at Bunit.RenderedComponentExtensions.Find[TComponent,TElement](IRenderedComponent`1 renderedComponent, String cssSelector) in /_/src/bunit/Extensions/RenderedComponentExtensions.cs:line 42
|
||||
at Bunit.RenderedComponentExtensions.Find[TComponent](IRenderedComponent`1 renderedComponent, String cssSelector) in /_/src/bunit/Extensions/RenderedComponentExtensions.cs:line 21
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.TreeRecoveryTests.<>c__DisplayClass1_0.<RawFailure_IsNotEmptyAndRetryDoesNotFetchLazyChildren>b__0() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/TreeRecoveryTests.cs:line 27
|
||||
at Bunit.Extensions.WaitForHelpers.WaitForAssertionHelper`1.<>c__DisplayClass6_0.<.ctor>b__0() in /_/src/bunit/Extensions/WaitForHelpers/WaitForAssertionHelper.cs:line 35
|
||||
at Bunit.Extensions.WaitForHelpers.WaitForHelper`2.OnAfterRender(Object sender, EventArgs args) in /_/src/bunit/Extensions/WaitForHelpers/WaitForHelper.cs:line 173
|
||||
Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.TreeRecoveryTests.LoadedFilter_HasNoMatchStateAndDoesNotFetchUnloadedChildren [10 ms]
|
||||
Error Message:
|
||||
Bunit.ElementNotFoundException : No elements were found that matches the selector '[role=status]'
|
||||
Stack Trace:
|
||||
at Bunit.RenderedComponentExtensions.Find[TComponent,TElement](IRenderedComponent`1 renderedComponent, String cssSelector) in /_/src/bunit/Extensions/RenderedComponentExtensions.cs:line 42
|
||||
at Bunit.RenderedComponentExtensions.Find[TComponent](IRenderedComponent`1 renderedComponent, String cssSelector) in /_/src/bunit/Extensions/RenderedComponentExtensions.cs:line 21
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.TreeRecoveryTests.LoadedFilter_HasNoMatchStateAndDoesNotFetchUnloadedChildren() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/TreeRecoveryTests.cs:line 57
|
||||
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
|
||||
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
|
||||
|
||||
Failed! - Failed: 4, Passed: 0, Skipped: 0, Total: 4, Duration: 1 s - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0)
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Raw/GlobalRaw.razor": "e7c2f46a1aebc1434c166f0f681cab999a43742725db6fd2f5c80f8553135ee4",
|
||||
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Uns/GlobalUns.razor": "1ce1c3b1e70fdeceeda7246e02fd732bd11dfbe8fcef8aeec3f9fdafdd71b0b7",
|
||||
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Uns/UnsTree.razor": "2d1979ec4422e5f057f1a97c137a9d551b60bbefd7f83ff0543bf34fa8784439",
|
||||
"tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/TreeRecoveryTests.cs": "13e66934780d2a2b32b3c0acff5a1ab601abe174ae1a4da703700b1d5d061719"
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
|
||||
ZB.MOM.WW.OtOpcUa.Analyzers -> /Users/dohertj2/Desktop/OtOpcUa/src/Tooling/ZB.MOM.WW.OtOpcUa.Analyzers/bin/Release/netstandard2.0/ZB.MOM.WW.OtOpcUa.Analyzers.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Abstractions/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/bin/Release/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/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Commons -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Commons/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Commons.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/bin/Release/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/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Cluster -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Cluster/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Cluster.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.Scripting -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/bin/Release/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/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Configuration -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Configuration/bin/Release/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/Release/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/Release/net10.0/ZB.MOM.WW.OtOpcUa.Security.dll
|
||||
ZB.MOM.WW.OtOpcUa.ControlPlane -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.ControlPlane/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.ControlPlane.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll
|
||||
ZB.MOM.WW.OtOpcUa.OpcUaServer -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll
|
||||
ZB.MOM.WW.OtOpcUa.Runtime -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/bin/Release/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/Release/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/Release/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/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (.NETCoreApp,Version=v10.0)
|
||||
A total of 1 test files matched the specified pattern.
|
||||
Results File: /tmp/ot10-accepted-results/tree-recovery.trx
|
||||
|
||||
Passed! - Failed: 0, Passed: 13, Skipped: 0, Total: 13, Duration: 286 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0)
|
||||
@@ -0,0 +1,106 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<TestRun id="73b12932-ad9e-48aa-a881-6a35055ca7ad" name="@Josephs-MBP 2026-11-13 23:29:40" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
|
||||
<Times creation="2026-11-13T23:29:40.5985010-05:00" queuing="2026-11-13T23:29:40.5985010-05:00" start="2026-11-13T23:29:38.5582560-05:00" finish="2026-11-13T23:29:40.6709850-05:00" />
|
||||
<TestSettings name="default" id="f0c06a10-78e2-4f11-bea6-4a26576f909e">
|
||||
<Deployment runDeploymentRoot="_Josephs-MBP_2026-11-13_23_29_40" />
|
||||
</TestSettings>
|
||||
<Results>
|
||||
<UnitTestResult executionId="c0408646-7a15-4a03-aab8-e85813de13e0" testId="0f320dee-d815-a9e1-e804-3c4862803d2a" testName="ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Raw.RawTreeRowsTests.Collapsed_nodes_show_no_children" computerName="Josephs-MBP" duration="00:00:00.0020554" startTime="2026-11-13T23:29:40.3663640-05:00" endTime="2026-11-13T23:29:40.3684440-05:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="c0408646-7a15-4a03-aab8-e85813de13e0" />
|
||||
<UnitTestResult executionId="2abdbe58-e7c3-40f9-aab7-d4384b114a64" testId="c89af819-217d-0ebb-ad03-250528b265b3" testName="ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Raw.RawTreeRowsTests.A_5k_tag_device_shows_one_page_then_a_show_more_row" computerName="Josephs-MBP" duration="00:00:00.0038180" startTime="2026-11-13T23:29:40.3520500-05:00" endTime="2026-11-13T23:29:40.3559770-05:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="2abdbe58-e7c3-40f9-aab7-d4384b114a64" />
|
||||
<UnitTestResult executionId="ab17d4bf-e10d-4beb-82ff-9c0d2d89ba79" testId="46f5a70e-6568-bf20-8e43-df043b7bfda5" testName="ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Raw.RawTreeRowsTests.Expanded_nodes_flatten_depth_first_in_display_order_with_depth" computerName="Josephs-MBP" duration="00:00:00.0136692" startTime="2026-11-13T23:29:40.3307390-05:00" endTime="2026-11-13T23:29:40.3486180-05:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="ab17d4bf-e10d-4beb-82ff-9c0d2d89ba79" />
|
||||
<UnitTestResult executionId="fdd6e2a4-6345-47a7-8826-4277dc550ec8" testId="777c74e5-0e46-72a8-ed13-50278f3d72e0" testName="ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.TreeRecoveryTests.LoadedFilter_HasNoMatchStateAndDoesNotFetchUnloadedChildren" computerName="Josephs-MBP" duration="00:00:00.0032774" startTime="2026-11-13T23:29:40.6142000-05:00" endTime="2026-11-13T23:29:40.6174920-05:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="fdd6e2a4-6345-47a7-8826-4277dc550ec8" />
|
||||
<UnitTestResult executionId="544d84a5-f2a9-4cb8-b2d0-b62ba876f836" testId="9567ede7-5340-9dcd-6117-751202f3a04f" testName="ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.TreeRecoveryTests.RawFailure_IsNotEmptyAndRetryDoesNotFetchLazyChildren" computerName="Josephs-MBP" duration="00:00:00.0018085" startTime="2026-11-13T23:29:40.6122150-05:00" endTime="2026-11-13T23:29:40.6140520-05:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="544d84a5-f2a9-4cb8-b2d0-b62ba876f836" />
|
||||
<UnitTestResult executionId="e58c2793-a81a-48fc-b1f8-e8c3bdebc457" testId="12c6025f-22a8-0fc0-7f55-d03e10d19550" testName="ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Raw.RawTreeRowsTests.Show_more_row_follows_the_whole_subtree_of_the_last_shown_child" computerName="Josephs-MBP" duration="00:00:00.0003488" startTime="2026-11-13T23:29:40.3686580-05:00" endTime="2026-11-13T23:29:40.3690180-05:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="e58c2793-a81a-48fc-b1f8-e8c3bdebc457" />
|
||||
<UnitTestResult executionId="3d9d143f-e193-4791-a327-31ec2e120b6f" testId="8653e875-8b7b-ec7d-1358-4240edd1d7a0" testName="ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Raw.RawTreeRowsTests.RawTree_renders_through_Virtualize_and_the_menu_cache" computerName="Josephs-MBP" duration="00:00:00.0006759" startTime="2026-11-13T23:29:40.3717250-05:00" endTime="2026-11-13T23:29:40.3724280-05:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="3d9d143f-e193-4791-a327-31ec2e120b6f" />
|
||||
<UnitTestResult executionId="89a81378-9fdc-4c56-b4d6-fb3e6b136877" testId="b586fa1e-c6a7-e8a8-61f7-d8d373b16ee3" testName="ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Raw.RawTreeRowsTests.A_level_at_or_under_the_page_size_has_no_show_more_row" computerName="Josephs-MBP" duration="00:00:00.0096725" startTime="2026-11-13T23:29:40.3564350-05:00" endTime="2026-11-13T23:29:40.3661540-05:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="89a81378-9fdc-4c56-b4d6-fb3e6b136877" />
|
||||
<UnitTestResult executionId="ea661979-9f30-4484-bd46-abe1645b4ae2" testId="c741611a-6ab2-ac9d-744b-98f8034d5455" testName="ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.TreeRecoveryTests.RawPendingRetry_IsSingleFlightAndDisposalCancelsRead" computerName="Josephs-MBP" duration="00:00:00.2422889" startTime="2026-11-13T23:29:40.3307340-05:00" endTime="2026-11-13T23:29:40.5760740-05:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="ea661979-9f30-4484-bd46-abe1645b4ae2" />
|
||||
<UnitTestResult executionId="5acd9dba-7271-41a5-8a4a-e92e27b6072f" testId="81e55896-4e14-0488-ac2e-e63b7d93e4a4" testName="ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.TreeRecoveryTests.UnsClearFilter_RetainsLoadedStructureAndScopeHintWithoutAnotherRead" computerName="Josephs-MBP" duration="00:00:00.0095934" startTime="2026-11-13T23:29:40.5995290-05:00" endTime="2026-11-13T23:29:40.6119480-05:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="5acd9dba-7271-41a5-8a4a-e92e27b6072f" />
|
||||
<UnitTestResult executionId="2f935e09-ea8d-4c38-9c03-dee20fefae9f" testId="95c9cc3a-c364-67f9-4400-f363f63541d2" testName="ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Raw.RawTreeRowsTests.Loading_and_error_rows_replace_children" computerName="Josephs-MBP" duration="00:00:00.0015703" startTime="2026-11-13T23:29:40.3691430-05:00" endTime="2026-11-13T23:29:40.3707380-05:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="2f935e09-ea8d-4c38-9c03-dee20fefae9f" />
|
||||
<UnitTestResult executionId="065be050-4638-4ae7-a832-cd6653cbf288" testId="7ef9a2f8-e85f-aa75-41bf-4df7fb48473a" testName="ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.TreeRecoveryTests.UnsFailure_RetryRecoversConfirmedEmpty" computerName="Josephs-MBP" duration="00:00:00.0204890" startTime="2026-11-13T23:29:40.5787750-05:00" endTime="2026-11-13T23:29:40.5992930-05:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="065be050-4638-4ae7-a832-cd6653cbf288" />
|
||||
<UnitTestResult executionId="93f5bfb4-8b6b-4137-a3ec-791522f456c2" testId="7eceba91-d635-4b81-038f-24e14f037caf" testName="ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Raw.RawTreeRowsTests.Menu_cache_reuses_the_list_and_rebuilds_when_a_dependency_changes" computerName="Josephs-MBP" duration="00:00:00.0005954" startTime="2026-11-13T23:29:40.3709610-05:00" endTime="2026-11-13T23:29:40.3715730-05:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="93f5bfb4-8b6b-4137-a3ec-791522f456c2" />
|
||||
</Results>
|
||||
<TestDefinitions>
|
||||
<UnitTest name="ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Raw.RawTreeRowsTests.RawTree_renders_through_Virtualize_and_the_menu_cache" storage="/users/dohertj2/desktop/otopcua/tests/server/zb.mom.ww.otopcua.adminui.tests/bin/release/net10.0/zb.mom.ww.otopcua.adminui.tests.dll" id="8653e875-8b7b-ec7d-1358-4240edd1d7a0">
|
||||
<Execution id="3d9d143f-e193-4791-a327-31ec2e120b6f" />
|
||||
<TestMethod codeBase="/Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Raw.RawTreeRowsTests" name="RawTree_renders_through_Virtualize_and_the_menu_cache" />
|
||||
</UnitTest>
|
||||
<UnitTest name="ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Raw.RawTreeRowsTests.Loading_and_error_rows_replace_children" storage="/users/dohertj2/desktop/otopcua/tests/server/zb.mom.ww.otopcua.adminui.tests/bin/release/net10.0/zb.mom.ww.otopcua.adminui.tests.dll" id="95c9cc3a-c364-67f9-4400-f363f63541d2">
|
||||
<Execution id="2f935e09-ea8d-4c38-9c03-dee20fefae9f" />
|
||||
<TestMethod codeBase="/Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Raw.RawTreeRowsTests" name="Loading_and_error_rows_replace_children" />
|
||||
</UnitTest>
|
||||
<UnitTest name="ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Raw.RawTreeRowsTests.Expanded_nodes_flatten_depth_first_in_display_order_with_depth" storage="/users/dohertj2/desktop/otopcua/tests/server/zb.mom.ww.otopcua.adminui.tests/bin/release/net10.0/zb.mom.ww.otopcua.adminui.tests.dll" id="46f5a70e-6568-bf20-8e43-df043b7bfda5">
|
||||
<Execution id="ab17d4bf-e10d-4beb-82ff-9c0d2d89ba79" />
|
||||
<TestMethod codeBase="/Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Raw.RawTreeRowsTests" name="Expanded_nodes_flatten_depth_first_in_display_order_with_depth" />
|
||||
</UnitTest>
|
||||
<UnitTest name="ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.TreeRecoveryTests.UnsFailure_RetryRecoversConfirmedEmpty" storage="/users/dohertj2/desktop/otopcua/tests/server/zb.mom.ww.otopcua.adminui.tests/bin/release/net10.0/zb.mom.ww.otopcua.adminui.tests.dll" id="7ef9a2f8-e85f-aa75-41bf-4df7fb48473a">
|
||||
<Execution id="065be050-4638-4ae7-a832-cd6653cbf288" />
|
||||
<TestMethod codeBase="/Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.TreeRecoveryTests" name="UnsFailure_RetryRecoversConfirmedEmpty" />
|
||||
</UnitTest>
|
||||
<UnitTest name="ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Raw.RawTreeRowsTests.A_level_at_or_under_the_page_size_has_no_show_more_row" storage="/users/dohertj2/desktop/otopcua/tests/server/zb.mom.ww.otopcua.adminui.tests/bin/release/net10.0/zb.mom.ww.otopcua.adminui.tests.dll" id="b586fa1e-c6a7-e8a8-61f7-d8d373b16ee3">
|
||||
<Execution id="89a81378-9fdc-4c56-b4d6-fb3e6b136877" />
|
||||
<TestMethod codeBase="/Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Raw.RawTreeRowsTests" name="A_level_at_or_under_the_page_size_has_no_show_more_row" />
|
||||
</UnitTest>
|
||||
<UnitTest name="ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.TreeRecoveryTests.RawPendingRetry_IsSingleFlightAndDisposalCancelsRead" storage="/users/dohertj2/desktop/otopcua/tests/server/zb.mom.ww.otopcua.adminui.tests/bin/release/net10.0/zb.mom.ww.otopcua.adminui.tests.dll" id="c741611a-6ab2-ac9d-744b-98f8034d5455">
|
||||
<Execution id="ea661979-9f30-4484-bd46-abe1645b4ae2" />
|
||||
<TestMethod codeBase="/Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.TreeRecoveryTests" name="RawPendingRetry_IsSingleFlightAndDisposalCancelsRead" />
|
||||
</UnitTest>
|
||||
<UnitTest name="ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.TreeRecoveryTests.RawFailure_IsNotEmptyAndRetryDoesNotFetchLazyChildren" storage="/users/dohertj2/desktop/otopcua/tests/server/zb.mom.ww.otopcua.adminui.tests/bin/release/net10.0/zb.mom.ww.otopcua.adminui.tests.dll" id="9567ede7-5340-9dcd-6117-751202f3a04f">
|
||||
<Execution id="544d84a5-f2a9-4cb8-b2d0-b62ba876f836" />
|
||||
<TestMethod codeBase="/Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.TreeRecoveryTests" name="RawFailure_IsNotEmptyAndRetryDoesNotFetchLazyChildren" />
|
||||
</UnitTest>
|
||||
<UnitTest name="ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Raw.RawTreeRowsTests.Collapsed_nodes_show_no_children" storage="/users/dohertj2/desktop/otopcua/tests/server/zb.mom.ww.otopcua.adminui.tests/bin/release/net10.0/zb.mom.ww.otopcua.adminui.tests.dll" id="0f320dee-d815-a9e1-e804-3c4862803d2a">
|
||||
<Execution id="c0408646-7a15-4a03-aab8-e85813de13e0" />
|
||||
<TestMethod codeBase="/Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Raw.RawTreeRowsTests" name="Collapsed_nodes_show_no_children" />
|
||||
</UnitTest>
|
||||
<UnitTest name="ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Raw.RawTreeRowsTests.A_5k_tag_device_shows_one_page_then_a_show_more_row" storage="/users/dohertj2/desktop/otopcua/tests/server/zb.mom.ww.otopcua.adminui.tests/bin/release/net10.0/zb.mom.ww.otopcua.adminui.tests.dll" id="c89af819-217d-0ebb-ad03-250528b265b3">
|
||||
<Execution id="2abdbe58-e7c3-40f9-aab7-d4384b114a64" />
|
||||
<TestMethod codeBase="/Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Raw.RawTreeRowsTests" name="A_5k_tag_device_shows_one_page_then_a_show_more_row" />
|
||||
</UnitTest>
|
||||
<UnitTest name="ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Raw.RawTreeRowsTests.Show_more_row_follows_the_whole_subtree_of_the_last_shown_child" storage="/users/dohertj2/desktop/otopcua/tests/server/zb.mom.ww.otopcua.adminui.tests/bin/release/net10.0/zb.mom.ww.otopcua.adminui.tests.dll" id="12c6025f-22a8-0fc0-7f55-d03e10d19550">
|
||||
<Execution id="e58c2793-a81a-48fc-b1f8-e8c3bdebc457" />
|
||||
<TestMethod codeBase="/Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Raw.RawTreeRowsTests" name="Show_more_row_follows_the_whole_subtree_of_the_last_shown_child" />
|
||||
</UnitTest>
|
||||
<UnitTest name="ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Raw.RawTreeRowsTests.Menu_cache_reuses_the_list_and_rebuilds_when_a_dependency_changes" storage="/users/dohertj2/desktop/otopcua/tests/server/zb.mom.ww.otopcua.adminui.tests/bin/release/net10.0/zb.mom.ww.otopcua.adminui.tests.dll" id="7eceba91-d635-4b81-038f-24e14f037caf">
|
||||
<Execution id="93f5bfb4-8b6b-4137-a3ec-791522f456c2" />
|
||||
<TestMethod codeBase="/Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Raw.RawTreeRowsTests" name="Menu_cache_reuses_the_list_and_rebuilds_when_a_dependency_changes" />
|
||||
</UnitTest>
|
||||
<UnitTest name="ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.TreeRecoveryTests.UnsClearFilter_RetainsLoadedStructureAndScopeHintWithoutAnotherRead" storage="/users/dohertj2/desktop/otopcua/tests/server/zb.mom.ww.otopcua.adminui.tests/bin/release/net10.0/zb.mom.ww.otopcua.adminui.tests.dll" id="81e55896-4e14-0488-ac2e-e63b7d93e4a4">
|
||||
<Execution id="5acd9dba-7271-41a5-8a4a-e92e27b6072f" />
|
||||
<TestMethod codeBase="/Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.TreeRecoveryTests" name="UnsClearFilter_RetainsLoadedStructureAndScopeHintWithoutAnotherRead" />
|
||||
</UnitTest>
|
||||
<UnitTest name="ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.TreeRecoveryTests.LoadedFilter_HasNoMatchStateAndDoesNotFetchUnloadedChildren" storage="/users/dohertj2/desktop/otopcua/tests/server/zb.mom.ww.otopcua.adminui.tests/bin/release/net10.0/zb.mom.ww.otopcua.adminui.tests.dll" id="777c74e5-0e46-72a8-ed13-50278f3d72e0">
|
||||
<Execution id="fdd6e2a4-6345-47a7-8826-4277dc550ec8" />
|
||||
<TestMethod codeBase="/Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll" adapterTypeName="executor://xunit/VsTestRunner3/netcore/" className="ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.TreeRecoveryTests" name="LoadedFilter_HasNoMatchStateAndDoesNotFetchUnloadedChildren" />
|
||||
</UnitTest>
|
||||
</TestDefinitions>
|
||||
<TestEntries>
|
||||
<TestEntry testId="0f320dee-d815-a9e1-e804-3c4862803d2a" executionId="c0408646-7a15-4a03-aab8-e85813de13e0" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
|
||||
<TestEntry testId="c89af819-217d-0ebb-ad03-250528b265b3" executionId="2abdbe58-e7c3-40f9-aab7-d4384b114a64" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
|
||||
<TestEntry testId="46f5a70e-6568-bf20-8e43-df043b7bfda5" executionId="ab17d4bf-e10d-4beb-82ff-9c0d2d89ba79" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
|
||||
<TestEntry testId="777c74e5-0e46-72a8-ed13-50278f3d72e0" executionId="fdd6e2a4-6345-47a7-8826-4277dc550ec8" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
|
||||
<TestEntry testId="9567ede7-5340-9dcd-6117-751202f3a04f" executionId="544d84a5-f2a9-4cb8-b2d0-b62ba876f836" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
|
||||
<TestEntry testId="12c6025f-22a8-0fc0-7f55-d03e10d19550" executionId="e58c2793-a81a-48fc-b1f8-e8c3bdebc457" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
|
||||
<TestEntry testId="8653e875-8b7b-ec7d-1358-4240edd1d7a0" executionId="3d9d143f-e193-4791-a327-31ec2e120b6f" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
|
||||
<TestEntry testId="b586fa1e-c6a7-e8a8-61f7-d8d373b16ee3" executionId="89a81378-9fdc-4c56-b4d6-fb3e6b136877" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
|
||||
<TestEntry testId="c741611a-6ab2-ac9d-744b-98f8034d5455" executionId="ea661979-9f30-4484-bd46-abe1645b4ae2" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
|
||||
<TestEntry testId="81e55896-4e14-0488-ac2e-e63b7d93e4a4" executionId="5acd9dba-7271-41a5-8a4a-e92e27b6072f" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
|
||||
<TestEntry testId="95c9cc3a-c364-67f9-4400-f363f63541d2" executionId="2f935e09-ea8d-4c38-9c03-dee20fefae9f" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
|
||||
<TestEntry testId="7ef9a2f8-e85f-aa75-41bf-4df7fb48473a" executionId="065be050-4638-4ae7-a832-cd6653cbf288" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
|
||||
<TestEntry testId="7eceba91-d635-4b81-038f-24e14f037caf" executionId="93f5bfb4-8b6b-4137-a3ec-791522f456c2" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
|
||||
</TestEntries>
|
||||
<TestLists>
|
||||
<TestList name="Results Not in a List" id="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
|
||||
<TestList name="All Loaded Results" id="19431567-8539-422a-85d7-44ee4e166bda" />
|
||||
</TestLists>
|
||||
<ResultSummary outcome="Completed">
|
||||
<Counters total="13" executed="13" passed="13" failed="0" error="0" timeout="0" aborted="0" inconclusive="0" passedButRunAborted="0" notRunnable="0" notExecuted="0" disconnected="0" warning="0" completed="0" inProgress="0" pending="0" />
|
||||
<Output>
|
||||
<StdOut>[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v3.0.2+dd36e86129 (64-bit .NET 10.0.14)
|
||||
[xUnit.net 00:00:00.31] Discovering: ZB.MOM.WW.OtOpcUa.AdminUI.Tests
|
||||
[xUnit.net 00:00:01.37] Discovered: ZB.MOM.WW.OtOpcUa.AdminUI.Tests
|
||||
[xUnit.net 00:00:01.51] Starting: ZB.MOM.WW.OtOpcUa.AdminUI.Tests
|
||||
[xUnit.net 00:00:01.84] Finished: ZB.MOM.WW.OtOpcUa.AdminUI.Tests
|
||||
</StdOut>
|
||||
</Output>
|
||||
</ResultSummary>
|
||||
</TestRun>
|
||||
|
After Width: | Height: | Size: 86 KiB |
|
After Width: | Height: | Size: 118 KiB |
|
After Width: | Height: | Size: 43 KiB |
|
After Width: | Height: | Size: 100 KiB |
@@ -0,0 +1,35 @@
|
||||
"""Bounded real-component tree recovery/filter checks on synthetic root reads only."""
|
||||
import json,re,sys
|
||||
from pathlib import Path
|
||||
from playwright.sync_api import sync_playwright
|
||||
sys.path.insert(0,'/Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/components/ui-theme/validation/theme-1.0.0/canary')
|
||||
from browser_zoom import zoom_browser,set_browser_zoom
|
||||
origin=re.search(r'Now listening on: (http://127.0.0.1:\d+)',Path('/tmp/ot-pilot-host.log').read_text()).group(1)
|
||||
out=Path('docs/ui-consistency/evidence/ot10-trees');out.mkdir(parents=True,exist_ok=True);results=[]
|
||||
with sync_playwright() as p:
|
||||
with zoom_browser(p) as (context,worker):
|
||||
for sample in ['raw','uns']:
|
||||
for width,zoom in [(1440,1),(390,1),(1440,2),(390,2)]:
|
||||
page=context.new_page();page.set_viewport_size({'width':width,'height':2800 if zoom==2 else 1100});errors=[];page.on('pageerror',lambda e:errors.append(str(e)))
|
||||
page.goto(origin+'/tree-recovery-pilot?sample='+sample,wait_until='networkidle');set_browser_zoom(worker,page,zoom)
|
||||
page.get_by_role('alert').filter(has_text='could not be loaded').wait_for();checks={}
|
||||
checks['failureNotEmpty']=page.get_by_text('No clusters yet.',exact=True).count()==0
|
||||
summary=page.get_by_text('Raw loading details' if sample=='raw' else 'UNS loading details',exact=True)
|
||||
details=summary.locator('..')
|
||||
details.locator('summary').click();checks['fullEscapedDiagnostic']='ignored()' in details.inner_text() and details.locator('script').count()==0
|
||||
page.locator('[data-testid=tree-retry]').click()
|
||||
page.wait_for_function('document.activeElement?.dataset.testid==="tree-retry"')
|
||||
checks['failedRetryReturnsFocus']=True
|
||||
page.locator('#fixture-recover-tree').click();page.locator('[data-testid=tree-retry]').click()
|
||||
if sample=='raw':page.get_by_text('No clusters yet.',exact=True).wait_for();checks['recoveryConfirmedEmpty']=True
|
||||
else:
|
||||
field=page.get_by_role('textbox',name='Filter loaded UNS names');field.wait_for();page.get_by_text('Synthetic press',exact=True).wait_for()
|
||||
hint=field.get_attribute('aria-describedby');checks['scopeHintLinked']='Unloaded tag contents are not searched' in page.locator('#'+hint).text_content()
|
||||
field.fill('unloaded-tag');page.get_by_role('status').filter(has_text='No loaded names match').wait_for();checks['noMatchExplicit']=True
|
||||
page.get_by_role('button',name='Clear filter',exact=True).click();page.wait_for_function('(id)=>{const e=document.getElementById(id);return e.value==="" && document.activeElement===e;}',arg=field.get_attribute("id"));checks['clearFocusReturned']=field.evaluate('(e)=>e===document.activeElement');checks['clearRestoresLoadedNodes']=page.get_by_text('Synthetic press',exact=True).count()==1 and field.input_value()==''
|
||||
page.locator('#fixture-observe-tree').click();counts=page.locator('#fixture-tree-count').inner_text();checks['noLazyOrMutationCalls']=counts.split('/')[-1].strip()=='0'
|
||||
layout=page.evaluate('({width:innerWidth,document:document.documentElement.scrollWidth,dpr:devicePixelRatio})');checks['noBodyOverflow']=layout['width']==layout['document'];checks['noPageErrors']=not errors
|
||||
result={'sample':sample,'viewport':width,'zoom':zoom,'layout':layout,'counts':counts,'checks':checks,'errors':errors,'passed':all(checks.values())};results.append(result)
|
||||
page.screenshot(path=str(out/f'{sample}-{width}-zoom{zoom}.png'),full_page=False);page.close();(out/'matrix.json').write_text(json.dumps(results,indent=2)+'\n')
|
||||
print(json.dumps({'origin':origin,'cases':len(results),'passed':sum(x['passed'] for x in results),'failed':[x for x in results if not x['passed']]},indent=2))
|
||||
raise SystemExit(0 if all(x['passed'] for x in results) else 1)
|
||||
@@ -8,6 +8,7 @@
|
||||
@using ZB.MOM.WW.OtOpcUa.AdminUI.Uns
|
||||
@using ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Raw
|
||||
@inject IRawTreeService Svc
|
||||
@implements IDisposable
|
||||
|
||||
@* Peer of GlobalUns (/uns) for the v3 Raw project tree — the cluster-rooted
|
||||
Enterprise → Cluster → Folder → Driver → Device → TagGroup → Tag hierarchy.
|
||||
@@ -33,17 +34,21 @@
|
||||
|
||||
@if (_loading)
|
||||
{
|
||||
<div style="padding:1rem" class="text-muted">
|
||||
<span class="spinner-border spinner-border-sm me-1"></span>Loading…
|
||||
<div style="padding:1rem" class="text-muted" role="status">
|
||||
<span class="spinner-border spinner-border-sm me-1" aria-hidden="true"></span>Loading Raw tree…
|
||||
</div>
|
||||
}
|
||||
else if (_loadError is not null)
|
||||
{
|
||||
<div style="padding:1rem" class="text-danger">@_loadError</div>
|
||||
<div class="p-3">
|
||||
<p role="alert">The Raw tree could not be loaded. Retry to read the current roots.</p>
|
||||
<DiagnosticDetails Summary="Raw loading details" Text="@_loadError" />
|
||||
<button type="button" class="btn btn-outline-secondary mt-2" data-testid="tree-retry" @ref="_retryControl" @onclick="RetryAsync">Retry loading Raw tree</button>
|
||||
</div>
|
||||
}
|
||||
else if (_roots.Count == 0)
|
||||
{
|
||||
<div style="padding:1rem" class="text-muted">No clusters yet.</div>
|
||||
<div class="p-3"><p class="text-muted mb-2">No clusters yet.</p><a href="/clusters/new">Create a cluster</a></div>
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -59,11 +64,39 @@
|
||||
private bool _loading = true;
|
||||
private string? _loadError;
|
||||
|
||||
protected override async Task OnInitializedAsync()
|
||||
private ElementReference _retryControl;
|
||||
private bool _restoreRetryFocus;
|
||||
private async Task RetryAsync()
|
||||
{
|
||||
await LoadRootsAsync();
|
||||
if (!_disposed && _loadError is not null) { _restoreRetryFocus = true; }
|
||||
}
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
{
|
||||
if (_restoreRetryFocus && !_disposed)
|
||||
{
|
||||
_restoreRetryFocus = false;
|
||||
await _retryControl.FocusAsync();
|
||||
}
|
||||
}
|
||||
|
||||
private readonly CancellationTokenSource _readLifetime = new();
|
||||
private bool _readPending;
|
||||
private bool _disposed;
|
||||
|
||||
protected override Task OnInitializedAsync() => LoadRootsAsync();
|
||||
|
||||
private async Task LoadRootsAsync()
|
||||
{
|
||||
if (_disposed || _readPending) { return; }
|
||||
_readPending = true;
|
||||
_loading = true;
|
||||
_loadError = null;
|
||||
try
|
||||
{
|
||||
_roots = await Svc.LoadRootsAsync();
|
||||
var roots = await Svc.LoadRootsAsync(_readLifetime.Token);
|
||||
if (_disposed) { return; }
|
||||
_roots = roots;
|
||||
// Auto-expand the Enterprise roots so the Cluster level (which owns the lazy plumbing) is
|
||||
// visible on load, mirroring GlobalUns.ExpandStructural. Enterprise children (clusters) are
|
||||
// eagerly materialised by LoadRootsAsync, so this needs no lazy fetch; clusters stay
|
||||
@@ -71,13 +104,22 @@
|
||||
foreach (var enterprise in _roots)
|
||||
enterprise.Expanded = true;
|
||||
}
|
||||
catch (OperationCanceledException) when (_disposed) { }
|
||||
catch (Exception ex)
|
||||
{
|
||||
_loadError = $"Failed to load the Raw tree: {ex.Message}";
|
||||
if (!_disposed) { _loadError = ex.Message; }
|
||||
}
|
||||
finally
|
||||
{
|
||||
_loading = false;
|
||||
_readPending = false;
|
||||
if (!_disposed) { _loading = false; }
|
||||
}
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
_disposed = true;
|
||||
_readLifetime.Cancel();
|
||||
_readLifetime.Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
@using ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Uns
|
||||
@inject IUnsTreeService Svc
|
||||
@inject NavigationManager Nav
|
||||
@implements IDisposable
|
||||
|
||||
<PageErrorBoundary>
|
||||
<PageTitle>UNS · OtOpcUa</PageTitle>
|
||||
@@ -20,30 +21,44 @@
|
||||
<h2 class="m-0" style="font:inherit">Unified namespace</h2>
|
||||
<div class="d-flex align-items-center gap-2 flex-wrap">
|
||||
<div><label class="form-label small mb-1" for="@_filterId">Filter loaded UNS names</label>
|
||||
<input id="@_filterId" type="text" class="form-control form-control-sm" style="max-width:240px"
|
||||
<input @ref="_filterControl" aria-describedby="@(_filterId + "-hint")" id="@_filterId" type="text" class="form-control form-control-sm" style="max-width:240px"
|
||||
placeholder="Filter by name (substring)…"
|
||||
@bind="_filter" @bind:event="oninput" /></div>
|
||||
@bind="_filter" @bind:event="oninput" disabled="@(_loading || _loadError is not null)" />
|
||||
@if (!string.IsNullOrWhiteSpace(_filter))
|
||||
{
|
||||
<button type="button" class="btn btn-outline-secondary btn-sm mt-1" @onclick="ClearFilterAsync">Clear filter</button>
|
||||
}</div>
|
||||
<div class="btn-group btn-group-sm" role="group">
|
||||
<button type="button" class="btn btn-outline-secondary btn-sm" @onclick="ExpandAll">Expand all</button>
|
||||
<button type="button" class="btn btn-outline-secondary btn-sm" @onclick="CollapseAll">Collapse all</button>
|
||||
<button type="button" class="btn btn-outline-secondary btn-sm" @onclick="ExpandAll" disabled="@(_loading || _loadError is not null)">Expand all</button>
|
||||
<button type="button" class="btn btn-outline-secondary btn-sm" @onclick="CollapseAll" disabled="@(_loading || _loadError is not null)">Collapse all</button>
|
||||
</div>
|
||||
<button type="button" class="btn btn-outline-primary btn-sm" @onclick="OpenImportModal">Import equipment CSV</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p id="@(_filterId + "-hint")" class="small text-muted px-3 pt-2 mb-0">Filters loaded names only. Unloaded tag contents are not searched.</p>
|
||||
|
||||
@if (_loading)
|
||||
{
|
||||
<div style="padding:1rem" class="text-muted">
|
||||
<span class="spinner-border spinner-border-sm me-1"></span>Loading…
|
||||
<div style="padding:1rem" class="text-muted" role="status">
|
||||
<span class="spinner-border spinner-border-sm me-1" aria-hidden="true"></span>Loading UNS tree…
|
||||
</div>
|
||||
}
|
||||
else if (_loadError is not null)
|
||||
{
|
||||
<div class="p-3">
|
||||
<p role="alert">The UNS tree could not be loaded. Retry to read the current structure.</p>
|
||||
<DiagnosticDetails Summary="UNS loading details" Text="@_loadError" />
|
||||
<button type="button" class="btn btn-outline-secondary mt-2" data-testid="tree-retry" @ref="_retryControl" @onclick="RetryAsync">Retry loading UNS tree</button>
|
||||
</div>
|
||||
}
|
||||
else if (_roots.Count == 0)
|
||||
{
|
||||
<div style="padding:1rem" class="text-muted">No clusters yet.</div>
|
||||
<div class="p-3"><p class="text-muted mb-2">No clusters yet.</p><a href="/clusters/new">Create a cluster</a></div>
|
||||
}
|
||||
else
|
||||
{
|
||||
<div style="padding:.5rem 1rem">
|
||||
<div style="padding:.5rem 1rem;max-width:100%;overflow:auto" tabindex="0" role="region" aria-label="Loaded UNS tree">
|
||||
<UnsTree Roots="_roots" Filter="@_filter"
|
||||
OnToggleExpand="ToggleAsync"
|
||||
OnAddChild="HandleAddChild"
|
||||
@@ -148,10 +163,64 @@
|
||||
.Select(n => (n.EntityId!, n.DisplayName))
|
||||
.ToList();
|
||||
|
||||
protected override async Task OnInitializedAsync()
|
||||
private ElementReference _filterControl;
|
||||
private string? _loadError;
|
||||
private ElementReference _retryControl;
|
||||
private bool _restoreRetryFocus;
|
||||
private async Task RetryAsync()
|
||||
{
|
||||
_roots = await Svc.LoadStructureAsync();
|
||||
_loading = false;
|
||||
await LoadStructureAsync();
|
||||
if (!_disposed && _loadError is not null) { _restoreRetryFocus = true; }
|
||||
}
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
{
|
||||
if (_restoreRetryFocus && !_disposed)
|
||||
{
|
||||
_restoreRetryFocus = false;
|
||||
await _retryControl.FocusAsync();
|
||||
}
|
||||
}
|
||||
|
||||
private readonly CancellationTokenSource _readLifetime = new();
|
||||
private bool _readPending;
|
||||
private bool _disposed;
|
||||
|
||||
protected override Task OnInitializedAsync() => LoadStructureAsync();
|
||||
|
||||
private async Task LoadStructureAsync()
|
||||
{
|
||||
if (_disposed || _readPending) { return; }
|
||||
_readPending = true;
|
||||
_loading = true;
|
||||
_loadError = null;
|
||||
try
|
||||
{
|
||||
var roots = await Svc.LoadStructureAsync(_readLifetime.Token);
|
||||
if (!_disposed) { _roots = roots; }
|
||||
}
|
||||
catch (OperationCanceledException) when (_disposed) { }
|
||||
catch (Exception ex)
|
||||
{
|
||||
if (!_disposed) { _loadError = ex.Message; }
|
||||
}
|
||||
finally
|
||||
{
|
||||
_readPending = false;
|
||||
if (!_disposed) { _loading = false; }
|
||||
}
|
||||
}
|
||||
|
||||
private async Task ClearFilterAsync()
|
||||
{
|
||||
_filter = null;
|
||||
await _filterControl.FocusAsync();
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
_disposed = true;
|
||||
_readLifetime.Cancel();
|
||||
_readLifetime.Dispose();
|
||||
}
|
||||
|
||||
/// <summary>Returns the <c>(Id, Display)</c> area options inside a single cluster, for the line picker.</summary>
|
||||
|
||||
@@ -4,6 +4,10 @@
|
||||
Children and raises callbacks; the host page owns expansion + lazy loading. *@
|
||||
@using ZB.MOM.WW.OtOpcUa.AdminUI.Uns
|
||||
|
||||
@if (Roots.Count > 0 && HasFilter && !Roots.Any(r => VisibleUnder(r, false)))
|
||||
{
|
||||
<p role="status" class="mb-0">No loaded names match this filter. Clear the filter to show the loaded structure.</p>
|
||||
}
|
||||
@foreach (var root in Roots.Where(r => VisibleUnder(r, false)))
|
||||
{
|
||||
@RenderNode(root, 0, false)
|
||||
|
||||
@@ -0,0 +1,89 @@
|
||||
using System.Reflection;
|
||||
using Bunit;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Shouldly;
|
||||
using Xunit;
|
||||
using ZB.MOM.WW.OtOpcUa.AdminUI.Uns;
|
||||
using ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Uns;
|
||||
using RawPage=ZB.MOM.WW.OtOpcUa.AdminUI.Components.Pages.Raw.GlobalRaw;
|
||||
using UnsPage=ZB.MOM.WW.OtOpcUa.AdminUI.Components.Pages.Uns.GlobalUns;
|
||||
namespace ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages;
|
||||
|
||||
[Trait("Category","Unit")]
|
||||
public sealed class TreeRecoveryTests:BunitContext
|
||||
{
|
||||
public TreeRecoveryTests()
|
||||
{
|
||||
JSInterop.Mode=JSRuntimeMode.Loose;
|
||||
ComponentFactories.AddStub(type=>new[]{"CredentialReferenceBanner","RawTree","AreaModal","LineModal","ImportEquipmentModal"}.Contains(type.Name));
|
||||
AddAuthorization().SetAuthorized("fixture");
|
||||
}
|
||||
[Fact]
|
||||
public void RawFailure_IsNotEmptyAndRetryDoesNotFetchLazyChildren()
|
||||
{
|
||||
var proxy=DispatchProxy.Create<IRawTreeService,TreeReads>();var reads=(TreeReads)(object)proxy;
|
||||
Services.AddSingleton(proxy);
|
||||
var cut=Render<RawPage>();
|
||||
cut.WaitForAssertion(()=>cut.Find("[role=alert]").TextContent.ShouldContain("could not be loaded"));
|
||||
cut.Markup.ShouldNotContain("No clusters yet.");
|
||||
cut.Find("button[data-testid=tree-retry]").Click();
|
||||
cut.WaitForAssertion(()=>reads.Calls.ShouldBe(2));cut.Markup.ShouldNotContain("No clusters yet.");
|
||||
reads.Fail=false;
|
||||
cut.Find("button[data-testid=tree-retry]").Click();
|
||||
cut.WaitForAssertion(()=>cut.Markup.ShouldContain("No clusters yet."));
|
||||
reads.Calls.ShouldBe(3);reads.OtherCalls.ShouldBe(0);
|
||||
}
|
||||
[Fact]
|
||||
public void UnsFailure_RetryRecoversConfirmedEmpty()
|
||||
{
|
||||
var proxy=DispatchProxy.Create<IUnsTreeService,TreeReads>();var reads=(TreeReads)(object)proxy;Services.AddSingleton(proxy);
|
||||
var cut=Render<UnsPage>();
|
||||
cut.WaitForAssertion(()=>cut.Find("[role=alert]").TextContent.ShouldContain("could not be loaded"));
|
||||
cut.Markup.ShouldNotContain("No clusters yet.");reads.Fail=false;
|
||||
cut.Find("button[data-testid=tree-retry]").Click();
|
||||
cut.WaitForAssertion(()=>cut.Markup.ShouldContain("No clusters yet."));reads.Calls.ShouldBe(2);
|
||||
}
|
||||
[Fact]
|
||||
public async Task RawPendingRetry_IsSingleFlightAndDisposalCancelsRead()
|
||||
{
|
||||
var proxy=DispatchProxy.Create<IRawTreeService,TreeReads>();var reads=(TreeReads)(object)proxy;Services.AddSingleton(proxy);
|
||||
var cut=Render<RawPage>();reads.Fail=false;reads.Hold=new(TaskCreationOptions.RunContinuationsAsynchronously);
|
||||
var click=cut.Find("button[data-testid=tree-retry]").ClickAsync(new());
|
||||
cut.WaitForAssertion(()=>reads.Calls.ShouldBe(2));
|
||||
cut.Find("[role=status]").TextContent.ShouldContain("Loading");
|
||||
await cut.InvokeAsync(()=> (Task)typeof(RawPage).GetMethod("LoadRootsAsync",BindingFlags.Instance|BindingFlags.NonPublic)!.Invoke(cut.Instance,null)!);
|
||||
reads.Calls.ShouldBe(2);
|
||||
await cut.InvokeAsync(cut.Instance.Dispose);reads.Token.IsCancellationRequested.ShouldBeTrue();reads.Hold.SetResult([]);await click;reads.OtherCalls.ShouldBe(0);
|
||||
}
|
||||
[Fact]
|
||||
public void LoadedFilter_HasNoMatchStateAndDoesNotFetchUnloadedChildren()
|
||||
{
|
||||
var equipment=new UnsNode{Key="eq:1",Kind=UnsNodeKind.Equipment,DisplayName="Press 1",HasLazyChildren=true,Loaded=false};
|
||||
var cut=Render<UnsTree>(p=>p.Add(x=>x.Roots,new[]{equipment}).Add(x=>x.Filter,"unloaded-tag"));
|
||||
cut.Find("[role=status]").TextContent.ShouldContain("No loaded names match");
|
||||
equipment.Loaded.ShouldBeFalse();equipment.Children.ShouldBeEmpty();
|
||||
cut.Render(p=>p.Add(x=>x.Filter,"press"));cut.FindAll("[role=status]").ShouldBeEmpty();cut.Markup.ShouldContain("Press 1");
|
||||
}
|
||||
[Fact]
|
||||
public void UnsClearFilter_RetainsLoadedStructureAndScopeHintWithoutAnotherRead()
|
||||
{
|
||||
var proxy=DispatchProxy.Create<IUnsTreeService,TreeReads>();var reads=(TreeReads)(object)proxy;
|
||||
reads.Fail=false;reads.UnsRoots=[new UnsNode{Key="eq:1",Kind=UnsNodeKind.Equipment,DisplayName="Press 1",HasLazyChildren=true}];
|
||||
Services.AddSingleton(proxy);var cut=Render<UnsPage>();
|
||||
var input=cut.Find("input");var hint=input.GetAttribute("aria-describedby");hint.ShouldNotBeNullOrWhiteSpace();
|
||||
cut.Find("#"+hint).TextContent.ShouldContain("Unloaded tag contents are not searched");
|
||||
input.Input("not-loaded-tag");cut.Find("[role=status]").TextContent.ShouldContain("No loaded names match");
|
||||
cut.FindAll("button").Single(b=>b.TextContent=="Clear filter").Click();
|
||||
cut.Find("input").GetAttribute("value").ShouldBeNullOrEmpty();cut.Markup.ShouldContain("Press 1");reads.Calls.ShouldBe(1);reads.OtherCalls.ShouldBe(0);
|
||||
}
|
||||
public class TreeReads:DispatchProxy
|
||||
{
|
||||
public bool Fail=true;public IReadOnlyList<UnsNode> UnsRoots=[];public int Calls,OtherCalls;public CancellationToken Token;public TaskCompletionSource<IReadOnlyList<RawNode>>? Hold;
|
||||
protected override object? Invoke(MethodInfo? method,object?[]? args)
|
||||
{
|
||||
if(method?.Name=="LoadRootsAsync"){Calls++;Token=(CancellationToken)args![0]!;return Fail?Task.FromException<IReadOnlyList<RawNode>>(new InvalidOperationException("synthetic failure")):Hold?.Task??Task.FromResult<IReadOnlyList<RawNode>>([]);}
|
||||
if(method?.Name=="LoadStructureAsync"){Calls++;Token=(CancellationToken)args![0]!;return Fail?Task.FromException<IReadOnlyList<UnsNode>>(new InvalidOperationException("synthetic failure")):Task.FromResult(UnsRoots);}
|
||||
OtherCalls++;throw new InvalidOperationException("Unexpected tree operation: "+method?.Name);
|
||||
}
|
||||
}
|
||||
}
|
||||