Skip to content

[release/10.0] Improve Blazor reconnection experience after the server is restarted#64727

Merged
lewing merged 8 commits into
release/10.0from
oroztocil/blazor-reconnection-fixes
Dec 11, 2025
Merged

[release/10.0] Improve Blazor reconnection experience after the server is restarted#64727
lewing merged 8 commits into
release/10.0from
oroztocil/blazor-reconnection-fixes

Replace missing test utility from main

5f1991d
Select commit
Loading
Failed to load commit list.
Azure Pipelines / aspnetcore-components-e2e succeeded Dec 11, 2025 in 1h 17m 8s

Build #20251211.14 had test failures

Details

Tests

  • Failed: 9 (0.56%)
  • Passed: 1,577 (98.62%)
  • Other: 13 (0.81%)
  • Total: 1,599

Annotations

Check failure on line 136 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / aspnetcore-components-e2e

Build log #L136

Bash exited with code '1'.

Check failure on line 1 in Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.ServerRoutingTest.NavigationLock_CanBlockExternalNavigation

See this annotation in the file changed.

@azure-pipelines azure-pipelines / aspnetcore-components-e2e

Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.ServerRoutingTest.NavigationLock_CanBlockExternalNavigation

OpenQA.Selenium.NoAlertPresentException : no such alert
  (Session info: chrome=142.0.7444.175)
Raw output
   at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute)
   at OpenQA.Selenium.WebDriver.ExecuteAsync(String driverCommandToExecute, Dictionary`2 parameters)
   at OpenQA.Selenium.WebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
   at OpenQA.Selenium.TargetLocator.Alert()
   at Microsoft.AspNetCore.Components.E2ETest.Tests.RoutingTest.NavigationLock_CanBlockExternalNavigation() in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/RoutingTest.cs:line 1175
   at InvokeStub_RoutingTest.NavigationLock_CanBlockExternalNavigation(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Check failure on line 1 in Microsoft.AspNetCore.Components.E2ETests.ServerExecutionTests.NoneAncestorWebSocketAppliesPolicyOnCallbackCompressionTests.EmbeddingServerAppInsideIframe_WithCompressionEnabled_Fails

See this annotation in the file changed.

@azure-pipelines azure-pipelines / aspnetcore-components-e2e

Microsoft.AspNetCore.Components.E2ETests.ServerExecutionTests.NoneAncestorWebSocketAppliesPolicyOnCallbackCompressionTests.EmbeddingServerAppInsideIframe_WithCompressionEnabled_Fails

Assert.Matches() Failure: Pattern not found in value
Regex: "security - Refused to frame 'http://\\d+\\.\\d+\\."···
Value: "security - Framing 'http://127.0.0.1:38721/' viola"···
Raw output
   at Microsoft.AspNetCore.Components.E2ETests.ServerExecutionTests.BlockedWebSocketCompressionTests.EmbeddingServerAppInsideIframe_WithCompressionEnabled_Fails() in /home/vsts/work/1/s/src/Components/test/E2ETest/ServerExecutionTests/WebSocketCompressionTests.cs:line 109
   at InvokeStub_BlockedWebSocketCompressionTests.EmbeddingServerAppInsideIframe_WithCompressionEnabled_Fails(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Check failure on line 1 in Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.NavigationLockPrerenderingTest.NavigationIsLockedAfterPrerendering

See this annotation in the file changed.

@azure-pipelines azure-pipelines / aspnetcore-components-e2e

Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.NavigationLockPrerenderingTest.NavigationIsLockedAfterPrerendering

OpenQA.Selenium.NoAlertPresentException : no such alert
  (Session info: chrome=142.0.7444.175)
Raw output
   at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute)
   at OpenQA.Selenium.WebDriver.ExecuteAsync(String driverCommandToExecute, Dictionary`2 parameters)
   at OpenQA.Selenium.WebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
   at OpenQA.Selenium.TargetLocator.Alert()
   at Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.NavigationLockPrerenderingTest.NavigationIsLockedAfterPrerendering() in /home/vsts/work/1/s/src/Components/test/E2ETest/ServerExecutionTests/NavigationLockPrerenderingTest.cs:line 44
   at InvokeStub_NavigationLockPrerenderingTest.NavigationIsLockedAfterPrerendering(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Check failure on line 1 in Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.CircuitTests.ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit(id: "afterrender-sync-throw")

See this annotation in the file changed.

@azure-pipelines azure-pipelines / aspnetcore-components-e2e

Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.CircuitTests.ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit(id: "afterrender-sync-throw")

OpenQA.Selenium.ElementClickInterceptedException : element click intercepted: Element <button id="afterrender-sync-throw">...</button> is not clickable at point (405, 422). Other element would receive the click: <div id="blazor-error-ui" style="display: block;">...</div>
  (Session info: chrome=142.0.7444.175)
Raw output
   at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute)
   at OpenQA.Selenium.WebDriver.ExecuteAsync(String driverCommandToExecute, Dictionary`2 parameters)
   at OpenQA.Selenium.WebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
   at OpenQA.Selenium.WebElement.Click()
   at Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.CircuitTests.ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit(String id) in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/CircuitTests.cs:line 51
   at InvokeStub_CircuitTests.ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit(Object, Span`1)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)