[random test failure] LayoutSectionTest::testLayoutSectionFormatterAcces

Created on 27 December 2024, 25 days ago

Problem/Motivation

Drupal\Tests\layout_builder\Functional\LayoutSectionTest::testLayoutSectionFormatterAccess
Behat\Mink\Exception\ResponseTextException: The text "Hello test world" was not found anywhere in the text of the current page.

vendor/behat/mink/src/WebAssert.php:907
vendor/behat/mink/src/WebAssert.php:293
core/tests/Drupal/Tests/WebAssert.php:979
core/modules/layout_builder/tests/src/Functional/LayoutSectionTest.php:312
core/modules/layout_builder/tests/src/Functional/LayoutSectionTest.php:210

Example: https://git.drupalcode.org/issue/drupal-3496195/-/pipelines/379663

Steps to reproduce

Proposed resolution

Replace use of:

  • \Drupal::state()->set('test_block_access', ...
  • \Drupal::state()->get('test_block_access', ...)

with

  • \Drupal::keyvalue('block_test')->set('access', ...
  • \Drupal::keyvalue('block_test')->get('access', ...)

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Active

Version

11.0 πŸ”₯

Component

phpunit

Created by

πŸ‡³πŸ‡±Netherlands spokje

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024