Skip to content

Commit

Permalink
Update template preview menu item text in summary panel (#57802)
Browse files Browse the repository at this point in the history
Co-authored-by: carolinan <[email protected]>
Co-authored-by: juanfra <[email protected]>
Co-authored-by: richtabor <[email protected]>
  • Loading branch information
4 people authored Apr 30, 2024
1 parent 85f774a commit 6a0527a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export default function BlockThemeControl( { id } ) {
);
} }
>
{ __( 'Template preview' ) }
{ __( 'Show template' ) }
</MenuItem>
</MenuGroup>
</>
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/specs/site-editor/pages.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ test.describe( 'Pages', () => {
await templateOptionsButton.click();
const templatePreviewButton = page
.getByRole( 'menu', { name: 'Template options' } )
.getByRole( 'menuitemcheckbox', { name: 'Template preview' } );
.getByRole( 'menuitemcheckbox', { name: 'Show template' } );

await expect( templatePreviewButton ).toHaveAttribute(
'aria-checked',
Expand Down

0 comments on commit 6a0527a

Please sign in to comment.