File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import {
10
10
createNewPost ,
11
11
getEditedPostContent ,
12
12
visitAdminPage ,
13
+ canvas ,
13
14
} from '@wordpress/e2e-test-utils' ;
14
15
15
16
const page = global . page ;
@@ -79,8 +80,8 @@ describe( 'Editor', () => {
79
80
it ( 'input by Emmet should be expanded on block editor' , async ( ) => {
80
81
await createNewPost ( ) ;
81
82
await insertBlock ( 'Custom HTML' ) ;
82
- await page . waitForSelector ( '[data-type="core/html"] .monaco-editor' ) ;
83
- await page . click ( '[data-type="core/html"] .monaco-editor' ) ;
83
+ await canvas ( ) . waitForSelector ( '[data-type="core/html"] .monaco-editor' ) ;
84
+ await canvas ( ) . click ( '[data-type="core/html"] .monaco-editor' ) ;
84
85
await page . keyboard . type ( 'ul.list>li.item*5' ) ;
85
86
await page . keyboard . down ( 'Tab' ) ;
86
87
expect ( await getEditedPostContent ( ) ) . toMatchSnapshot ( ) ;
You can’t perform that action at this time.
0 commit comments