Skip to content

Fix e2e test: 'inserts a default block on bottom padding click' #65138

@stokesman

Description

@stokesman

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)

Metadata

Metadata

Assignees

Labels

[Package] E2E Tests/packages/e2e-tests[Status] In ProgressTracking issues with work in progress[Type] Automated TestingTesting infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions