Skip to content

Move pointer out of viewport after mount in Playwright tests (#746) - #747

Merged
bedrich-schindler merged 1 commit into
masterfrom
bugfix/746-playwright-hover-flakiness
Sep 23, 2026
Merged

bedrich-schindler merged 1 commit into
masterfrom
bugfix/746-playwright-hover-flakiness

Conversation

@bedrich-schindler

@bedrich-schindler bedrich-schindler commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Components are mounted in the top left corner of the viewport where the pointer rests, so Chromium applied :hover to them and snapshots captured form fields in their hover state or during the hover transition.

The shared test from tests/playwright wraps the mount fixture to move the pointer out of the viewport after each mount. Snapshots that contained the hover state are regenerated.

Closes #746

Components are mounted in the top left corner of the viewport where the
pointer rests, so Chromium applied `:hover` to them and snapshots captured
form fields in their hover state or during the hover transition.

The shared `test` from `tests/playwright` wraps the `mount` fixture to move
the pointer out of the viewport after each mount. Snapshots that contained
the hover state are regenerated.
@github-actions

github-actions Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-09-23 08:29 UTC

@bedrich-schindler

Copy link
Copy Markdown
Contributor Author

@claude, review this PR.

@bedrich-schindler
bedrich-schindler merged commit 9888557 into master Sep 23, 2026
15 checks passed
@bedrich-schindler
bedrich-schindler deleted the bugfix/746-playwright-hover-flakiness branch September 23, 2026 08:29

This branch was successfully deployed

1 active deployment
pr-preview/pr-747 — a4d11fe2 Deployed Sep 23, 2026 by bedrich-schindler via Deploy PR Preview #88
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Fixing a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Playwright visual tests are flaky because mounted form fields get into hover state

1 participant