Problem/Motivation

Test coverage was written for SA-CORE-2026-012, but has not yet been added to core.

Proposed resolution

Add the test coverage.

Remaining tasks

NR.

Issue fork drupal-3633156

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

xjm created an issue. See original summary.

xjm’s picture

Status: Active » Needs review
smustgrave’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: +Needs Review Queue Initiative

Tested by reverting the change from https://git.drupalcode.org/project/drupal/-/commit/436dee4bcbc7781ab6bfe...
Run the test locally I get

Behat\Mink\Exception\ElementNotFoundException: Element matching css ".layout-builder-block__content-preview-placeholder-label" not found.
/var/www/html/vendor/behat/mink/src/WebAssert.php:465
/var/www/html/core/modules/layout_builder/tests/src/FunctionalJavascript/ContentPreviewToggleTest.php:

So believe coverage is there for the issue.

  • catch committed d0b091a6 on 11.5.x
    task: #3633156 Add test coverage for SA-CORE-2026-012
    
    By: xjm
    By:...

  • catch committed cfff8dad on 11.x
    task: #3633156 Add test coverage for SA-CORE-2026-012
    
    By: xjm
    By:...

  • catch committed ee6a26c4 on 12.0.x
    task: #3633156 Add test coverage for SA-CORE-2026-012
    
    By: xjm
    By:...

  • catch committed 6f03727f on main
    task: #3633156 Add test coverage for SA-CORE-2026-012
    
    By: xjm
    By:...
catch’s picture

Version: main » 11.5.x-dev
Status: Reviewed & tested by the community » Fixed

Committed/pushed to main and cherry-picked back through to 11.5.x, thanks!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • xjm committed 7529144d on 11.4.x authored by catch
    task: #3633156 Add test coverage for SA-CORE-2026-012
    
    By: xjm
    By:...
xjm’s picture

Version: 11.5.x-dev » 11.4.x-dev

Cherry-picked to 11.4.x also.