mirror of
https://github.com/electron/electron.git
synced 2026-02-07 05:35:02 -05:00
test: disable flaky arm tests (#26046)
* tests: disable flaking test on all arm platforms * tests: disable flaky did-change-theme-color tests on WOA
This commit is contained in:
committed by
GitHub
parent
c6a6f53c8d
commit
4ce7ca6cfb
@@ -7,6 +7,7 @@ import { v4 } from 'uuid';
|
||||
import { AddressInfo } from 'net';
|
||||
import { closeWindow } from './window-helpers';
|
||||
import { emittedOnce, emittedNTimes } from './events-helpers';
|
||||
import { ifdescribe } from './spec-helpers';
|
||||
|
||||
const partition = 'service-workers-spec';
|
||||
const uuid = v4();
|
||||
@@ -65,7 +66,8 @@ describe('session.serviceWorkers', () => {
|
||||
});
|
||||
});
|
||||
|
||||
describe('getFromVersionID()', () => {
|
||||
// TODO (jkleinsc) - reenable this test once https://github.com/electron/electron/issues/26043 is resolved
|
||||
ifdescribe(!process.arch.includes('arm'))('getFromVersionID()', () => {
|
||||
it('should report the correct script url and scope', async () => {
|
||||
const eventInfo = await emittedOnce(ses.serviceWorkers, 'console-message', () => w.loadURL(`${baseUrl}/index.html`));
|
||||
const details: Electron.MessageDetails = eventInfo[1];
|
||||
|
||||
@@ -1375,7 +1375,8 @@ describe('webContents module', () => {
|
||||
}
|
||||
});
|
||||
|
||||
describe('did-change-theme-color event', () => {
|
||||
// TODO (jkleinsc) - reenable this test on WOA once https://github.com/electron/electron/issues/26045 is resolved
|
||||
ifdescribe(process.platform !== 'win32' || process.arch !== 'arm64')('did-change-theme-color event', () => {
|
||||
afterEach(closeAllWindows);
|
||||
it('is triggered with correct theme color', (done) => {
|
||||
const w = new BrowserWindow({ show: true });
|
||||
|
||||
Reference in New Issue
Block a user