Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ntsekouras committed Jun 27, 2023
1 parent fdbc238 commit 6a469cb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ describe( 'Post Comments Form', () => {
);
await expect( page ).toClick(
'.edit-site-sidebar-navigation-item',
{ text: /singular/i }
{ text: /single entries/i }
);
await enterEditMode();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ describe( 'Settings sidebar', () => {
'Used as a fallback template for all pages when a more specific template is not defined.',
} );
expect( templateCardAfterNavigation ).toMatchObject( {
title: 'Singular',
title: 'Single Entries',
description:
'Displays any single entry, such as a post or a page. This template will serve as a fallback when a more specific template (e.g., Single Post, Page, or Attachment) cannot be found.',
} );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ class PostEditorTemplateMode {

await expect(
this.editorTopBar.getByRole( 'heading[level=1]' )
).toHaveText( 'Editing template: Singular' );
).toHaveText( 'Editing template: Single Entries' );
}

async createPostAndSaveDraft() {
Expand Down

0 comments on commit 6a469cb

Please sign in to comment.