Skip to content

Fix flaky ResolveAllConflicts jest test pointer-events failure#261349

Merged
tylersmalley merged 1 commit intoelastic:mainfrom
tylersmalley:fix/spaces-resolve-all-conflicts-flaky-jest
Apr 6, 2026
Merged

Fix flaky ResolveAllConflicts jest test pointer-events failure#261349
tylersmalley merged 1 commit intoelastic:mainfrom
tylersmalley:fix/spaces-resolve-all-conflicts-flaky-jest

Conversation

@tylersmalley
Copy link
Copy Markdown
Member

@tylersmalley tylersmalley commented Apr 6, 2026

EUI v114 introduced pointer-events: none on EuiPopover panels during open animations. JSDOM doesn't fire CSS transitionend events, so the property removal is timing-dependent, causing userEvent.click to intermittently fail. Use userEvent.setup({ pointerEventsCheck: 0 }) matching the existing pattern in other Kibana tests.

Not backporting, as following the original EUI PR #259497

Created due to it failing on main: https://buildkite.com/elastic/kibana-on-merge/builds/92848#019d62ac-39f7-4ade-90c9-baf043ccc5ae

Resolves #259669

EUI v114 introduced pointer-events: none on EuiPopover panels during
open animations. JSDOM doesn't fire CSS transitionend events, so the
property removal is timing-dependent, causing userEvent.click to
intermittently fail. Use userEvent.setup({ pointerEventsCheck: 0 })
matching the existing pattern in other Kibana tests.
@tylersmalley tylersmalley requested a review from a team as a code owner April 6, 2026 13:35
@tylersmalley tylersmalley added the release_note:skip Skip the PR/issue when compiling release notes label Apr 6, 2026
@tylersmalley tylersmalley added backport:skip This PR does not require backporting v9.4.0 labels Apr 6, 2026
Copy link
Copy Markdown
Contributor

@kc13greiner kc13greiner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@tylersmalley tylersmalley removed the request for review from elena-shostak April 6, 2026 15:30
@tylersmalley tylersmalley merged commit cdbb0fe into elastic:main Apr 6, 2026
29 checks passed
@tylersmalley tylersmalley deleted the fix/spaces-resolve-all-conflicts-flaky-jest branch April 6, 2026 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes v9.4.0

Projects

None yet

2 participants