mirror of
https://github.com/electron/electron.git
synced 2026-10-28 11:44:46 +08:00
test: run fullscreen specs serially (#54549)
The `iframe using HTML fullscreen API while window is OS-fullscreened` block in chromium.spec.ts and the macOS `fullscreen state` block in api-browser-window.spec.ts move windows in and out of OS fullscreen. Under the parallel runner two of these transitions can overlap on macOS and one never finishes, timing out the test. Tag both blocks serial. Claude-Session: https://claude.ai/code/session_01XUFN2KBqhJMviaCibjxNUU Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
1 parent
1d0cc3e705
commit
efbc851383
2 files changed
+2
-2
No files matched your search
@@ -7426,7 +7426,7 @@ describe('BrowserWindow module', () => {
|
||||
});
|
||||
});
|
||||
|
||||
ifdescribe(process.platform === 'darwin')('fullscreen state', () => {
|
||||
ifdescribe(process.platform === 'darwin')('fullscreen state', { tags: ['serial'] }, () => {
|
||||
it('should not cause a crash if called when exiting fullscreen', async () => {
|
||||
const w = new BrowserWindow();
|
||||
|
||||
|
||||
@@ -4502,7 +4502,7 @@ describe('font fallback', () => {
|
||||
);
|
||||
});
|
||||
|
||||
describe('iframe using HTML fullscreen API while window is OS-fullscreened', () => {
|
||||
describe('iframe using HTML fullscreen API while window is OS-fullscreened', { tags: ['serial'] }, () => {
|
||||
const fullscreenChildHtml = fs.promises.readFile(path.join(fixturesPath, 'pages', 'fullscreen-oopif.html'));
|
||||
let w: BrowserWindow;
|
||||
let server: http.Server;
|
||||
|
||||
Reference in new issue
Block a user