The test should include an assertion that the default block has focus as that is currently broken on trunk.
Right now it only asserts that the block is inserted:
|
expect( await editor.getBlocks() ).toMatchObject( [ |
|
{ name: 'core/image' }, |
|
{ name: 'core/paragraph' }, |
|
] ); |
Old description from when this was first opened
So it looks like #64639 regressed the click below to add block (there should really have been some e2e tests).
There is one but apparently it doesn’t fail:
|
test( 'inserts a default block on bottom padding click', async ( { |
Originally posted by @stokesman in #64992 (comment)
The test should include an assertion that the default block has focus as that is currently broken on trunk.
Right now it only asserts that the block is inserted:
gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js
Lines 44 to 47 in 559edae
Old description from when this was first opened
There is one but apparently it doesn’t fail:
gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js
Line 29 in 559edae
Originally posted by @stokesman in #64992 (comment)