-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Labels
Good First IssueAn issue that's suitable for someone looking to contribute for the first timeAn issue that's suitable for someone looking to contribute for the first timeNeeds DevReady for, and needs developer effortsReady for, and needs developer efforts[Feature] InserterThe main way to insert blocks using the + button in the editing interfaceThe main way to insert blocks using the + button in the editing interface[Feature] Synced PatternsRelated to synced patterns (formerly reusable blocks)Related to synced patterns (formerly reusable blocks)[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] Automated TestingTesting infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests.Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests.
Milestone
Description
To avoid repeated regressions, we should include an end-to-end test for inserting a reusable block by Inserter in a fresh editor page. See #9962 (comment) .
Original Regression:
Describe the bug
Reusable blocks are not shown in the Inserter.
To Reproduce
- (Prerequisite) Create a reusable block in a Gutenberg editor session
- Create a new post
- Try to insert the reusable block (either one preexisting, or the one created in Step 1) using the Inserter.
- Observe that the reusable block is not shown in the inserter.
Expected behavior
Reusable block is both shown and searchable.
Additional context
Slack mentions:
- https://wordpress.slack.com/archives/C02QB2JS7/p1537090223000100
- https://wordpress.slack.com/archives/C02QB2JS7/p1537090223000100
From @youknowriad:
I think we do have an e2e test, what's missing is an e2e test inserting a reusable block after refreshing the page.
Metadata
Metadata
Assignees
Labels
Good First IssueAn issue that's suitable for someone looking to contribute for the first timeAn issue that's suitable for someone looking to contribute for the first timeNeeds DevReady for, and needs developer effortsReady for, and needs developer efforts[Feature] InserterThe main way to insert blocks using the + button in the editing interfaceThe main way to insert blocks using the + button in the editing interface[Feature] Synced PatternsRelated to synced patterns (formerly reusable blocks)Related to synced patterns (formerly reusable blocks)[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] Automated TestingTesting infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests.Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests.