Skip to content

Commit

Permalink
[Site Editor]: Update copy of using the default template in a page (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ntsekouras authored and mikachan committed Oct 2, 2023
1 parent 7525413 commit 614f768
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 @@ -37,7 +37,7 @@ export default function ResetDefaultTemplate( { onClick } ) {
} );
} }
>
{ __( 'Reset' ) }
{ __( 'Use default 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 @@ -190,7 +190,7 @@ test.describe( 'Pages', () => {
await templateOptionsButton.click();
const resetButton = page
.getByRole( 'menu', { name: 'Template options' } )
.getByText( 'Reset' );
.getByText( 'Use default template' );
await expect( resetButton ).toBeVisible();
await resetButton.click();
await expect( templateOptionsButton ).toHaveText( 'Single Entries' );
Expand Down

0 comments on commit 614f768

Please sign in to comment.