Skip to content

Commit

Permalink
Try to run e2e tests with the post editor in full screen mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
afercia committed Feb 24, 2025
1 parent b06588e commit 90878da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ export async function createNewPost(

await this.editor.setPreferences( 'core/edit-post', {
welcomeGuide: options.showWelcomeGuide ?? false,
fullscreenMode: options.fullscreenMode ?? false,
fullscreenMode: options.fullscreenMode ?? true,
} );
}
2 changes: 1 addition & 1 deletion packages/e2e-test-utils-playwright/src/admin/edit-post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ export async function editPost( this: Admin, postId: string | number ) {

await this.editor.setPreferences( 'core/edit-post', {
welcomeGuide: false,
fullscreenMode: false,
fullscreenMode: true,
} );
}

0 comments on commit 90878da

Please sign in to comment.