From bf4af7af2f092dec906c68f0196ed6042b605c7d Mon Sep 17 00:00:00 2001 From: Kelly Dwan Date: Wed, 19 May 2021 15:43:34 -0400 Subject: [PATCH] Switch the adding patterns test to a locally-registered pattern --- .../__snapshots__/adding-patterns.test.js.snap | 14 ++++++-------- .../specs/editor/various/adding-patterns.test.js | 2 +- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/packages/e2e-tests/specs/editor/various/__snapshots__/adding-patterns.test.js.snap b/packages/e2e-tests/specs/editor/various/__snapshots__/adding-patterns.test.js.snap index 27ddbf03e863d..0a29d0a3f5783 100644 --- a/packages/e2e-tests/specs/editor/various/__snapshots__/adding-patterns.test.js.snap +++ b/packages/e2e-tests/specs/editor/various/__snapshots__/adding-patterns.test.js.snap @@ -1,13 +1,11 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`adding patterns should insert a block pattern 1`] = ` -" -
- - +" +
-" + + + +" `; diff --git a/packages/e2e-tests/specs/editor/various/adding-patterns.test.js b/packages/e2e-tests/specs/editor/various/adding-patterns.test.js index 1a6fe551e7d37..ba990970286da 100644 --- a/packages/e2e-tests/specs/editor/various/adding-patterns.test.js +++ b/packages/e2e-tests/specs/editor/various/adding-patterns.test.js @@ -15,7 +15,7 @@ describe( 'adding patterns', () => { } ); it( 'should insert a block pattern', async () => { - await insertPattern( 'Two buttons' ); + await insertPattern( 'Social links with a shared background color' ); expect( await getEditedPostContent() ).toMatchSnapshot(); } );