File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
packages/e2e-tests/specs/editor/various Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 99 showBlockToolbar ,
1010 setBrowserViewport ,
1111 waitForWindowDimensions ,
12+ clickBlockAppender ,
1213} from '@wordpress/e2e-test-utils' ;
1314
1415describe ( 'Draggable block' , ( ) => {
@@ -38,7 +39,7 @@ describe( 'Draggable block', () => {
3839 } ) ;
3940
4041 it ( 'can drag and drop to the top of a block list' , async ( ) => {
41- await page . keyboard . press ( 'Enter' ) ;
42+ await clickBlockAppender ( ) ;
4243 await page . keyboard . type ( '1' ) ;
4344 await page . keyboard . press ( 'Enter' ) ;
4445 await page . keyboard . type ( '2' ) ;
@@ -80,7 +81,7 @@ describe( 'Draggable block', () => {
8081 } ) ;
8182
8283 it ( 'can drag and drop to the bottom of a block list' , async ( ) => {
83- await page . keyboard . press ( 'Enter' ) ;
84+ await clickBlockAppender ( ) ;
8485 await page . keyboard . type ( '1' ) ;
8586 await page . keyboard . press ( 'Enter' ) ;
8687 await page . keyboard . type ( '2' ) ;
You can’t perform that action at this time.
0 commit comments