Skip to content

Commit

Permalink
Skip inserting tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Jun 1, 2023
1 parent d2f3476 commit afac048
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion test/e2e/specs/editor/various/inserting-blocks.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,16 @@ test.use( {
} );

test.describe( 'Inserting blocks (@firefox, @webkit)', () => {
test.beforeEach( async ( { admin } ) => {
test.beforeEach( async ( { admin, page } ) => {
await admin.createNewPost();
// To do: some drag an drop tests are failing, so run them without
// iframe for now.
await page.evaluate( () => {
window.wp.blocks.registerBlockType( 'test/v2', {
apiVersion: '2',
title: 'test',
} );
} );
} );

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

0 comments on commit afac048

Please sign in to comment.