Skip to content

Commit

Permalink
Enable write mode experiment for e2e pattern overrides block editing …
Browse files Browse the repository at this point in the history
…mode tests
  • Loading branch information
talldan committed Nov 26, 2024
1 parent 60b3dfa commit 87a2d67
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/e2e/specs/editor/various/pattern-overrides.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 87a2d67

Please sign in to comment.