Skip to content

Commit

Permalink
Don't create new post for each test
Browse files Browse the repository at this point in the history
  • Loading branch information
ockham committed Jan 28, 2021
1 parent 5fd92b5 commit 3a3bb50
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/e2e-tests/specs/editor/blocks/cover.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,8 @@ import {
} from '@wordpress/e2e-test-utils';

describe( 'Cover', () => {
beforeEach( async () => {
await createNewPost();
} );

it( 'can be resized using drag & drop', async () => {
await createNewPost();
await insertBlock( 'Cover' );
// Close the inserter
await page.click( '.edit-post-header-toolbar__inserter-toggle' );
Expand Down

0 comments on commit 3a3bb50

Please sign in to comment.