Skip to content

Commit

Permalink
Fix e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tellthemachines committed Nov 5, 2024
1 parent 9af9cc9 commit 0df9e71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/edit-site/src/components/style-book/examples.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function getLandingBlockExamples(
// (duplicate for now)
const headingsExample = {
name: 'core/heading',
title: __( 'Headings' ),
title: __( 'Heading' ),
category: 'landing',
blocks: createBlock( 'core/heading', {
content: `AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz0123456789{(...)},?!*&:;_@#$`,
Expand All @@ -107,7 +107,7 @@ function getLandingBlockExamples(

const paragraphExample = {
name: 'core/paragraph',
title: __( 'Paragraphs' ),
title: __( 'Paragraph' ),
category: 'landing',
blocks: createBlock( 'core/paragraph', {
content: `There was an Old Man of Vienna,
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/specs/site-editor/style-book.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ test.describe( 'Style Book', () => {
await page
.frameLocator( '[name="style-book-canvas"]' )
.getByRole( 'button', {
name: 'Open Quote styles in Styles panel',
name: 'Open Pullquote styles in Styles panel',
} )
.click();

Expand Down

0 comments on commit 0df9e71

Please sign in to comment.