Guard dialog completion by presentation identity
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# Dialog presentation identity followup
|
||||
|
||||
A custom body retained the service-wide resolver after cancellation, and a delayed native activation rejection canceled whichever presentation was current. Both defects reproduced before the change: two stale custom-context cases and one delayed rejection case failed.
|
||||
|
||||
DialogService now checks the captured completion source. DialogHost binds rendered handlers and activation rejection to their captured DialogState; a stale handler cannot change a replacement prompt draft or result. Existing public APIs, typed cancellation outcomes and the single-active contract are preserved. Disposal still cancels the current presentation.
|
||||
|
||||
Verification: all three regressions pass; the full CentralUI suite passes 1600/1600, zero skips/failures. Logs retain actual red and green runs. This is a local managed lifecycle regression check, not a new native browser matrix or production operation.
|
||||
@@ -0,0 +1,43 @@
|
||||
ZB.MOM.WW.ScadaBridge.Commons -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.Commons/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.Commons.dll
|
||||
ZB.MOM.WW.ScadaBridge.ScriptAnalysis -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.ScriptAnalysis/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.ScriptAnalysis.dll
|
||||
ZB.MOM.WW.ScadaBridge.KpiHistory -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.KpiHistory/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.KpiHistory.dll
|
||||
ZB.MOM.WW.ScadaBridge.Security -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.Security/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.Security.dll
|
||||
ZB.MOM.WW.ScadaBridge.SiteEventLogging -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.SiteEventLogging/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.SiteEventLogging.dll
|
||||
ZB.MOM.WW.ScadaBridge.StoreAndForward -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.StoreAndForward/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.StoreAndForward.dll
|
||||
ZB.MOM.WW.ScadaBridge.Communication -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.Communication/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.Communication.dll
|
||||
ZB.MOM.WW.ScadaBridge.ConfigurationDatabase -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.ConfigurationDatabase/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.ConfigurationDatabase.dll
|
||||
ZB.MOM.WW.ScadaBridge.TemplateEngine -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.TemplateEngine/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.TemplateEngine.dll
|
||||
ZB.MOM.WW.ScadaBridge.AuditLog -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.AuditLog/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.AuditLog.dll
|
||||
ZB.MOM.WW.ScadaBridge.DeploymentManager -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.DeploymentManager/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.DeploymentManager.dll
|
||||
ZB.MOM.WW.ScadaBridge.InboundAPI -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.InboundAPI/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.InboundAPI.dll
|
||||
ZB.MOM.WW.ScadaBridge.Transport -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.Transport/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.Transport.dll
|
||||
ZB.MOM.WW.ScadaBridge.HealthMonitoring -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.HealthMonitoring/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.HealthMonitoring.dll
|
||||
ZB.MOM.WW.ScadaBridge.NotificationService -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.NotificationService/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.NotificationService.dll
|
||||
ZB.MOM.WW.ScadaBridge.ExternalSystemGateway -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.ExternalSystemGateway/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.ExternalSystemGateway.dll
|
||||
ZB.MOM.WW.ScadaBridge.NotificationOutbox -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.NotificationOutbox/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.NotificationOutbox.dll
|
||||
ZB.MOM.WW.ScadaBridge.ManagementService -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.ManagementService/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.ManagementService.dll
|
||||
ZB.MOM.WW.ScadaBridge.CentralUI -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.CentralUI/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.CentralUI.dll
|
||||
ZB.MOM.WW.ScadaBridge.CentralUI.SandboxWorker -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.CentralUI.SandboxWorker/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.CentralUI.SandboxWorker.dll
|
||||
ZB.MOM.WW.ScadaBridge.CentralUI.Tests -> /Users/dohertj2/Desktop/ScadaBridge/tests/ZB.MOM.WW.ScadaBridge.CentralUI.Tests/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.CentralUI.Tests.dll
|
||||
Test run for /Users/dohertj2/Desktop/ScadaBridge/tests/ZB.MOM.WW.ScadaBridge.CentralUI.Tests/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.CentralUI.Tests.dll (.NETCoreApp,Version=v10.0)
|
||||
A total of 1 test files matched the specified pattern.
|
||||
[xUnit.net 00:00:00.19] ZB.MOM.WW.ScadaBridge.CentralUI.Tests.Shared.DialogContextIdentityTests.StaleCustomContext_DoesNotResolveNewDialog(staleCancel: True) [FAIL]
|
||||
[xUnit.net 00:00:00.19] ZB.MOM.WW.ScadaBridge.CentralUI.Tests.Shared.DialogContextIdentityTests.StaleCustomContext_DoesNotResolveNewDialog(staleCancel: False) [FAIL]
|
||||
Failed ZB.MOM.WW.ScadaBridge.CentralUI.Tests.Shared.DialogContextIdentityTests.StaleCustomContext_DoesNotResolveNewDialog(staleCancel: True) [6 ms]
|
||||
Error Message:
|
||||
Assert.Equal() Failure: Strings differ
|
||||
Expected: "Second"
|
||||
Actual: null
|
||||
Stack Trace:
|
||||
at ZB.MOM.WW.ScadaBridge.CentralUI.Tests.Shared.DialogContextIdentityTests.StaleCustomContext_DoesNotResolveNewDialog(Boolean staleCancel) in /Users/dohertj2/Desktop/ScadaBridge/tests/ZB.MOM.WW.ScadaBridge.CentralUI.Tests/Shared/DialogContextIdentityTests.cs:line 24
|
||||
--- End of stack trace from previous location ---
|
||||
Failed ZB.MOM.WW.ScadaBridge.CentralUI.Tests.Shared.DialogContextIdentityTests.StaleCustomContext_DoesNotResolveNewDialog(staleCancel: False) [< 1 ms]
|
||||
Error Message:
|
||||
Assert.Equal() Failure: Strings differ
|
||||
Expected: "Second"
|
||||
Actual: null
|
||||
Stack Trace:
|
||||
at ZB.MOM.WW.ScadaBridge.CentralUI.Tests.Shared.DialogContextIdentityTests.StaleCustomContext_DoesNotResolveNewDialog(Boolean staleCancel) in /Users/dohertj2/Desktop/ScadaBridge/tests/ZB.MOM.WW.ScadaBridge.CentralUI.Tests/Shared/DialogContextIdentityTests.cs:line 24
|
||||
--- End of stack trace from previous location ---
|
||||
|
||||
Failed! - Failed: 2, Passed: 0, Skipped: 0, Total: 2, Duration: 41 ms - ZB.MOM.WW.ScadaBridge.CentralUI.Tests.dll (net10.0)
|
||||
@@ -0,0 +1,25 @@
|
||||
ZB.MOM.WW.ScadaBridge.Commons -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.Commons/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.Commons.dll
|
||||
ZB.MOM.WW.ScadaBridge.KpiHistory -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.KpiHistory/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.KpiHistory.dll
|
||||
ZB.MOM.WW.ScadaBridge.ConfigurationDatabase -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.ConfigurationDatabase/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.ConfigurationDatabase.dll
|
||||
ZB.MOM.WW.ScadaBridge.Communication -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.Communication/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.Communication.dll
|
||||
ZB.MOM.WW.ScadaBridge.Security -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.Security/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.Security.dll
|
||||
ZB.MOM.WW.ScadaBridge.ScriptAnalysis -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.ScriptAnalysis/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.ScriptAnalysis.dll
|
||||
ZB.MOM.WW.ScadaBridge.SiteEventLogging -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.SiteEventLogging/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.SiteEventLogging.dll
|
||||
ZB.MOM.WW.ScadaBridge.StoreAndForward -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.StoreAndForward/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.StoreAndForward.dll
|
||||
ZB.MOM.WW.ScadaBridge.TemplateEngine -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.TemplateEngine/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.TemplateEngine.dll
|
||||
ZB.MOM.WW.ScadaBridge.AuditLog -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.AuditLog/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.AuditLog.dll
|
||||
ZB.MOM.WW.ScadaBridge.Transport -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.Transport/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.Transport.dll
|
||||
ZB.MOM.WW.ScadaBridge.NotificationService -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.NotificationService/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.NotificationService.dll
|
||||
ZB.MOM.WW.ScadaBridge.HealthMonitoring -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.HealthMonitoring/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.HealthMonitoring.dll
|
||||
ZB.MOM.WW.ScadaBridge.DeploymentManager -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.DeploymentManager/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.DeploymentManager.dll
|
||||
ZB.MOM.WW.ScadaBridge.ExternalSystemGateway -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.ExternalSystemGateway/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.ExternalSystemGateway.dll
|
||||
ZB.MOM.WW.ScadaBridge.InboundAPI -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.InboundAPI/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.InboundAPI.dll
|
||||
ZB.MOM.WW.ScadaBridge.NotificationOutbox -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.NotificationOutbox/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.NotificationOutbox.dll
|
||||
ZB.MOM.WW.ScadaBridge.ManagementService -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.ManagementService/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.ManagementService.dll
|
||||
ZB.MOM.WW.ScadaBridge.CentralUI -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.CentralUI/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.CentralUI.dll
|
||||
ZB.MOM.WW.ScadaBridge.CentralUI.SandboxWorker -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.CentralUI.SandboxWorker/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.CentralUI.SandboxWorker.dll
|
||||
ZB.MOM.WW.ScadaBridge.CentralUI.Tests -> /Users/dohertj2/Desktop/ScadaBridge/tests/ZB.MOM.WW.ScadaBridge.CentralUI.Tests/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.CentralUI.Tests.dll
|
||||
Test run for /Users/dohertj2/Desktop/ScadaBridge/tests/ZB.MOM.WW.ScadaBridge.CentralUI.Tests/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.CentralUI.Tests.dll (.NETCoreApp,Version=v10.0)
|
||||
A total of 1 test files matched the specified pattern.
|
||||
|
||||
Passed! - Failed: 0, Passed: 3, Skipped: 0, Total: 3, Duration: 166 ms - ZB.MOM.WW.ScadaBridge.CentralUI.Tests.dll (net10.0)
|
||||
@@ -0,0 +1,4 @@
|
||||
Test run for /Users/dohertj2/Desktop/ScadaBridge/tests/ZB.MOM.WW.ScadaBridge.CentralUI.Tests/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.CentralUI.Tests.dll (.NETCoreApp,Version=v10.0)
|
||||
A total of 1 test files matched the specified pattern.
|
||||
|
||||
Passed! - Failed: 0, Passed: 1600, Skipped: 0, Total: 1600, Duration: 32 s - ZB.MOM.WW.ScadaBridge.CentralUI.Tests.dll (net10.0)
|
||||
@@ -0,0 +1,55 @@
|
||||
ZB.MOM.WW.ScadaBridge.Commons -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.Commons/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.Commons.dll
|
||||
ZB.MOM.WW.ScadaBridge.KpiHistory -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.KpiHistory/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.KpiHistory.dll
|
||||
ZB.MOM.WW.ScadaBridge.ConfigurationDatabase -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.ConfigurationDatabase/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.ConfigurationDatabase.dll
|
||||
ZB.MOM.WW.ScadaBridge.Communication -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.Communication/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.Communication.dll
|
||||
ZB.MOM.WW.ScadaBridge.Security -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.Security/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.Security.dll
|
||||
ZB.MOM.WW.ScadaBridge.ScriptAnalysis -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.ScriptAnalysis/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.ScriptAnalysis.dll
|
||||
ZB.MOM.WW.ScadaBridge.SiteEventLogging -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.SiteEventLogging/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.SiteEventLogging.dll
|
||||
ZB.MOM.WW.ScadaBridge.StoreAndForward -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.StoreAndForward/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.StoreAndForward.dll
|
||||
ZB.MOM.WW.ScadaBridge.TemplateEngine -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.TemplateEngine/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.TemplateEngine.dll
|
||||
ZB.MOM.WW.ScadaBridge.AuditLog -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.AuditLog/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.AuditLog.dll
|
||||
ZB.MOM.WW.ScadaBridge.Transport -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.Transport/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.Transport.dll
|
||||
ZB.MOM.WW.ScadaBridge.DeploymentManager -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.DeploymentManager/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.DeploymentManager.dll
|
||||
ZB.MOM.WW.ScadaBridge.HealthMonitoring -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.HealthMonitoring/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.HealthMonitoring.dll
|
||||
ZB.MOM.WW.ScadaBridge.NotificationService -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.NotificationService/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.NotificationService.dll
|
||||
ZB.MOM.WW.ScadaBridge.ExternalSystemGateway -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.ExternalSystemGateway/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.ExternalSystemGateway.dll
|
||||
ZB.MOM.WW.ScadaBridge.InboundAPI -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.InboundAPI/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.InboundAPI.dll
|
||||
ZB.MOM.WW.ScadaBridge.NotificationOutbox -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.NotificationOutbox/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.NotificationOutbox.dll
|
||||
ZB.MOM.WW.ScadaBridge.ManagementService -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.ManagementService/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.ManagementService.dll
|
||||
ZB.MOM.WW.ScadaBridge.CentralUI -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.CentralUI/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.CentralUI.dll
|
||||
ZB.MOM.WW.ScadaBridge.CentralUI.SandboxWorker -> /Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.CentralUI.SandboxWorker/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.CentralUI.SandboxWorker.dll
|
||||
ZB.MOM.WW.ScadaBridge.CentralUI.Tests -> /Users/dohertj2/Desktop/ScadaBridge/tests/ZB.MOM.WW.ScadaBridge.CentralUI.Tests/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.CentralUI.Tests.dll
|
||||
Test run for /Users/dohertj2/Desktop/ScadaBridge/tests/ZB.MOM.WW.ScadaBridge.CentralUI.Tests/bin/Debug/net10.0/ZB.MOM.WW.ScadaBridge.CentralUI.Tests.dll (.NETCoreApp,Version=v10.0)
|
||||
A total of 1 test files matched the specified pattern.
|
||||
[xUnit.net 00:00:01.32] ZB.MOM.WW.ScadaBridge.CentralUI.Tests.Shared.DialogHostPresentationIdentityTests.LateActivationRejection_DoesNotCancelReplacementPrompt [FAIL]
|
||||
Failed ZB.MOM.WW.ScadaBridge.CentralUI.Tests.Shared.DialogHostPresentationIdentityTests.LateActivationRejection_DoesNotCancelReplacementPrompt [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: 5.
|
||||
Total render count across all components: 0.
|
||||
---- Assert.Equal() Failure: Strings differ
|
||||
Expected: "Second"
|
||||
Actual: null
|
||||
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.ScadaBridge.CentralUI.Tests.Shared.DialogHostPresentationIdentityTests.LateActivationRejection_DoesNotCancelReplacementPrompt() in /Users/dohertj2/Desktop/ScadaBridge/tests/ZB.MOM.WW.ScadaBridge.CentralUI.Tests/Shared/DialogHostPresentationIdentityTests.cs:line 29
|
||||
--- End of stack trace from previous location ---
|
||||
----- Inner Stack Trace -----
|
||||
at ZB.MOM.WW.ScadaBridge.CentralUI.Tests.Shared.DialogHostPresentationIdentityTests.<>c__DisplayClass0_0.<LateActivationRejection_DoesNotCancelReplacementPrompt>b__7() in /Users/dohertj2/Desktop/ScadaBridge/tests/ZB.MOM.WW.ScadaBridge.CentralUI.Tests/Shared/DialogHostPresentationIdentityTests.cs:line 29
|
||||
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! - Failed: 1, Passed: 0, Skipped: 0, Total: 1, Duration: 1 s - ZB.MOM.WW.ScadaBridge.CentralUI.Tests.dll (net10.0)
|
||||
Reference in New Issue
Block a user