Block Hooks: Add end-to-end (e2e) test coverage. #68986
Labels
[Feature] Block hooks
[Package] E2E Tests
/packages/e2e-tests
[Type] Automated Testing
Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests.
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.
The text was updated successfully, but these errors were encountered: