Skip to content

Commit

Permalink
Move the Query and PostTitle e2e tests out of the experimental direct…
Browse files Browse the repository at this point in the history
…ory (#31691)
  • Loading branch information
youknowriad authored May 26, 2021
1 parent 87ad8f3 commit ed26a23
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,13 @@
* WordPress dependencies
*/
import {
activateTheme,
createNewPost,
insertBlock,
pressKeyWithModifier,
saveDraft,
} from '@wordpress/e2e-test-utils';

describe( 'Post Title block', () => {
beforeAll( async () => {
await activateTheme( 'tt1-blocks' );
} );

afterAll( async () => {
await activateTheme( 'twentytwentyone' );
} );

beforeEach( async () => {
await createNewPost();
} );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import {
activatePlugin,
deactivatePlugin,
activateTheme,
createNewPost,
insertBlock,
publishPost,
Expand All @@ -19,11 +18,9 @@ const createDemoPosts = async () => {
describe( 'Query block', () => {
beforeAll( async () => {
await activatePlugin( 'gutenberg-test-query-block' );
await activateTheme( 'tt1-blocks' );
await createDemoPosts();
} );
afterAll( async () => {
await activateTheme( 'twentytwentyone' );
await trashAllPosts();
await deactivatePlugin( 'gutenberg-test-query-block' );
} );
Expand Down

0 comments on commit ed26a23

Please sign in to comment.