From 0df9e7112fa43ae1bdc020408d8502961506e386 Mon Sep 17 00:00:00 2001 From: tellthemachines Date: Tue, 5 Nov 2024 16:46:16 +1100 Subject: [PATCH] Fix e2e tests --- packages/edit-site/src/components/style-book/examples.tsx | 4 ++-- test/e2e/specs/site-editor/style-book.spec.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/edit-site/src/components/style-book/examples.tsx b/packages/edit-site/src/components/style-book/examples.tsx index fdd00e7aba3e9..5bcecb717e06e 100644 --- a/packages/edit-site/src/components/style-book/examples.tsx +++ b/packages/edit-site/src/components/style-book/examples.tsx @@ -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{(...)},?!*&:;_@#$`, @@ -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, diff --git a/test/e2e/specs/site-editor/style-book.spec.js b/test/e2e/specs/site-editor/style-book.spec.js index c94049872edcf..2b88a7eac11aa 100644 --- a/test/e2e/specs/site-editor/style-book.spec.js +++ b/test/e2e/specs/site-editor/style-book.spec.js @@ -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();