diff --git a/test/e2e/specs/site-editor/zoom-out.spec.js b/test/e2e/specs/site-editor/zoom-out.spec.js index 2aabee07d1878..464bd4a4a4efa 100644 --- a/test/e2e/specs/site-editor/zoom-out.spec.js +++ b/test/e2e/specs/site-editor/zoom-out.spec.js @@ -12,9 +12,12 @@ test.describe( 'Zoom Out', () => { await requestUtils.activateTheme( 'twentytwentyone' ); } ); - test.beforeEach( async ( { admin, editor } ) => { - await admin.visitSiteEditor(); - await editor.canvas.locator( 'body' ).click(); + test.beforeEach( async ( { admin } ) => { + await admin.visitSiteEditor( { + postId: 'twentytwentyfour//index', + postType: 'wp_template', + canvas: 'edit', + } ); } ); test( 'Entering zoomed out mode zooms the canvas', async ( {