Skip to content

Give the browser assertions a timeout suited to a loaded runner - #51

Merged
ivanvyd merged 1 commit into
mainfrom
fix/e2e-expect-timeout
Jul 30, 2026
Merged

Give the browser assertions a timeout suited to a loaded runner#51
ivanvyd merged 1 commit into
mainfrom
fix/e2e-expect-timeout

Conversation

@ivanvyd

@ivanvyd ivanvyd commented Jul 30, 2026

Copy link
Copy Markdown
Owner

Two release runs failed on assertions that pass on every PR. The difference is load: the release workflow runs the E2E suite straight after 1,116 unit tests across two frameworks, and Playwright's default 5s expect timeout assumes a developer's machine driving one page — every assertion here waits on a Blazor Server round trip.

Raised to 20s once in the fixture rather than per call. A genuinely broken test still fails; it just stops failing for being on a busy machine.

Reproduced locally by running the full E2E suite concurrently with both unit suites: 53/53.

Two release runs failed on assertions that pass on every pull request.
The difference is load, not correctness: the release workflow runs this
suite straight after eleven hundred unit tests across two frameworks, and
Playwright's default five-second expect timeout is tuned for a
developer's machine driving a single page. Every assertion here waits on
a Blazor Server round trip.

Raised to twenty seconds once, in the fixture, rather than per call, so
no future assertion has to remember. A test that is genuinely broken
still fails; it just no longer fails for being on a busy machine.

Reproduced the condition locally by running the full E2E suite while both
unit suites ran alongside it: 53/53.
@ivanvyd
ivanvyd merged commit e2a75a3 into main Jul 30, 2026
8 checks passed
@ivanvyd
ivanvyd deleted the fix/e2e-expect-timeout branch July 30, 2026 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant