Skip to content

Enable E2ETest.ServerExecutionTests.CircuitTests#63143

Merged
ilonatommy merged 2 commits into
dotnet:mainfrom
ilonatommy:fix-57588
Aug 20, 2025
Merged

Enable E2ETest.ServerExecutionTests.CircuitTests#63143
ilonatommy merged 2 commits into
dotnet:mainfrom
ilonatommy:fix-57588

Apply feedback.

09dbad8
Select commit
Loading
Failed to load commit list.
Azure Pipelines / aspnetcore-components-e2e succeeded Aug 20, 2025 in 1h 6m 23s

Build #20250819.17 had test failures

Details

Tests

  • Failed: 7 (0.44%)
  • Passed: 1,576 (99.37%)
  • Other: 3 (0.19%)
  • Total: 1,586

Annotations

Check failure on line 234 in Build log

See this annotation in the file changed.

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

Build log #L234

Bash exited with code '1'.

Check failure on line 1 in Microsoft.AspNetCore.Components.E2ETest.Tests.ThreadingHostedAppTest.HasHeading

See this annotation in the file changed.

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

Microsoft.AspNetCore.Components.E2ETest.Tests.ThreadingHostedAppTest.HasHeading

OpenQA.Selenium.BrowserAssertFailedException : Xunit.Sdk.NotEqualException: Assert.NotEqual() Failure: Strings are equal
Expected: Not "Loading..."
Actual:       "Loading..."
   at Xunit.Assert.NotEqual[T](T expected, T actual, IEqualityComparer`1 comparer) in /_/src/xunit.assert/Asserts/EqualityAsserts.cs:line 636
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass20_0.<WaitAssertCore>b__0() in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 91
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass21_0`1.<WaitAssertCore>b__0(IWebDriver _) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 109
Screen shot captured at '/home/vsts/work/1/s/src/Components/test/E2ETest/bin/screenshots/5561e0b5de72423d88286eeca9be33ec.png'
Encountered browser errors
[2025-08-20T07:54:21Z] [Severe] http://127.0.0.1:42947/_framework/blazor.web.js - Failed to load resource: the server responded with a status of 404 (Not Found)Page content:
<head><meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <base href="/">
    <link href="bootstrap.min.css" rel="stylesheet">
    <link href="app.css" rel="stylesheet">
    <!--Blazor-WebAssembly:{"environmentName":"Production","environmentVariables":{}}--><!--Blazor:{"type":"webassembly","prerenderId":"4595e0d5a0224bfdbaeaa00e8fecd181","key":{"locationHash":"77D12F14A8105320B1AAED6AE7E689DA0EC4483270A645E84079EAA0FFDF550D:5","formattedComponentKey":""},"assembly":"Microsoft.AspNetCore.Components.Web","typeName":"Microsoft.AspNetCore.Components.Web.HeadOutlet","parameterDefinitions":"W10=","parameterValues":"W10="}--><!--Blazor:{"prerenderId":"4595e0d5a0224bfdbaeaa00e8fecd181"}--></head>

<body><app>Loading...</app>

    <div id="blazor-error-ui">
        An unhandled exception has occurred. See browser dev tools for details.
        <a href="" class="reload">Reload</a>
        <a class="dismiss">\ud83d\uddd9</a></div>

    <script src="_framework/blazor.web.js"></script></body>

---- Assert.NotEqual() Failure: Strings are equal
Expected: Not "Loading..."
Actual:       "Loading..."
Raw output
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.WaitAssertCore[TResult](IWebDriver driver, Func`1 assertion, TimeSpan timeout) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 137
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.WaitAssertCore(IWebDriver driver, Action assertion, TimeSpan timeout) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 91
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.NotEqual[T](IWebDriver driver, T expected, Func`1 actual) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 30
   at Microsoft.AspNetCore.Components.E2ETest.Tests.ThreadingHostedAppTest.WaitUntilLoaded() in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/ThreadingAppHostedTest.cs:line 112
   at Microsoft.AspNetCore.Components.E2ETest.Tests.ThreadingHostedAppTest.InitializeAsyncCore() in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/ThreadingAppHostedTest.cs:line 32
   at Microsoft.AspNetCore.E2ETesting.BrowserTestBase.InitializeAsync(String isolationContext) in /home/vsts/work/1/s/src/Shared/E2ETesting/BrowserTestBase.cs:line 65
   at Microsoft.AspNetCore.E2ETesting.BrowserTestBase.InitializeAsync() in /home/vsts/work/1/s/src/Shared/E2ETesting/BrowserTestBase.cs:line 59
----- Inner Stack Trace -----
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass20_0.<WaitAssertCore>b__0() in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 91
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass21_0`1.<WaitAssertCore>b__0(IWebDriver _) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 109

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=139.0.7258.66)
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.E2ETest.Tests.ThreadingHostedAppTest.CounterPageCanUseThreads

See this annotation in the file changed.

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

Microsoft.AspNetCore.Components.E2ETest.Tests.ThreadingHostedAppTest.CounterPageCanUseThreads

OpenQA.Selenium.BrowserAssertFailedException : Xunit.Sdk.NotEqualException: Assert.NotEqual() Failure: Strings are equal
Expected: Not "Loading..."
Actual:       "Loading..."
   at Xunit.Assert.NotEqual[T](T expected, T actual, IEqualityComparer`1 comparer) in /_/src/xunit.assert/Asserts/EqualityAsserts.cs:line 636
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass20_0.<WaitAssertCore>b__0() in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 91
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass21_0`1.<WaitAssertCore>b__0(IWebDriver _) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 109
Screen shot captured at '/home/vsts/work/1/s/src/Components/test/E2ETest/bin/screenshots/0edb0b61a50a484598d8e8daf8a6795b.png'
Encountered browser errors
[2025-08-20T07:55:02Z] [Severe] http://127.0.0.1:42947/_framework/blazor.web.js - Failed to load resource: the server responded with a status of 404 (Not Found)Page content:
<head><meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <base href="/">
    <link href="bootstrap.min.css" rel="stylesheet">
    <link href="app.css" rel="stylesheet">
    <!--Blazor-WebAssembly:{"environmentName":"Production","environmentVariables":{}}--><!--Blazor:{"type":"webassembly","prerenderId":"aaa7f4730e43417dad9901f92bf28730","key":{"locationHash":"77D12F14A8105320B1AAED6AE7E689DA0EC4483270A645E84079EAA0FFDF550D:5","formattedComponentKey":""},"assembly":"Microsoft.AspNetCore.Components.Web","typeName":"Microsoft.AspNetCore.Components.Web.HeadOutlet","parameterDefinitions":"W10=","parameterValues":"W10="}--><!--Blazor:{"prerenderId":"aaa7f4730e43417dad9901f92bf28730"}--></head>

<body><app>Loading...</app>

    <div id="blazor-error-ui">
        An unhandled exception has occurred. See browser dev tools for details.
        <a href="" class="reload">Reload</a>
        <a class="dismiss">\ud83d\uddd9</a></div>

    <script src="_framework/blazor.web.js"></script></body>

---- Assert.NotEqual() Failure: Strings are equal
Expected: Not "Loading..."
Actual:       "Loading..."
Raw output
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.WaitAssertCore[TResult](IWebDriver driver, Func`1 assertion, TimeSpan timeout) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 137
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.WaitAssertCore(IWebDriver driver, Action assertion, TimeSpan timeout) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 91
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.NotEqual[T](IWebDriver driver, T expected, Func`1 actual) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 30
   at Microsoft.AspNetCore.Components.E2ETest.Tests.ThreadingHostedAppTest.WaitUntilLoaded() in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/ThreadingAppHostedTest.cs:line 112
   at Microsoft.AspNetCore.Components.E2ETest.Tests.ThreadingHostedAppTest.InitializeAsyncCore() in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/ThreadingAppHostedTest.cs:line 32
   at Microsoft.AspNetCore.E2ETesting.BrowserTestBase.InitializeAsync(String isolationContext) in /home/vsts/work/1/s/src/Shared/E2ETesting/BrowserTestBase.cs:line 65
   at Microsoft.AspNetCore.E2ETesting.BrowserTestBase.InitializeAsync() in /home/vsts/work/1/s/src/Shared/E2ETesting/BrowserTestBase.cs:line 59
----- Inner Stack Trace -----
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass20_0.<WaitAssertCore>b__0() in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 91
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass21_0`1.<WaitAssertCore>b__0(IWebDriver _) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 109

Check failure on line 1 in Microsoft.AspNetCore.Components.E2ETest.Tests.ThreadingHostedAppTest.NavMenuHighlightsCurrentLocation

See this annotation in the file changed.

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

Microsoft.AspNetCore.Components.E2ETest.Tests.ThreadingHostedAppTest.NavMenuHighlightsCurrentLocation

OpenQA.Selenium.BrowserAssertFailedException : Xunit.Sdk.NotEqualException: Assert.NotEqual() Failure: Strings are equal
Expected: Not "Loading..."
Actual:       "Loading..."
   at Xunit.Assert.NotEqual[T](T expected, T actual, IEqualityComparer`1 comparer) in /_/src/xunit.assert/Asserts/EqualityAsserts.cs:line 636
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass20_0.<WaitAssertCore>b__0() in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 91
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass21_0`1.<WaitAssertCore>b__0(IWebDriver _) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 109
Screen shot captured at '/home/vsts/work/1/s/src/Components/test/E2ETest/bin/screenshots/3ad2d4e9495c4dc2befdcd4ca24b8424.png'
Encountered browser errors
[2025-08-20T07:55:43Z] [Severe] http://127.0.0.1:42947/_framework/blazor.web.js - Failed to load resource: the server responded with a status of 404 (Not Found)Page content:
<head><meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <base href="/">
    <link href="bootstrap.min.css" rel="stylesheet">
    <link href="app.css" rel="stylesheet">
    <!--Blazor-WebAssembly:{"environmentName":"Production","environmentVariables":{}}--><!--Blazor:{"type":"webassembly","prerenderId":"fd766c9bf82649d3b896b3cc20d28396","key":{"locationHash":"77D12F14A8105320B1AAED6AE7E689DA0EC4483270A645E84079EAA0FFDF550D:5","formattedComponentKey":""},"assembly":"Microsoft.AspNetCore.Components.Web","typeName":"Microsoft.AspNetCore.Components.Web.HeadOutlet","parameterDefinitions":"W10=","parameterValues":"W10="}--><!--Blazor:{"prerenderId":"fd766c9bf82649d3b896b3cc20d28396"}--></head>

<body><app>Loading...</app>

    <div id="blazor-error-ui">
        An unhandled exception has occurred. See browser dev tools for details.
        <a href="" class="reload">Reload</a>
        <a class="dismiss">\ud83d\uddd9</a></div>

    <script src="_framework/blazor.web.js"></script></body>

---- Assert.NotEqual() Failure: Strings are equal
Expected: Not "Loading..."
Actual:       "Loading..."
Raw output
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.WaitAssertCore[TResult](IWebDriver driver, Func`1 assertion, TimeSpan timeout) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 137
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.WaitAssertCore(IWebDriver driver, Action assertion, TimeSpan timeout) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 91
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.NotEqual[T](IWebDriver driver, T expected, Func`1 actual) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 30
   at Microsoft.AspNetCore.Components.E2ETest.Tests.ThreadingHostedAppTest.WaitUntilLoaded() in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/ThreadingAppHostedTest.cs:line 112
   at Microsoft.AspNetCore.Components.E2ETest.Tests.ThreadingHostedAppTest.InitializeAsyncCore() in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/ThreadingAppHostedTest.cs:line 32
   at Microsoft.AspNetCore.E2ETesting.BrowserTestBase.InitializeAsync(String isolationContext) in /home/vsts/work/1/s/src/Shared/E2ETesting/BrowserTestBase.cs:line 65
   at Microsoft.AspNetCore.E2ETesting.BrowserTestBase.InitializeAsync() in /home/vsts/work/1/s/src/Shared/E2ETesting/BrowserTestBase.cs:line 59
----- Inner Stack Trace -----
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass20_0.<WaitAssertCore>b__0() in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 91
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass21_0`1.<WaitAssertCore>b__0(IWebDriver _) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 109