From 66c3afcaa603dd13ea3d075e4ff2fce24da8bcaf Mon Sep 17 00:00:00 2001 From: Andrew Serong <14988353+andrewserong@users.noreply.github.com> Date: Fri, 20 Feb 2026 16:32:44 +1100 Subject: [PATCH 1/3] Temporarily skip cross origin isolation e2e tests --- test/e2e/specs/editor/various/cross-origin-isolation.spec.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/e2e/specs/editor/various/cross-origin-isolation.spec.js b/test/e2e/specs/editor/various/cross-origin-isolation.spec.js index 77480feedccdc1..93baca114212ad 100644 --- a/test/e2e/specs/editor/various/cross-origin-isolation.spec.js +++ b/test/e2e/specs/editor/various/cross-origin-isolation.spec.js @@ -35,7 +35,10 @@ test.use( { }, } ); -test.describe( 'Cross-origin isolation', () => { +// Client-side media processing (and cross-origin isolation) is temporarily +// disabled in the Gutenberg plugin. Skip until re-enabled. +// See https://github.com/WordPress/gutenberg/pull/75756 +test.describe.skip( 'Cross-origin isolation', () => { test.beforeEach( async ( { admin } ) => { await admin.createNewPost(); } ); From 00e01dd6f00596b115c6f05ad766c2fe7bf2d2b2 Mon Sep 17 00:00:00 2001 From: Andrew Serong <14988353+andrewserong@users.noreply.github.com> Date: Fri, 20 Feb 2026 16:38:35 +1100 Subject: [PATCH 2/3] Try enabling the client side media processing experiment for this e2e suite instead, that way we can continue testing that the feature works --- .../enable-client-side-media-processing.php | 10 +++++++ .../various/cross-origin-isolation.spec.js | 28 ++++++++++++++----- 2 files changed, 31 insertions(+), 7 deletions(-) create mode 100644 packages/e2e-tests/plugins/enable-client-side-media-processing.php diff --git a/packages/e2e-tests/plugins/enable-client-side-media-processing.php b/packages/e2e-tests/plugins/enable-client-side-media-processing.php new file mode 100644 index 00000000000000..32105dbdbaa4c2 --- /dev/null +++ b/packages/e2e-tests/plugins/enable-client-side-media-processing.php @@ -0,0 +1,10 @@ + { +test.describe( 'Cross-origin isolation', () => { + test.beforeAll( async ( { requestUtils } ) => { + // Client-side media processing (and cross-origin isolation) is + // temporarily disabled in the Gutenberg plugin. + // See https://github.com/WordPress/gutenberg/pull/75756 + await requestUtils.activatePlugin( + 'gutenberg-test-plugin-enable-client-side-media-processing' + ); + } ); + + test.afterAll( async ( { requestUtils } ) => { + await requestUtils.deactivatePlugin( + 'gutenberg-test-plugin-enable-client-side-media-processing' + ); + } ); + test.beforeEach( async ( { admin } ) => { await admin.createNewPost(); } ); - test( 'should be cross-origin isolated by default', async ( { page } ) => { - // Verify that cross-origin isolation IS enabled (default state - // now that client-side media processing is graduated). + test( 'should be cross-origin isolated when client-side media processing is enabled', async ( { + page, + } ) => { + // Verify that cross-origin isolation IS enabled when + // client-side media processing is active. const isCrossOriginIsolated = await page.evaluate( () => window.crossOriginIsolated ); From 753caed7b93938a2e79865109a2bae22a4e9fd8b Mon Sep 17 00:00:00 2001 From: Andrew Serong <14988353+andrewserong@users.noreply.github.com> Date: Fri, 20 Feb 2026 17:12:09 +1100 Subject: [PATCH 3/3] Skip cross-origin isolation suite instead --- .../enable-client-side-media-processing.php | 10 ------- .../various/cross-origin-isolation.spec.js | 28 +++++-------------- 2 files changed, 7 insertions(+), 31 deletions(-) delete mode 100644 packages/e2e-tests/plugins/enable-client-side-media-processing.php diff --git a/packages/e2e-tests/plugins/enable-client-side-media-processing.php b/packages/e2e-tests/plugins/enable-client-side-media-processing.php deleted file mode 100644 index 32105dbdbaa4c2..00000000000000 --- a/packages/e2e-tests/plugins/enable-client-side-media-processing.php +++ /dev/null @@ -1,10 +0,0 @@ - { - test.beforeAll( async ( { requestUtils } ) => { - // Client-side media processing (and cross-origin isolation) is - // temporarily disabled in the Gutenberg plugin. - // See https://github.com/WordPress/gutenberg/pull/75756 - await requestUtils.activatePlugin( - 'gutenberg-test-plugin-enable-client-side-media-processing' - ); - } ); - - test.afterAll( async ( { requestUtils } ) => { - await requestUtils.deactivatePlugin( - 'gutenberg-test-plugin-enable-client-side-media-processing' - ); - } ); - +// Client-side media processing (and cross-origin isolation) is temporarily +// disabled in the Gutenberg plugin. Skip until re-enabled. +// See https://github.com/WordPress/gutenberg/pull/75756 +test.describe.skip( 'Cross-origin isolation', () => { test.beforeEach( async ( { admin } ) => { await admin.createNewPost(); } ); - test( 'should be cross-origin isolated when client-side media processing is enabled', async ( { - page, - } ) => { - // Verify that cross-origin isolation IS enabled when - // client-side media processing is active. + test( 'should be cross-origin isolated by default', async ( { page } ) => { + // Verify that cross-origin isolation IS enabled (default state + // now that client-side media processing is graduated). const isCrossOriginIsolated = await page.evaluate( () => window.crossOriginIsolated );