Commit 8d8e9df 1 parent ea341ab commit 8d8e9df Copy full SHA for 8d8e9df
File tree 1 file changed +2
-2
lines changed
test/e2e/specs/editor/blocks
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ test.describe( 'List', () => {
221
221
await page . keyboard . press ( 'Enter' ) ;
222
222
await page . keyboard . type ( 'two' ) ;
223
223
await page . keyboard . down ( 'Shift' ) ;
224
- await page . click ( '[data-type="core/paragraph"]:first-of-type ' ) ;
224
+ await page . click ( '[data-type="core/paragraph"] >> nth=0 ' ) ;
225
225
await page . keyboard . up ( 'Shift' ) ;
226
226
await editor . transformBlockTo ( 'core/list' ) ;
227
227
@@ -262,7 +262,7 @@ test.describe( 'List', () => {
262
262
await page . keyboard . press ( 'Enter' ) ;
263
263
await page . keyboard . type ( 'two' ) ;
264
264
await page . keyboard . down ( 'Shift' ) ;
265
- await page . click ( '[data-type="core/paragraph"]:first-of-type ' ) ;
265
+ await page . click ( '[data-type="core/paragraph"] >> nth=0 ' ) ;
266
266
await page . keyboard . up ( 'Shift' ) ;
267
267
await editor . transformBlockTo ( 'core/list' ) ;
268
268
You can’t perform that action at this time.
0 commit comments