-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Labels
Milestone
Description
The E2E tests InitializersRunsModernCallbacksByDefaultWhenPresent and InitializersRunsClassicInitializersWhenEnabled both don't actually run because of how they use [MemberData].
The log output from CI contains this:
<RunInfo computerName="fv-az113-200" outcome="Warning" timestamp="2024-03-05T09:39:31.3812148+00:00">
<Text>[xUnit.net 00:00:00.92] Microsoft.AspNetCore.Components.E2ETests: Non-serializable data ('System.Object[]') found for 'Microsoft.AspNetCore.Components.E2ETests.ServerRenderingTests.BlazorWebJsInitializersTest.InitializersRunsModernCallbacksByDefaultWhenPresent'; falling back to single test case.</Text>
</RunInfo>
<RunInfo computerName="fv-az113-200" outcome="Warning" timestamp="2024-03-05T09:39:31.3821359+00:00">
<Text>[xUnit.net 00:00:00.92] Microsoft.AspNetCore.Components.E2ETests: Non-serializable data ('System.Object[]') found for 'Microsoft.AspNetCore.Components.E2ETests.ServerRenderingTests.BlazorWebJsInitializersTest.InitializersRunsClassicInitializersWhenEnabled'; falling back to single test case.</Text>
</RunInfo>There are meant to be 8 sub-cases, but it looks like it arbitrarily just runs one of them (perhaps the first?).