Shouldly.ShouldAssertException : using var db=_factory.CreateDbContext();db.Scripts.Count() should be 2 but was 1 at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ScriptEditLifecycleTests.RetainedDeleteConfirmCannotDeleteReplacementOrReopenedIntent() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/ScriptEditLifecycleTests.cs:line 92 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) Shouldly.ShouldAssertException : read.Invocations.Count should be 1 but was 2 at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ScriptEditLifecycleTests.QueuedSubmitIsSingleFlightAndFreezesNameBeforeEditorRead() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/ScriptEditLifecycleTests.cs:line 71 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) Bunit.ElementNotFoundException : No elements were found that matches the selector '.validation-summary-errors' 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.ScriptEditLifecycleTests.CurrentSaveStillUsesAuthoritativeEditorTextAndValidation() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/ScriptEditLifecycleTests.cs:line 100 --- End of stack trace from previous location --- Shouldly.ShouldAssertException : using var db=_factory.CreateDbContext();db.Scripts.Single(x=>x.ScriptId=="a").SourceCode should be "return 1;" but was "return 99;" difference Difference | | | | | \|/ \|/ \|/ Index | 0 1 2 3 4 5 6 7 8 9 Expected Value | r e t u r n \s 1 ; Actual Value | r e t u r n \s 9 9 ; Expected Code | 114 101 116 117 114 110 32 49 59 Actual Code | 114 101 116 117 114 110 32 57 57 59 at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ScriptEditLifecycleTests.DisposedPendingEditorReadCannotDispatchSave() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/ScriptEditLifecycleTests.cs:line 82 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) Shouldly.ShouldAssertException : label.GetAttribute("for") (null) should not be null or white space at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ScriptEditLifecycleTests.IdentityAndSourceHaveDomainNames() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/ScriptEditLifecycleTests.cs:line 35 at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) Shouldly.ShouldAssertException : cut.Find("input:not([disabled])").GetAttribute("value") should be "Beta" but was "Alpha" difference Difference | | | | | | | \|/ \|/ \|/ \|/ \|/ Index | 0 1 2 3 4 Expected Value | B e t a Actual Value | A l p h a Expected Code | 66 101 116 97 Actual Code | 65 108 112 104 97 at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ScriptEditLifecycleTests.ReusedRouteLoadsRequestedScriptAndNewRouteClearsIt() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/ScriptEditLifecycleTests.cs:line 45 at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) Shouldly.ShouldAssertException : db.Scripts.Single(x=>x.ScriptId=="b").SourceCode should be "return 2;" but was "return 99;" difference Difference | | | | | \|/ \|/ \|/ Index | 0 1 2 3 4 5 6 7 8 9 Expected Value | r e t u r n \s 2 ; Actual Value | r e t u r n \s 9 9 ; Expected Code | 114 101 116 117 114 110 32 50 59 Actual Code | 114 101 116 117 114 110 32 57 57 59 at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ScriptEditLifecycleTests.PendingAuthoritativeReadCannotSaveIntoReplacementRoute() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/ScriptEditLifecycleTests.cs:line 60 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) [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.50] Discovering: ZB.MOM.WW.OtOpcUa.AdminUI.Tests [xUnit.net 00:00:01.16] Discovered: ZB.MOM.WW.OtOpcUa.AdminUI.Tests [xUnit.net 00:00:01.28] Starting: ZB.MOM.WW.OtOpcUa.AdminUI.Tests [xUnit.net 00:00:01.72] Shouldly.ShouldAssertException : using var db=_factory.CreateDbContext();db.Scripts.Single(x=>x.ScriptId=="a").SourceCode [xUnit.net 00:00:01.72] should be [xUnit.net 00:00:01.72] "return 1;" [xUnit.net 00:00:01.72] but was [xUnit.net 00:00:01.72] "return 99;" [xUnit.net 00:00:01.72] difference [xUnit.net 00:00:01.72] Difference | | | | [xUnit.net 00:00:01.72] | \|/ \|/ \|/ [xUnit.net 00:00:01.72] Index | 0 1 2 3 4 5 6 7 8 9 [xUnit.net 00:00:01.72] Expected Value | r e t u r n \s 1 ; [xUnit.net 00:00:01.72] Actual Value | r e t u r n \s 9 9 ; [xUnit.net 00:00:01.72] Expected Code | 114 101 116 117 114 110 32 49 59 [xUnit.net 00:00:01.72] Actual Code | 114 101 116 117 114 110 32 57 57 59 [xUnit.net 00:00:01.72] Stack Trace: [xUnit.net 00:00:01.72] /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/ScriptEditLifecycleTests.cs(82,0): at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ScriptEditLifecycleTests.DisposedPendingEditorReadCannotDispatchSave() [xUnit.net 00:00:01.72] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() [xUnit.net 00:00:01.72] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [xUnit.net 00:00:01.72] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options) [xUnit.net 00:00:01.72] --- End of stack trace from previous location --- [xUnit.net 00:00:01.72] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() [xUnit.net 00:00:01.72] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [xUnit.net 00:00:01.72] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options) [xUnit.net 00:00:01.73] Bunit.ElementNotFoundException : No elements were found that matches the selector '.validation-summary-errors' [xUnit.net 00:00:01.73] Stack Trace: [xUnit.net 00:00:01.73] /_/src/bunit/Extensions/RenderedComponentExtensions.cs(42,0): at Bunit.RenderedComponentExtensions.Find[TComponent,TElement](IRenderedComponent`1 renderedComponent, String cssSelector) [xUnit.net 00:00:01.73] /_/src/bunit/Extensions/RenderedComponentExtensions.cs(21,0): at Bunit.RenderedComponentExtensions.Find[TComponent](IRenderedComponent`1 renderedComponent, String cssSelector) [xUnit.net 00:00:01.73] /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/ScriptEditLifecycleTests.cs(100,0): at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ScriptEditLifecycleTests.CurrentSaveStillUsesAuthoritativeEditorTextAndValidation() [xUnit.net 00:00:01.73] --- End of stack trace from previous location --- [xUnit.net 00:00:01.74] Shouldly.ShouldAssertException : label.GetAttribute("for") (null) [xUnit.net 00:00:01.74] should not be null or white space [xUnit.net 00:00:01.74] Stack Trace: [xUnit.net 00:00:01.74] /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/ScriptEditLifecycleTests.cs(35,0): at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ScriptEditLifecycleTests.IdentityAndSourceHaveDomainNames() [xUnit.net 00:00:01.74] at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) [xUnit.net 00:00:01.74] at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) [xUnit.net 00:00:01.75] Shouldly.ShouldAssertException : using var db=_factory.CreateDbContext();db.Scripts.Count() [xUnit.net 00:00:01.75] should be [xUnit.net 00:00:01.75] 2 [xUnit.net 00:00:01.75] but was [xUnit.net 00:00:01.75] 1 [xUnit.net 00:00:01.75] Stack Trace: [xUnit.net 00:00:01.75] /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/ScriptEditLifecycleTests.cs(92,0): at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ScriptEditLifecycleTests.RetainedDeleteConfirmCannotDeleteReplacementOrReopenedIntent() [xUnit.net 00:00:01.75] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() [xUnit.net 00:00:01.75] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [xUnit.net 00:00:01.75] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options) [xUnit.net 00:00:01.75] --- End of stack trace from previous location --- [xUnit.net 00:00:01.75] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() [xUnit.net 00:00:01.75] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [xUnit.net 00:00:01.75] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options) [xUnit.net 00:00:01.76] Shouldly.ShouldAssertException : cut.Find("input:not([disabled])").GetAttribute("value") [xUnit.net 00:00:01.76] should be [xUnit.net 00:00:01.76] "Beta" [xUnit.net 00:00:01.76] but was [xUnit.net 00:00:01.76] "Alpha" [xUnit.net 00:00:01.76] difference [xUnit.net 00:00:01.76] Difference | | | | | | [xUnit.net 00:00:01.76] | \|/ \|/ \|/ \|/ \|/ [xUnit.net 00:00:01.76] Index | 0 1 2 3 4 [xUnit.net 00:00:01.76] Expected Value | B e t a [xUnit.net 00:00:01.76] Actual Value | A l p h a [xUnit.net 00:00:01.76] Expected Code | 66 101 116 97 [xUnit.net 00:00:01.76] Actual Code | 65 108 112 104 97 [xUnit.net 00:00:01.76] Stack Trace: [xUnit.net 00:00:01.76] /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/ScriptEditLifecycleTests.cs(45,0): at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ScriptEditLifecycleTests.ReusedRouteLoadsRequestedScriptAndNewRouteClearsIt() [xUnit.net 00:00:01.76] at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) [xUnit.net 00:00:01.76] at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) [xUnit.net 00:00:01.76] Shouldly.ShouldAssertException : read.Invocations.Count [xUnit.net 00:00:01.76] should be [xUnit.net 00:00:01.76] 1 [xUnit.net 00:00:01.76] but was [xUnit.net 00:00:01.76] 2 [xUnit.net 00:00:01.76] Stack Trace: [xUnit.net 00:00:01.76] /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/ScriptEditLifecycleTests.cs(71,0): at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ScriptEditLifecycleTests.QueuedSubmitIsSingleFlightAndFreezesNameBeforeEditorRead() [xUnit.net 00:00:01.76] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() [xUnit.net 00:00:01.76] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [xUnit.net 00:00:01.76] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options) [xUnit.net 00:00:01.76] --- End of stack trace from previous location --- [xUnit.net 00:00:01.76] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() [xUnit.net 00:00:01.76] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [xUnit.net 00:00:01.76] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options) [xUnit.net 00:00:01.77] Shouldly.ShouldAssertException : db.Scripts.Single(x=>x.ScriptId=="b").SourceCode [xUnit.net 00:00:01.77] should be [xUnit.net 00:00:01.77] "return 2;" [xUnit.net 00:00:01.77] but was [xUnit.net 00:00:01.77] "return 99;" [xUnit.net 00:00:01.77] difference [xUnit.net 00:00:01.77] Difference | | | | [xUnit.net 00:00:01.77] | \|/ \|/ \|/ [xUnit.net 00:00:01.77] Index | 0 1 2 3 4 5 6 7 8 9 [xUnit.net 00:00:01.77] Expected Value | r e t u r n \s 2 ; [xUnit.net 00:00:01.77] Actual Value | r e t u r n \s 9 9 ; [xUnit.net 00:00:01.77] Expected Code | 114 101 116 117 114 110 32 50 59 [xUnit.net 00:00:01.77] Actual Code | 114 101 116 117 114 110 32 57 57 59 [xUnit.net 00:00:01.77] Stack Trace: [xUnit.net 00:00:01.77] /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/ScriptEditLifecycleTests.cs(60,0): at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ScriptEditLifecycleTests.PendingAuthoritativeReadCannotSaveIntoReplacementRoute() [xUnit.net 00:00:01.77] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() [xUnit.net 00:00:01.77] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [xUnit.net 00:00:01.77] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options) [xUnit.net 00:00:01.77] --- End of stack trace from previous location --- [xUnit.net 00:00:01.77] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() [xUnit.net 00:00:01.77] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [xUnit.net 00:00:01.77] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options) [xUnit.net 00:00:01.77] Finished: ZB.MOM.WW.OtOpcUa.AdminUI.Tests [xUnit.net 00:00:01.72] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ScriptEditLifecycleTests.DisposedPendingEditorReadCannotDispatchSave [FAIL] [xUnit.net 00:00:01.73] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ScriptEditLifecycleTests.CurrentSaveStillUsesAuthoritativeEditorTextAndValidation [FAIL] [xUnit.net 00:00:01.74] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ScriptEditLifecycleTests.IdentityAndSourceHaveDomainNames [FAIL] [xUnit.net 00:00:01.75] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ScriptEditLifecycleTests.RetainedDeleteConfirmCannotDeleteReplacementOrReopenedIntent [FAIL] [xUnit.net 00:00:01.76] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ScriptEditLifecycleTests.ReusedRouteLoadsRequestedScriptAndNewRouteClearsIt [FAIL] [xUnit.net 00:00:01.76] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ScriptEditLifecycleTests.QueuedSubmitIsSingleFlightAndFreezesNameBeforeEditorRead [FAIL] [xUnit.net 00:00:01.77] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ScriptEditLifecycleTests.PendingAuthoritativeReadCannotSaveIntoReplacementRoute [FAIL]