Skip to content

fix: let the browser fixture close the diff test context - #4301

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-4237
Oct 26, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/issue-4237

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The diff first-paint test added in #3984 closed its browser context before the shared fixture could collect final page diagnostics. Leave context teardown with the fixture, preserving the held-request cleanup and first-paint height assertions.

The fixture ownership check reproduces the reported failure before this removal and passes afterward. Both wide and touch cases of the inline patch first-paint test also pass (3 tests total).

Closes #4237 — automated triage

Keep the first-paint measurement and request cleanup from #3984 while letting the browser fixture read page diagnostics before closing its context. The fixture ownership check failed before the removal and passes afterward, alongside both first-paint cases.

Closes #4237
@leaf-agent
leaf-agent merged commit 96df4aa into main Oct 26, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-4237 branch October 26, 2026 23:58
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.

Diff test closes a context owned by the browser fixture

1 participant