Investigate public API changes in templates #62929
Closed
Azure Pipelines / aspnetcore-components-e2e
failed
Jul 30, 2025 in 1h 17m 12s
Build #20250730.5 had test failures
Details
- Failed: 1 (0.07%)
- Passed: 1,533 (99.74%)
- Other: 3 (0.20%)
- Total: 1,537
Annotations
Check failure on line 227 in Build log
azure-pipelines / aspnetcore-components-e2e
Build log #L227
Bash exited with code '1'.
azure-pipelines / aspnetcore-components-e2e
Microsoft.AspNetCore.Components.E2ETests.ServerRenderingTests.RedirectionTest.NavigationException_InAsyncContext_DoesNotBecomeUnobservedTaskException
OpenQA.Selenium.BrowserAssertFailedException : Xunit.Sdk.EqualException: Assert.Equal() Failure: Values differ
Expected: 0
Actual: 3
at Xunit.Assert.Equal[T](T expected, T actual, IEqualityComparer`1 comparer) in /_/src/xunit.assert/Asserts/EqualityAsserts.cs:line 154
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/997fe8b997f44687aebec2d5b84a9e8d.png'
Encountered browser errors
[2025-07-30T09:45:18Z] [Warning] http://127.0.0.1:45057/subdir/_framework/blazor.web.34jgabw4mb.js 0:42467 "[2025-07-30T09:45:18.477Z] Warning: Initializer 'http://127.0.0.1:45057/subdir/BasicTestApp.vpc4xa0l6h.lib.module.js' will be ignored because multiple runtimes are available. Use 'before(Web|WebAssembly|Server)Start' and 'after(Web|WebAssembly|Server)Started' instead."
[2025-07-30T09:45:18Z] [Warning] http://127.0.0.1:45057/subdir/_framework/blazor.web.34jgabw4mb.js 0:42467 "[2025-07-30T09:45:18.481Z] Warning: Initializer 'http://127.0.0.1:45057/subdir/JSInitializers/Classic/BasicTestApp.j2kfp6tx1s.lib.module.js' will be ignored because multiple runtimes are available. Use 'before(Web|WebAssembly|Server)Start' and 'after(Web|WebAssembly|Server)Started' instead."
[2025-07-30T09:45:20Z] [Warning] http://127.0.0.1:45057/subdir/_framework/blazor.web.34jgabw4mb.js 0:42467 "[2025-07-30T09:45:20.480Z] Warning: Initializer 'http://127.0.0.1:45057/subdir/BasicTestApp.vpc4xa0l6h.lib.module.js' will be ignored because multiple runtimes are available. Use 'before(Web|WebAssembly|Server)Start' and 'after(Web|WebAssembly|Server)Started' instead."
[2025-07-30T09:45:20Z] [Warning] http://127.0.0.1:45057/subdir/_framework/blazor.web.34jgabw4mb.js 0:42467 "[2025-07-30T09:45:20.481Z] Warning: Initializer 'http://127.0.0.1:45057/subdir/JSInitializers/Classic/BasicTestApp.j2kfp6tx1s.lib.module.js' will be ignored because multiple runtimes are available. Use 'before(Web|WebAssembly|Server)Start' and 'after(Web|WebAssembly|Server)Started' instead."Page content:
<head><meta charset="utf-8">
<base href="/subdir/">
</head>
<body><nav><a href="nav">Home</a> |
<a href="streaming">Streaming</a> |
<a href="large-streaming">Large Streaming</a> |
<a href="streaming-interactivity">Streaming with interactivity</a> |
<a href="nav/give-404-with-content">Error page with 404 content</a> |
<a href="nav/nonexistent-page">Error page with no content</a> |
<a href="nav/non-html-response">Non-HTML page</a> |
<a href="nav/non-blazor-html-response">Non-Blazor HTML page</a> |
<a href="nav/scroll-to-hash#some-content">Scroll to hash</a> |
<a href="nav/throw-while-streaming">Error while streaming</a> |
<a href="nav/interactive-component-navigation/server">Interactive component navigation (server)</a> |
<a href="nav/interactive-component-navigation/webassembly">Interactive component navigation (webassembly)</a> |
<a href="nav/list-headers">List headers</a> |
<a href="nav/preserve-content">Preserve content</a>
<span data-enhance-nav="false"><a href="nav/other"><span id="not-enhanced-nav-link">Other (no enhanced nav)</span></a> |
<span data-enhance-nav=""><a href="nav/other">Other (re-enabled enhanced nav)</a> |
</span></span>
<a href="nav/location-changed/server">LocationChanged/LocationChanging event (server)</a>
<a href="nav/location-changed/wasm">LocationChanged/LocationChanging event (wasm)</a>
<a href="nav/location-changed/server-and-wasm">LocationChanged/LocationChanging event (server-and-wasm)</a>
<a href="nav/null-parameter/server">Null component parameter (server)</a>
<a href="nav/null-parameter/wasm">Null compone
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.Equal[T](IWebDriver driver, T expected, Func`1 actual) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 27
at Microsoft.AspNetCore.Components.E2ETests.ServerRenderingTests.RedirectionTest.NavigationException_InAsyncContext_DoesNotBecomeUnobservedTaskException() in /home/vsts/work/1/s/src/Components/test/E2ETest/ServerRenderingTests/RedirectionTest.cs:line 294
at InvokeStub_RedirectionTest.NavigationException_InAsyncContext_DoesNotBecomeUnobservedTaskException(Object, Object, IntPtr*)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
----- 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
Loading