diff --git a/tests/utils/insert-block-using-slash.ts b/tests/utils/insert-block-using-slash.ts index 11ce7b95fa7..0874695cfde 100644 --- a/tests/utils/insert-block-using-slash.ts +++ b/tests/utils/insert-block-using-slash.ts @@ -2,6 +2,7 @@ * External dependencies */ import { canvas, insertBlock } from '@wordpress/e2e-test-utils'; +import { selectBlockByName } from '@woocommerce/blocks-test-utils'; /** * Internal dependencies @@ -10,6 +11,7 @@ import SELECTORS from './selectors'; export const insertBlockUsingSlash = async ( blockTitle: string ) => { await insertBlock( 'Paragraph' ); + await selectBlockByName( 'core/paragraph' ); await canvas().keyboard.type( `/${ blockTitle }` ); await canvas().waitForSelector( SELECTORS.popover ); await canvas().keyboard.press( 'Enter' );