Skip to content

Add regression test for the GB 9.2 empty reusable block issue #26548

Closed
@fullofcaffeine

Description

@fullofcaffeine

What

Add a unit test on GB and or a regression E2E test that makes sure reusable blocks are correctly parsed without throwing errors.

Why

Gutenberg 9.2 introduced a bug that manifested itself when reusable blocks with empty contents (i.e blank strings) were present. It has been fixed here.

To avoid any future regression, a regression unit test and or E2E test should be added to test that this scenario now works without throwing exceptions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] Synced PatternsRelated to synced patterns (formerly reusable blocks)[Type] Automated TestingTesting infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests.[Type] TaskIssues or PRs that have been broken down into an individual action to take

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions