Skip to content

Fix flaky QuickGrid type mismatch virtualized E2E test - #67677

Merged
ilonatommy merged 4 commits into
dotnet:mainfrom
BharatRamsf3693:bug-67633-quickgrid-sortbytypemismatch-flaky-test
Jul 9, 2026
Merged

ilonatommy merged 4 commits into
dotnet:mainfrom
BharatRamsf3693:bug-67633-quickgrid-sortbytypemismatch-flaky-test

Conversation

@BharatRamsf3693

@BharatRamsf3693 BharatRamsf3693 commented Jul 8, 2026 •

Copy link
Copy Markdown
Contributor

Fix flaky QuickGrid type mismatch virtualized E2E test

Stabilize QuickGrid type mismatch virtualized E2E test

Description

This PR addresses flakiness in
QuickGridInteractiveTest.SortByTypeMismatchVirtualizedShowsClearError.

The test previously retrieved the error message text directly after locating
the element. During prerendering and subsequent rerenders, the underlying DOM
elements can be replaced, resulting in intermittent
StaleElementReferenceException failures when accessing the element text.

To make the test more resilient, the assertions have been updated to use
Browser.Contains(...), which waits and retries until the expected diagnostic
content is available.

This removes flakiness caused by rendering timing variations while preserving
the original validation of the QuickGrid type-mismatch diagnostic.

Fixes #67632, Fixes #67633

@BharatRamsf3693
BharatRamsf3693 requested a review from a team as a code owner July 8, 2026 13:53
@dotnet-policy-service dotnet-policy-service Bot added the community-contribution Indicates that the PR has been added by a community member label Jul 8, 2026
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Thanks for your PR, @BharatRamsf3693. Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

@ilonatommy

Copy link
Copy Markdown
Member

@BharatRamsf3693, please, don't merge with main when there are no conflicts. I will rerun the pipeline if failures look suspicious, otherwise when failures are rare and known, we can merge on red.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-blazor Includes: Blazor, Razor Components community-contribution Indicates that the PR has been added by a community member feature-blazor-quickgrid

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Quarantine QuickGridInteractiveTest.SortByTypeMismatchVirtualizedShowsClearError

2 participants