Skip to content

Some blazor event tests failures seem to be related and will fail together #31195

Closed
@HaoK

Description

@HaoK

From #31156
so there's something about the interaction between this set of quarantined tests that when they run will cause a large set of tests to fail. When we last unquarantined most of these we saw similar failures start in the CI, I really think our current system of only running the quarantined tests and not the full set of tests is not a good mechanism to verify that the tests well behave once unquarantined, we should be running the full set of normal tests + quarantined tests to accurately determine things are fixed

It looks like a bunch of the event tests failed together and caused more test to fail too:

The tests being unquarantined in events that seem to cause issues:
ServerEventTest.EventDuringBatchRendering_CanTriggerDOMEvents
EventBubblingTest.BubblingStandardEvent_FiredOnElementWithoutHandler
EventTest.PreventDefault_DotNotApplyByDefault
EventTest.InputEvent_RespondsOnKeystrokes
EventTest.InputEvent_RespondsOnKeystrokes_EvenIfUpdatesAreLaggy
RoutingTest.PreventDefault_CanBlockNavigation_ForInternalNavigation_PreventDefaultTarget
RoutingTest.PreventDefault_CanBlockNavigation_ForExternalNavigation_PreventDefaultAncestor
(also caused [Non]BubblingCustomEvent to all fail too which aren't currently quarantined and other preventdefault tests)

It would be good to figure out why there's cross test interaction in these event tests, I'm not sure these are definitely the culprits but something in that set of tests will cause massive failures when they are all enabled.

Metadata

Metadata

Assignees

Labels

DoneThis issue has been fixedarea-blazorIncludes: Blazor, Razor Componentstest-failure

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions