Skip to content

Block Hooks: Add end-to-end (e2e) test coverage. #68986

@ockham

Description

@ockham

As @gziolo said in #68926 (review), it is becoming more tedious to test Block Hooks manually, specifically that hooked blocks are inserted in different contexts. Additionally, there are plenty of edge cases, e.g. insertion as first or last child into special blocks like the Post Content, Synced Pattern, or Navigation block. These cases are covered by testing instructions in #67272 (Post Content), #68058 (Synced Pattern), and #57754 (Navigation), respectively, but they involve a lot of manual work.

Instead, we should write e2e tests to cover those cases.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions