Skip to content

Enable QuickGrid anchoring tests - #69221

Merged
ilonatommy merged 7 commits into
dotnet:mainfrom
ilonatommy:fix-67865-tests-passing
Sep 11, 2026
Merged

ilonatommy merged 7 commits into
dotnet:mainfrom
ilonatommy:fix-67865-tests-passing

Conversation

@ilonatommy

@ilonatommy ilonatommy commented Sep 11, 2026 •

Copy link
Copy Markdown
Member

Restore previously disabled QuickGrid AnchorMode test cases and make the large-append assertion wait for the grid geometry to update.

The tests are no longer failing. The large-append test now waits for QuickGrid's child render to update the scroll geometry before asserting. This avoids reading the old scrollHeight immediately after the parent component reports that items were appended.

All cases tested manually and in a loop by automation tool, no issues caught.

Fixes #67865 that was a tracking issue for all QuickGrid-related quarantines.

Fixes #68559, see #68559 (comment).

Fixes #68726, see #68726 (comment).

Fixes #68017, see #68017 (comment).

Fixes #68730, see ilonatommy@913581b.

Fixes #68775. See: #68775 (comment)

@ilonatommy ilonatommy self-assigned this Sep 11, 2026
Copilot AI lite review requested due to automatic review settings September 11, 2026 09:25
@ilonatommy
ilonatommy requested a review from a team as a code owner September 11, 2026 09:25
@ilonatommy ilonatommy added area-blazor Includes: Blazor, Razor Components feature-blazor-virtualization This issue is related to the Blazor Virtualize component feature-blazor-quickgrid labels Sep 11, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Require geometry and scroll values to remain stable across consecutive polls so later anchor adjustments cannot be missed.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Restores QuickGrid AnchorMode E2E coverage and synchronizes large-append assertions with updated scroll geometry.

Changes:

  • Re-enables provider and large-append anchoring tests.
  • Adds delayed provider scenarios.
  • Polls scroll metrics before asserting viewport behavior.
File summaries
File Summary
src/Components/test/E2ETest/Tests/VirtualizationTest.cs Restores QuickGrid anchoring coverage and updates large-append assertions.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

@ilonatommy
ilonatommy marked this pull request as draft September 11, 2026 09:58
@ilonatommy
ilonatommy marked this pull request as ready for review September 11, 2026 13:09
@ilonatommy
ilonatommy requested a lite review from Copilot September 11, 2026 13:10

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

A QuickGrid AnchorMode test remains quarantined, leaving the restoration incomplete.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 1
  • Review effort level: Lite

Removed quarantined test attribute from QuickGrid test. resolve dotnet#69221 (comment)

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

It re-enables timing-sensitive cross-runtime browser tests while the relevant E2E checks remain in progress.

Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 0 new
  • Review effort level: Balanced

@ilonatommy
ilonatommy enabled auto-merge (squash) September 11, 2026 14:31
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 feature-blazor-quickgrid feature-blazor-virtualization This issue is related to the Blazor Virtualize component

Projects

None yet

3 participants