test: disable newly added tests on WOA (#33143)
* tests: disable newly added tests on WOA * test: also disable test on arm64 macOS
This commit is contained in:
parent
b43f7702c8
commit
f45aaea537
1 changed files with 4 additions and 4 deletions
|
@ -4874,8 +4874,8 @@ describe('BrowserWindow module', () => {
|
|||
expect(w.getBounds()).to.deep.equal(newBounds);
|
||||
});
|
||||
|
||||
// Linux doesn't return any capture sources.
|
||||
ifit(process.platform !== 'linux')('should not display a visible background', async () => {
|
||||
// Linux and arm64 platforms (WOA and macOS) do not return any capture sources
|
||||
ifit(process.platform !== 'linux' && process.arch !== 'arm64')('should not display a visible background', async () => {
|
||||
const display = screen.getPrimaryDisplay();
|
||||
|
||||
const backgroundWindow = new BrowserWindow({
|
||||
|
@ -4916,8 +4916,8 @@ describe('BrowserWindow module', () => {
|
|||
describe('"backgroundColor" option', () => {
|
||||
afterEach(closeAllWindows);
|
||||
|
||||
// Linux doesn't return any capture sources.
|
||||
ifit(process.platform !== 'linux')('should display the set color', async () => {
|
||||
// Linux/WOA doesn't return any capture sources.
|
||||
ifit(process.platform !== 'linux' && (process.platform !== 'win32' || process.arch !== 'arm64'))('should display the set color', async () => {
|
||||
const display = screen.getPrimaryDisplay();
|
||||
|
||||
const w = new BrowserWindow({
|
||||
|
|
Loading…
Reference in a new issue