Skip to content

Commit

Permalink
Fix error in templates.test after React 17 upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
ceyhun authored and youknowriad committed Jun 10, 2021
1 parent 9d69bd7 commit d3198a1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/e2e-tests/specs/editor/plugins/templates.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@ describe( 'templates', () => {
await page.reload();
await page.waitForSelector( '.edit-post-layout' );

// Wait a bit more for getEditedPostContent to be correct
await page.waitForSelector(
'.block-editor-default-block-appender__content'
);

expect( await getEditedPostContent() ).toMatchSnapshot();
} );

Expand Down

0 comments on commit d3198a1

Please sign in to comment.