mirror of
https://github.com/electron/electron.git
synced 2026-01-08 23:18:06 -05:00
ci: fixup mac runner hang (#47982)
This commit is contained in:
committed by
GitHub
parent
27a8cc531b
commit
8ab5ac9069
@@ -3106,7 +3106,7 @@ describe('iframe using HTML fullscreen API while window is OS-fullscreened', ()
|
||||
});
|
||||
});
|
||||
|
||||
ifdescribe(process.platform !== 'darwin' || process.arch !== 'arm64')('navigator.serial', () => {
|
||||
describe('navigator.serial', () => {
|
||||
let w: BrowserWindow;
|
||||
before(async () => {
|
||||
w = new BrowserWindow({
|
||||
@@ -3130,6 +3130,7 @@ ifdescribe(process.platform !== 'darwin' || process.arch !== 'arm64')('navigator
|
||||
});
|
||||
|
||||
it('does not return a port if select-serial-port event is not defined', async () => {
|
||||
// Take screenshot to verify the test is running
|
||||
w.loadFile(path.join(fixturesPath, 'pages', 'blank.html'));
|
||||
const port = await getPorts();
|
||||
expect(port).to.equal(notFoundError);
|
||||
@@ -3646,7 +3647,7 @@ ifdescribe((process.platform !== 'linux' || app.isUnityRunning()))('navigator.se
|
||||
});
|
||||
});
|
||||
|
||||
ifdescribe(process.platform !== 'darwin' || process.arch !== 'arm64')('navigator.bluetooth', () => {
|
||||
describe('navigator.bluetooth', () => {
|
||||
let w: BrowserWindow;
|
||||
before(async () => {
|
||||
w = new BrowserWindow({
|
||||
|
||||
Reference in New Issue
Block a user