diff --git a/packages/edit-site/src/utils/constants.js b/packages/edit-site/src/utils/constants.js index 6acf09182dba99..7d123818043801 100644 --- a/packages/edit-site/src/utils/constants.js +++ b/packages/edit-site/src/utils/constants.js @@ -50,7 +50,7 @@ export const PAGE_CONTENT_BLOCK_TYPES = { export const POST_TYPE_LABELS = { [ TEMPLATE_POST_TYPE ]: __( 'Template' ), - [ TEMPLATE_PART_POST_TYPE ]: __( 'Template Part' ), + [ TEMPLATE_PART_POST_TYPE ]: __( 'Template part' ), [ PATTERN_TYPES.user ]: __( 'Pattern' ), [ NAVIGATION_POST_TYPE ]: __( 'Navigation' ), }; diff --git a/test/e2e/specs/site-editor/writing-flow.spec.js b/test/e2e/specs/site-editor/writing-flow.spec.js index a2e05f0f0a463a..f9681a5ea2d46f 100644 --- a/test/e2e/specs/site-editor/writing-flow.spec.js +++ b/test/e2e/specs/site-editor/writing-flow.spec.js @@ -66,7 +66,7 @@ test.describe( 'Site editor writing flow', () => { // Tab to the inspector, tabbing three times to go past the two resize handles. await pageUtils.pressKeys( 'Tab', { times: 3 } ); const inspectorTemplateTab = page.locator( - 'role=region[name="Editor settings"i] >> role=button[name="Template Part"i]' + 'role=region[name="Editor settings"i] >> role=button[name="Template part"i]' ); await expect( inspectorTemplateTab ).toBeFocused(); } );