fix: move window.open postMessage test to main runner to fix flake (#18735)
This commit is contained in:
parent
81ad355355
commit
e5d1e7b4da
5 changed files with 35 additions and 22 deletions
|
@ -39,3 +39,9 @@ export const closeWindow = async (
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
export async function closeAllWindows() {
|
||||
for (const w of BrowserWindow.getAllWindows()) {
|
||||
await closeWindow(w, {assertNotWindows: false})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue