You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OpenQA.Selenium.BrowserAssertFailedException : Xunit.Sdk.NotEmptyException: Assert.NotEmpty() Failure: Collection was empty
at Xunit.Assert.NotEmpty(IEnumerable collection) in /_/src/xunit.assert/Asserts/CollectionAsserts.cs:line 539
at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass18_0.<Exists>b__0() in /mnt/vss/_work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 78
at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass21_0`1.<WaitAssertCore>b__0(IWebDriver _) in /mnt/vss/_work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 109
Screen shot captured at '/mnt/vss/_work/1/s/src/Components/test/E2ETest/bin/screenshots/182d6317a19a43bdb111ceec6c5d832b.png'
Encountered browser errors
[2026-04-10T14:13:35Z] [Warning] blazor.web.js: Initializer 'BasicTestApp.lib.module.js' will be ignored because multiple runtimes are available. Use 'before(Web|WebAssembly|Server)Start' and 'after(Web|WebAssembly|Server)Started' instead.
[2026-04-10T14:13:35Z] [Warning] blazor.web.js: Initializer 'JSInitializers/Classic/BasicTestApp.lib.module.js' will be ignored because multiple runtimes are available. Use 'before(Web|WebAssembly|Server)Start' and 'after(Web|WebAssembly|Server)Started' instead.
Stacktrace
Details
Xunit.Sdk.NotEmptyException: Assert.NotEmpty() Failure: Collection was empty
at Xunit.Assert.NotEmpty(IEnumerable collection) in /_/src/xunit.assert/Asserts/CollectionAsserts.cs:line 539
at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass18_0.<Exists>b__0() in /mnt/vss/_work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 78
at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass21_0`1.<WaitAssertCore>b__0(IWebDriver _) in /mnt/vss/_work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 109
at OpenQA.Selenium.Support.UI.DefaultWait`1.Until[TResult](Func`2 condition)
at Microsoft.AspNetCore.E2ETesting.WaitAssert.WaitAssertCore[TResult](IWebDriver driver, Func`1 func, TimeSpan timeout, String userMessage) in /mnt/vss/_work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 120
at Microsoft.AspNetCore.E2ETesting.WaitAssert.Exists(IWebDriver driver, By finder, TimeSpan timeout, String userMessage) in /mnt/vss/_work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 78
at Microsoft.AspNetCore.Components.E2ETests.ServerRenderingTests.BlazorWebJsInitializersTest.InitializersRunsModernCallbacksByDefaultWhenPresent(Boolean streaming, Boolean webassembly, Boolean server, String[] expectedInvokedCallbacks) in /mnt/vss/_work/1/s/src/Components/test/E2ETest/ServerRenderingTests/BlazorWebJsInitializersTest.cs
Logs
Details
The test InitializersRunsModernCallbacksByDefaultWhenPresent navigates to an /initializers page that renders JS initializer callbacks as DOM elements. The test asserts that specific callback elements exist in the DOM (e.g., classic-and-modern-before-web-start, classic-and-modern-after-web-started, etc.). When the test fails, the collection is empty — meaning the expected DOM elements were never rendered, suggesting the JavaScript initializers were not invoked.
Browser console warnings indicate the classic-style initializers were being ignored in favor of modern-style callbacks, but the modern callbacks also failed to render their output in time.
Failing Test(s)
Microsoft.AspNetCore.Components.E2ETests.ServerRenderingTests.BlazorWebJsInitializersTest.InitializersRunsModernCallbacksByDefaultWhenPresentError Message
Stacktrace
Details
Logs
Details
The test
InitializersRunsModernCallbacksByDefaultWhenPresentnavigates to an/initializerspage that renders JS initializer callbacks as DOM elements. The test asserts that specific callback elements exist in the DOM (e.g.,classic-and-modern-before-web-start,classic-and-modern-after-web-started, etc.). When the test fails, the collection is empty — meaning the expected DOM elements were never rendered, suggesting the JavaScript initializers were not invoked.Browser console warnings indicate the classic-style initializers were being ignored in favor of modern-style callbacks, but the modern callbacks also failed to render their output in time.
Build
https://dev.azure.com/dnceng-public/public/_build/results?buildId=1373948
Note
🔒 Integrity filter blocked 6 items
The following items were blocked because they don't meet the GitHub integrity level.
pull_request_read: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".pull_request_read: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".pull_request_read: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".pull_request_read: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".pull_request_read: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".To allow these resources, lower
min-integrityin your GitHub frontmatter: