Skip to content

Commit

Permalink
Fix post editor template mode tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DAreRodz authored and noisysocks committed Jun 23, 2023
1 parent 3028364 commit c0139fe
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ class PostEditorTemplateMode {

async createPostAndSaveDraft() {
await this.admin.createNewPost();
await this.editor.canvas.waitForLoadState();
// Create a random post.
await this.page.keyboard.type( 'Just an FSE Post' );
await this.page.keyboard.press( 'Enter' );
Expand Down

0 comments on commit c0139fe

Please sign in to comment.