Skip to content

test: make sure test window is on top for focus tests - #45435

Merged
jkleinsc merged 1 commit into
mainfrom
fixup-focus-tests
Feb 10, 2025
Merged

jkleinsc merged 1 commit into
mainfrom
fixup-focus-tests

Conversation

@jkleinsc

@jkleinsc jkleinsc commented Feb 3, 2025 •

Copy link
Copy Markdown
Member

Description of Change

Fixes #45322. Using a newly added spec helper takeScreenshot, I was able to determine that on the focus tests in Windows, the testing window was behind other windows which interfered with the focus tests. This PR changes our focus tests to make sure the test window is always on top.

Checklist

Release Notes

Notes: none

@jkleinsc
jkleinsc force-pushed the fixup-focus-tests branch 2 times, most recently from e2bdf86 to a288356 Compare February 7, 2025 18:40
@jkleinsc jkleinsc changed the title test: add debugging for focus tests test: make sure test window is on top for focus tests Feb 10, 2025
@jkleinsc
jkleinsc marked this pull request as ready for review February 10, 2025 15:01
@jkleinsc jkleinsc added the target/35-x-y PR should also be added to the "35-x-y" branch. label Feb 10, 2025
@jkleinsc
jkleinsc merged commit 14fe093 into main Feb 10, 2025
@jkleinsc
jkleinsc deleted the fixup-focus-tests branch February 10, 2025 18:40
@release-clerk

release-clerk Bot commented Feb 10, 2025

Copy link
Copy Markdown

No Release Notes

@trop

trop Bot commented Feb 10, 2025

Copy link
Copy Markdown
Contributor

I have automatically backported this PR to "35-x-y", please check out #45552

@trop trop Bot added in-flight/35-x-y and removed target/35-x-y PR should also be added to the "35-x-y" branch. labels Feb 10, 2025
@trop trop Bot added merged/35-x-y PR was merged to the "35-x-y" branch. and removed in-flight/35-x-y labels Feb 11, 2025
@ckerr

ckerr commented Feb 11, 2025

Copy link
Copy Markdown
Member

Thanks for landing this!

I was hitting this same test failure in the Chromium roll; rebasing now to pick up this fix 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged/35-x-y PR was merged to the "35-x-y" branch. semver/none

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Focus handling tests fail on Windows 32-bit

3 participants