test: disable transparency tests on macOS arm64 (#41580)
This commit is contained in:
parent
02020fbb63
commit
6cb84ddbfb
1 changed files with 4 additions and 3 deletions
|
@ -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({
|
||||
|
|
Loading…
Reference in a new issue