diff --git a/packages/edit-post/src/components/preferences-modal/index.js b/packages/edit-post/src/components/preferences-modal/index.js index 0e2f95c5e79b6..2572c08fd7cf0 100644 --- a/packages/edit-post/src/components/preferences-modal/index.js +++ b/packages/edit-post/src/components/preferences-modal/index.js @@ -101,6 +101,7 @@ export default function EditPostPreferencesModal() { ) } { diff --git a/test/e2e/specs/editor/various/block-renaming.spec.js b/test/e2e/specs/editor/various/block-renaming.spec.js index 19a2818fd3a41..a106d794e2e60 100644 --- a/test/e2e/specs/editor/various/block-renaming.spec.js +++ b/test/e2e/specs/editor/various/block-renaming.spec.js @@ -37,7 +37,7 @@ test.describe( 'Block Renaming', () => { pageUtils, } ) => { // Turn on block list view by default. - await editor.setPreferences( 'core/edit-site', { + await editor.setPreferences( 'core', { showListViewByDefault: true, } ); diff --git a/test/e2e/specs/site-editor/list-view.spec.js b/test/e2e/specs/site-editor/list-view.spec.js index 36224d5c90856..9b7a1c17a9ce1 100644 --- a/test/e2e/specs/site-editor/list-view.spec.js +++ b/test/e2e/specs/site-editor/list-view.spec.js @@ -30,7 +30,7 @@ test.describe( 'Site Editor List View', () => { ).toBeHidden(); // Turn on block list view by default. - await editor.setPreferences( 'core/edit-site', { + await editor.setPreferences( 'core', { showListViewByDefault: true, } ); @@ -41,7 +41,7 @@ test.describe( 'Site Editor List View', () => { ).toBeVisible(); // The preferences cleanup. - await editor.setPreferences( 'core/edit-site', { + await editor.setPreferences( 'core', { showListViewByDefault: false, } ); } );