diff --git a/spec-main/api-browser-view-spec.ts b/spec-main/api-browser-view-spec.ts index c561b4c6ee533..3352c06e991a4 100644 --- a/spec-main/api-browser-view-spec.ts +++ b/spec-main/api-browser-view-spec.ts @@ -62,7 +62,8 @@ describe('BrowserView module', () => { }).to.throw(/conversion failure/); }); - ifit(process.platform !== 'linux')('sets the background color to transparent if none is set', async () => { + // Linux and arm64 platforms (WOA and macOS) do not return any capture sources + ifit(process.platform !== 'linux' && process.arch !== 'arm64')('sets the background color to transparent if none is set', async () => { const display = screen.getPrimaryDisplay(); const WINDOW_BACKGROUND_COLOR = '#55ccbb'; @@ -85,7 +86,8 @@ describe('BrowserView module', () => { expect(areColorsSimilar(centerColor, WINDOW_BACKGROUND_COLOR)).to.be.true(); }); - ifit(process.platform !== 'linux')('successfully applies the background color', async () => { + // Linux and arm64 platforms (WOA and macOS) do not return any capture sources + ifit(process.platform !== 'linux' && process.arch !== 'arm64')('successfully applies the background color', async () => { const WINDOW_BACKGROUND_COLOR = '#55ccbb'; const VIEW_BACKGROUND_COLOR = '#ff00ff'; const display = screen.getPrimaryDisplay();