mirror of
https://github.com/electron/electron.git
synced 2026-01-08 23:18:06 -05:00
test: make sure test window is on top for focus tests (#45435)
This commit is contained in:
committed by
GitHub
parent
3ba85878a5
commit
14fe0932f0
@@ -98,14 +98,13 @@ describe('window.postMessage', () => {
|
||||
});
|
||||
});
|
||||
|
||||
// Tests disabled due to regression in Chromium upgrade
|
||||
// https://github.com/electron/electron/issues/45322
|
||||
ifdescribe(!(process.platform === 'win32' && process.arch === 'ia32'))('focus handling', () => {
|
||||
describe('focus handling', () => {
|
||||
let webviewContents: WebContents;
|
||||
let w: BrowserWindow;
|
||||
|
||||
beforeEach(async () => {
|
||||
w = new BrowserWindow({
|
||||
alwaysOnTop: true,
|
||||
show: true,
|
||||
webPreferences: {
|
||||
nodeIntegration: true,
|
||||
|
||||
Reference in New Issue
Block a user