Skip to content

Commit

Permalink
Add deleteAllTemplates calls back in
Browse files Browse the repository at this point in the history
  • Loading branch information
jeryj committed Dec 6, 2024
1 parent 3318d08 commit 0e05eb3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/e2e/specs/site-editor/site-editor-inserter.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ const { test, expect } = require( '@wordpress/e2e-test-utils-playwright' );
test.describe( 'Site Editor Inserter', () => {
test.beforeAll( async ( { requestUtils } ) => {
// We need the theme to have a section root so zoom out is enabled
await requestUtils.activateTheme( 'twentytwentyfour' );
await Promise.all( [
requestUtils.activateTheme( 'twentytwentyfour' ),
requestUtils.deleteAllTemplates( 'wp_template' ),
requestUtils.deleteAllTemplates( 'wp_template_part' ),
] );
} );

test.afterAll( async ( { requestUtils } ) => {
Expand Down

0 comments on commit 0e05eb3

Please sign in to comment.