Repository: electron/electron (language: cpp)

Issue:
flake: <webview> tag loads devtools extensions registered on the parent window 
> <webview> tag loads devtools extensions registered on the parent window 

has been commonly flaking on WOA recently:
- https://github.com/electron/electron/pull/32441/checks?check_run_id=4795823418
- https://github.com/electron/electron/pull/32442/checks?check_run_id=4797509771

cc @jkleinsc 


Discussion / hints:
This has been flaky for a while
https://github.visualstudio.com/electron/_test/analytics?definitionId=48&contextType=build.

I'm going to skip this test on WOA

Fix patch:
diff --git a/spec-main/webview-spec.ts b/spec-main/webview-spec.ts
index bcb05b7206904..c6cd59bde06fa 100644
--- a/spec-main/webview-spec.ts
+++ b/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: {


Test patch: