From 9cf4d861053f5ead76e330ea7ab3f097f4d4e68a Mon Sep 17 00:00:00 2001 From: Rich Tabor Date: Tue, 26 Sep 2023 14:16:50 -0400 Subject: [PATCH 1/2] Standard -> Not synced --- .../edit-site/src/components/page-patterns/patterns-list.js | 2 +- test/e2e/specs/editor/blocks/query.spec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/edit-site/src/components/page-patterns/patterns-list.js b/packages/edit-site/src/components/page-patterns/patterns-list.js index 95e6824c58144a..bbcb7e7910211a 100644 --- a/packages/edit-site/src/components/page-patterns/patterns-list.js +++ b/packages/edit-site/src/components/page-patterns/patterns-list.js @@ -35,7 +35,7 @@ const { useLocation, useHistory } = unlock( routerPrivateApis ); const SYNC_FILTERS = { all: __( 'All' ), [ PATTERN_SYNC_TYPES.full ]: __( 'Synced' ), - [ PATTERN_SYNC_TYPES.unsynced ]: __( 'Standard' ), + [ PATTERN_SYNC_TYPES.unsynced ]: __( 'Not synced' ), }; const SYNC_DESCRIPTIONS = { diff --git a/test/e2e/specs/editor/blocks/query.spec.js b/test/e2e/specs/editor/blocks/query.spec.js index 79b15222630efa..369898ef65f520 100644 --- a/test/e2e/specs/editor/blocks/query.spec.js +++ b/test/e2e/specs/editor/blocks/query.spec.js @@ -39,7 +39,7 @@ test.describe( 'Query block', () => { await page .getByRole( 'dialog', { name: 'Choose a pattern' } ) - .getByRole( 'option', { name: 'Standard' } ) + .getByRole( 'option', { name: 'Not synced' } ) .click(); await expect.poll( editor.getBlocks ).toMatchObject( [ From 4cc867fb35fde91dd3f90b343eac2c9234e70e37 Mon Sep 17 00:00:00 2001 From: Glen Davies Date: Wed, 27 Sep 2023 11:40:50 +1300 Subject: [PATCH 2/2] Fix broken test --- test/e2e/specs/editor/blocks/query.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/specs/editor/blocks/query.spec.js b/test/e2e/specs/editor/blocks/query.spec.js index 369898ef65f520..79b15222630efa 100644 --- a/test/e2e/specs/editor/blocks/query.spec.js +++ b/test/e2e/specs/editor/blocks/query.spec.js @@ -39,7 +39,7 @@ test.describe( 'Query block', () => { await page .getByRole( 'dialog', { name: 'Choose a pattern' } ) - .getByRole( 'option', { name: 'Not synced' } ) + .getByRole( 'option', { name: 'Standard' } ) .click(); await expect.poll( editor.getBlocks ).toMatchObject( [