diff --git a/test/e2e/specs/editor/various/pattern-overrides.spec.js b/test/e2e/specs/editor/various/pattern-overrides.spec.js index a67d5a75a31ff..20eff4096cb1c 100644 --- a/test/e2e/specs/editor/various/pattern-overrides.spec.js +++ b/test/e2e/specs/editor/various/pattern-overrides.spec.js @@ -227,6 +227,12 @@ test.describe( 'Pattern Overrides', () => { } ); test.describe( 'block editing modes', () => { + test.beforeEach( async ( { page } ) => { + await page.addInitScript( () => { + window.__experimentalEditorWriteMode = true; + } ); + } ); + test( 'blocks with bindings in a synced pattern are editable, and all other blocks are disabled', async ( { admin, editor,