Browse Source

test: disable flaky test on WOA (#32559)

Co-authored-by: John Kleinschmidt <[email protected]>
trop[bot] 3 years ago
parent
commit
16bf1edc77
1 changed files with 2 additions and 1 deletions
  1. 2 1
      spec-main/webview-spec.ts

+ 2 - 1
spec-main/webview-spec.ts

@@ -227,7 +227,8 @@ describe('<webview> tag', function () {
     });
   });
 
-  it('loads devtools extensions registered on the parent window', async () => {
+  // This test is flaky on WOA, so skip it there.
+  ifit(process.platform !== 'win32' || process.arch !== 'arm64')('loads devtools extensions registered on the parent window', async () => {
     const w = new BrowserWindow({
       show: false,
       webPreferences: {