test: disable transparency tests on macOS arm64 (#41580)

This commit is contained in:
Shelley Vohr
2024-03-13 15:05:10 +01:00
committed by GitHub
parent 02020fbb63
commit 6cb84ddbfb

View File

@@ -6471,8 +6471,8 @@ describe('BrowserWindow module', () => {
expect(w.getBounds()).to.deep.equal(newBounds);
});
// Linux and arm64 platforms (WOA and macOS) do not return any capture sources
ifit(process.platform === 'darwin' && process.arch === 'x64')('should not display a visible background', async () => {
// FIXME(codebytere): figure out why these are failing on macOS arm64.
ifit(process.platform === 'darwin' && process.arch !== 'arm64')('should not display a visible background', async () => {
const display = screen.getPrimaryDisplay();
const backgroundWindow = new BrowserWindow({
@@ -6514,7 +6514,8 @@ describe('BrowserWindow module', () => {
);
});
ifit(process.platform === 'darwin')('Allows setting a transparent window via CSS', async () => {
// FIXME(codebytere): figure out why these are failing on macOS arm64.
ifit(process.platform === 'darwin' && process.arch !== 'arm64')('Allows setting a transparent window via CSS', async () => {
const display = screen.getPrimaryDisplay();
const backgroundWindow = new BrowserWindow({