Skip to content

Fix auto-pause when circuit starts after enhanced navigation - #68540

Merged
ilonatommy merged 11 commits into
dotnet:mainfrom
surya3655:68337-auto-pause
Aug 18, 2026
Merged

ilonatommy merged 11 commits into
dotnet:mainfrom
surya3655:68337-auto-pause

Merge branch 'main' of https://github.com/surya3655/aspnetcore-main i…

0a9e785
Select commit
Loading
Failed to load commit list.
Azure Pipelines / aspnetcore-components-e2e succeeded Aug 18, 2026 in 1h 40m 43s

Build #20260817.33 had test failures

Details

Tests

  • Failed: 6 (0.16%)
  • Passed: 3,668 (99.59%)
  • Other: 9 (0.24%)
  • Total: 3,683

Annotations

Check failure on line 34 in Build log

See this annotation in the file changed.

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

Build log #L34

Bash exited with code '1'.

Check failure on line 672 in Build log

See this annotation in the file changed.

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

Build log #L672

Bash exited with code '1'.

Check failure on line 1 in Microsoft.AspNetCore.Components.E2ETest.Tests.RoutingTest.NavigationLock_CanBlockExternalNavigation

See this annotation in the file changed.

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

Microsoft.AspNetCore.Components.E2ETest.Tests.RoutingTest.NavigationLock_CanBlockExternalNavigation

OpenQA.Selenium.NoAlertPresentException : no such alert
  (Session info: chrome=147.0.7727.101)
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 /mnt/vss/_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.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.JavaScriptException : javascript error: Blazor is not defined
  (Session info: chrome=147.0.7727.101)
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.WebDriver.ExecuteScriptCommand(String script, String commandName, Object[] args)
   at OpenQA.Selenium.WebDriver.ExecuteScript(String script, Object[] args)
   at Microsoft.AspNetCore.Components.E2ETest.Tests.RoutingTest.SetAbsluteUrlViaPushState(String absoluteUri, Boolean forceLoad) in /mnt/vss/_work/1/s/src/Components/test/E2ETest/Tests/RoutingTest.cs:line 1866
   at Microsoft.AspNetCore.Components.E2ETest.Tests.RoutingTest.NavigationLock_CanBlockExternalNavigation() in /mnt/vss/_work/1/s/src/Components/test/E2ETest/Tests/RoutingTest.cs:line 1172
   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.E2ETest.Tests.RoutingTest.NavigationLock_CanBlockExternalNavigation

See this annotation in the file changed.

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

Microsoft.AspNetCore.Components.E2ETest.Tests.RoutingTest.NavigationLock_CanBlockExternalNavigation

OpenQA.Selenium.NoAlertPresentException : no such alert
  (Session info: chrome=147.0.7727.101)
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 /mnt/vss/_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.E2ETest.ServerExecutionTests.ServerVirtualizationTest.QuickGrid_ScrollToItem_NegativeIndex_ScrollsToTop(useItemsProvider: False)

See this annotation in the file changed.

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

Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.ServerVirtualizationTest.QuickGrid_ScrollToItem_NegativeIndex_ScrollsToTop(useItemsProvider: False)

OpenQA.Selenium.BrowserAssertFailedException : Xunit.Sdk.TrueException: Negative index should clamp to the first row; topRendered=-1, scrollTop=30
   at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/xunit.assert/Asserts/BooleanAsserts.cs:line 141
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass23_0`1.<WaitAssertCore>b__0(IWebDriver _) in /mnt/vss/_work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 129
Browser URL: http://127.0.0.1:34451/subdir
Screen shot captured at '/mnt/vss/_work/1/s/src/Components/test/E2ETest/bin/screenshots/cc67e821126d44a5ad6094c790f9e55b.png'
Encountered browser errors
[2026-08-18T05:57:16Z] [Info] http://127.0.0.1:34451/subdir 76:16 "Blazor server-side"
[2026-08-18T05:57:16Z] [Info] http://127.0.0.1:34451/subdir/_framework/blazor.server.js 0:67960 "[2026-08-18T05:57:16.106Z] Information: Normalizing '_blazor' to 'http://127.0.0.1:34451/subdir/_blazor'."
[2026-08-18T05:57:16Z] [Info] http://127.0.0.1:34451/subdir/_framework/blazor.server.js 0:67960 "[2026-08-18T05:57:16.111Z] Information: WebSocket connected to ws://127.0.0.1:34451/subdir/_blazor?id=RdhgP0JEq-WlJI1a9rUJ7w."
Network responses (_framework, _blazor, and errors):
  [200] text/javascript - http://127.0.0.1:34451/subdir/_framework/blazor.server.js
  [200] application/json - http://127.0.0.1:34451/subdir/_blazor/initializers
  [200] application/json - http://127.0.0.1:34451/subdir/_blazor/negotiate?negotiateVersion=1Page content:
<head>
    <meta charset="utf-8">
    
    <base href="/subdir/">
    <link href="style.css" rel="stylesheet">
    <link rel="icon" href="data:,">

    <!-- Used by ExternalContentPackage -->
    <link href="_content/TestContentPackage/styles.css" rel="stylesheet">
    <link href="Components.TestServer.styles.css" rel="stylesheet">
    <!--Blazor-Configuration:eyJ3ZWJBc3NlbWJseSI6eyJlbnZpcm9ubWVudE5hbWUiOiJQcm9kdWN0aW9uIiwiZW52aXJvbm1lbnRWYXJpYWJsZXMiOnt9fSwic2VydmVyIjp7fSwic3NyIjp7fX0=--><!--!--><!--!--><!--!--><title>Basic test app</title><!--!--><!--!--><!--!-->
</head>
<body>
    <root><!--!--><!--!--><p id="session-storage-marker"></p>
<div id="test-selector"><!--!-->
    Select test:
    <select id="test-selector-select"><option value="none">Choose...</option><!--!-->
        <option value="BasicTestApp.AddRemoveChildComponents">Add/remove child components</option><!--!-->
        <option value="BasicTestApp.AfterRenderInteropComponent">After-render interop component</option><!--!-->
        <option value="BasicTestApp.AsyncEventHandlerComponent">Async event handlers</option><!--!-->
        <option value="BasicTestApp.AuthTest.AuthRouter">Auth cases</option><!--!-->
        <option value="BasicTestApp.AuthTest.CascadingAuthenticationStateParent">Cascading authentication state</option><!--!-->
        <option value="BasicTestApp.BindCasesComponent">bind cases</option><!--!-->
        <option value="BasicTestApp.CascadingValueTest.CascadingValueSupplier">Cascading values</option><!--!-->
        <option value="Components.TestServer.CircuitContextComponent, Components.TestServer, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60">Circuit context</option><!--!-->
        <option value="BasicTestApp.ComponentRefComponent">Component ref component</option><!--!-->
        <option value="BasicTestApp.ConcurrentRenderParent">Concurrent rendering</option><!--!-->
        <option value="BasicTestApp.ConfigurationComponent">Configuration</option><!--!-->
        <option value="BasicTestApp.ConfigureRuntime">Configure runtime</option><!--!-->
        <option value="BasicTestApp.ContentEditable">Content-editable</option><!--!-->
        <option value="BasicTestApp.CounterComponent">Counter</option><!--!-->
        <option value="BasicTestApp.CounterComponentUsingChild">Counter using child component</option><!--!-->
        <option value="BasicTestApp.CounterComponentWrapper">Counter wrapped in parent</option><!--!-->
        <option value="BasicTestApp.CulturePick
Raw output
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.WaitAssertCore[TResult](IWebDriver driver, Func`1 assertion, TimeSpan timeout) in /mnt/vss/_work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 160
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.WaitAssertCore(IWebDriver driver, Action assertion, TimeSpan timeout) in /mnt/vss/_work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 93
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.True(IWebDriver driver, Func`1 actual, String message) in /mnt/vss/_work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 43
   at Microsoft.AspNetCore.Components.E2ETest.Tests.VirtualizationTest.QuickGrid_ScrollToItem_NegativeIndex_ScrollsToTop(Boolean useItemsProvider) in /mnt/vss/_work/1/s/src/Components/test/E2ETest/Tests/VirtualizationTest.cs:line 6153
   at InvokeStub_VirtualizationTest.QuickGrid_ScrollToItem_NegativeIndex_ScrollsToTop(Object, Span`1)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
----- Inner Stack Trace -----
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass23_0`1.<WaitAssertCore>b__0(IWebDriver _) in /mnt/vss/_work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 129