Skip to content

[Flakiness] Blazor template Counter page disappears during browser startup #35

Open

Description

@mmitche

Failure

A Windows Chromium Blazor template test timed out waiting for the Counter page's Click me button. The server first rendered /counter, but the component was then disposed and the newly initialized interactive circuit navigated to /, so the expected button disappeared and the PR waited for a successful retry.

Possible cause

The evidence suggests a startup/navigation race between the browser's initial /counter request and interactive circuit initialization. A browser trace was not retained, so it is not yet clear which navigation source reset the URI; upstream dotnet#66403 concerns the same test name but different build/publish failures and is not an exact match.

Affected builds and PRs

PR PR target branch Build(s) Notes
dotnet/aspnetcore#70415 main Build 1672152 (Windows test attempt 1 failed; attempt 2 succeeded) BlazorWebTemplate_Works(Chromium, "Server", "None", allInteractive: True) timed out locating p+button; server/circuit logs show /counter followed by disposal and navigation to /.

Decision

Defer as unresolved. A retry, longer timeout, or weaker selector would hide the symptom without addressing the navigation reset; a browser trace or a recurrence with equivalent lifecycle logs is needed before a narrow change can be designed and challenged.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions