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__DisplayClass23_0`1.<WaitAssertCore>b__0(IWebDriver _) in /mnt/vss/_work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 129
Browser URL: (127.0.0.1/redacted)
Stacktrace
Details
at Xunit.Assert.NotEmpty(IEnumerable collection) in /_/src/xunit.assert/Asserts/CollectionAsserts.cs:line 539
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
Logs
Details
No Helix console log content could be retrieved for this run (log download is not permitted for Part 1 analysis; only the injected error/stack data above was available). A screenshot was captured by the test infrastructure at failure time but is not accessible from this workflow.
This test asserts that JS initializer callbacks (streaming/wasm/server combinations) get invoked and recorded in an expected-callbacks collection. It has failed 3 times over the past 30 days with Assert.NotEmpty() Failure: Collection was empty inside a WaitAssert wait-loop, meaning the expected callback-invocation collection remained empty for the whole wait window on the /initializers?streaming=True&wasm=True&server=True page. This looks like a timing race where the JS initializer callbacks (loaded across streaming/WASM/Server render modes simultaneously) don't reliably signal completion back to the test harness within the wait timeout, rather than a functional regression in initializer dispatch itself. Not a consistent regression (is_consistent_regression is false/absent). Quarantining while the timing is investigated further.
Looks like Microsoft.AspNetCore.Components.E2ETests.ServerRenderingTests.BlazorWebJsInitializersTest.InitializersRunsClassicInitializersWhenEnabled fails the same way
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__DisplayClass23_0`1.<WaitAssertCore>b__0(IWebDriver _) in /mnt/vss/_work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 129
Adding more meaningful error that these failures are sometimes producing:
Failed to load module script: Expected a JavaScript-or-Wasm module script
but the server responded with a MIME type of "".
Uncaught Error: Failed to start platform.
Network response:
[200] text/plain - .../_framework/dotnet.js
Activity
github-actions commentedon Aug 27, 2026
This test asserts that JS initializer callbacks (streaming/wasm/server combinations) get invoked and recorded in an expected-callbacks collection. It has failed 3 times over the past 30 days with
Assert.NotEmpty() Failure: Collection was emptyinside aWaitAssertwait-loop, meaning the expected callback-invocation collection remained empty for the whole wait window on the/initializers?streaming=True&wasm=True&server=Truepage. This looks like a timing race where the JS initializer callbacks (loaded across streaming/WASM/Server render modes simultaneously) don't reliably signal completion back to the test harness within the wait timeout, rather than a functional regression in initializer dispatch itself. Not a consistent regression (is_consistent_regressionisfalse/absent). Quarantining while the timing is investigated further.Quarantining via a follow-up PR.
BrennanConroy commentedon Sep 10, 2026
Looks like
Microsoft.AspNetCore.Components.E2ETests.ServerRenderingTests.BlazorWebJsInitializersTest.InitializersRunsClassicInitializersWhenEnabledfails the same wayhttps://dev.azure.com/dnceng-public/public/_build/results?buildId=1581913&view=ms.vss-test-web.build-test-results-tab&runId=43641014&resultId=100591&paneView=debug
ilonatommy commentedon Sep 25, 2026
Adding more meaningful error that these failures are sometimes producing:
All 124 failures in the last 30 days are on
aspnetcore/src/Components/test/E2ETest/ServerRenderingTests/BlazorWebJsInitializersTest.cs
Line 45 in 1daa285
InitializersRunsClassicInitializersWhenEnabledfails more rarely, twice in the last 30 days on an equivalent lineaspnetcore/src/Components/test/E2ETest/ServerRenderingTests/BlazorWebJsInitializersTest.cs
Line 74 in 1daa285
BrennanConroy commentedon Nov 10, 2026
Flaky stopped after adding the required test-fixed label for the merged fix.
🤖 Posted by Flaky (AI Agent)