Skip to content

test: keep WebContentsView visibility specs' windows on top on Windows - #54762

Merged
ckerr merged 1 commit into
44-x-yfrom
trop/44-x-y-bp-test-keep-webcontentsview-visibility-specs-windows-on-top-on-windows-1791467761324
Oct 8, 2026
Merged

ckerr merged 1 commit into
44-x-yfrom
trop/44-x-y-bp-test-keep-webcontentsview-visibility-specs-windows-on-top-on-windows-1791467761324

Conversation

@trop

@trop trop Bot commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

Backport of #54727

See that PR for details.

Notes: none

The WebContentsView visibilityState specs wait for their page to become
'visible'. A BrowserWindow's own webContents is force-shown, but a
BaseWindow's content views are not, so Chromium's native occlusion
tracker decides their visibility. On the Windows CI hosts another
process's console window can sit above a newly shown test window, and
under the parallel runner another worker's window can cover it, so the
page stays 'hidden' and waitUntil() times out.

As #54334 did for visibility-state.spec.ts, create these windows
always-on-top on Windows, and run the block serially.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

Co-authored-by: Charles Kerr <[email protected]>
@trop
trop Bot requested a review from ckerr October 8, 2026 13:56
@trop trop Bot added 44-x-y backport This is a backport PR semver/none labels Oct 8, 2026
@ckerr
ckerr merged commit 0de997b into 44-x-y Oct 8, 2026
86 checks passed
@ckerr
ckerr deleted the trop/44-x-y-bp-test-keep-webcontentsview-visibility-specs-windows-on-top-on-windows-1791467761324 branch October 8, 2026 16:00
@release-clerk

release-clerk Bot commented Oct 8, 2026

Copy link
Copy Markdown

No Release Notes

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

Labels

Projects

No open projects
Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant