Skip to content

Synchronize virtualization cancellation E2E test with provider progress #70803

Description

@richlander

Follow-up to #70767 and the merged AL4 browser migration #70689.

ServerVirtualizationTest.CancelsOutdatedRefreshes_Async can issue its first scroll while the asynchronous container is still only 500px tall. Chrome clamps that scroll to zero; later loading does not reissue it. Waiting only for scrollTop also permits several scrolls to coalesce before native observers start separate provider requests.

Reproduced against current main a6110c23cf in the same immutable AL4/Chrome image as CI: the first unchanged Server/WASM run passed both cases, while the next run passed WASM and failed Server at the exact scroll-position wait (VirtualizationTest.cs:420). This is a timing race, not a deterministic failure or an AL4-only claim. Earlier real-browser producer evidence: #70767 (comment)

Acceptance: synchronize the existing Selenium test with the real initial provider/loading state, loaded data before scrolling, and a distinct pending window after each native scroll. Preserve all existing scroll/cancellation assertions, including count > 0. No fixed sleeps, synthetic observer callbacks, shipping behavior changes, test quarantines, or browser-default changes.

Activity

  1. MihuBot commented on Nov 24, 2026

    @MihuBot

    I'm a bot. Here is a possible related and/or duplicate issue (I may be wrong):

  2. added
    area-blazor
    on Nov 24, 2026
  3. github-actions commented on Nov 24, 2026

    @github-actions
    Contributor

    Triage Summary

    Area: area-blazor (Components E2E virtualization test, ServerVirtualizationTest)
    Type: Task (test synchronization; no shipping behavior change requested)

    Potential Duplicates

    • None found

    Notes

    Generated by Issue Triage Agent for dotnet/aspnetcore for #70803 · copilot · auto · 22.8 AIC · ⌖ 1.02 AIC · ⊞ 7.7K · ◷

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-blazortest-failure

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions