mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
test: disable transparency tests on macOS arm64 (#41580)
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user