Problem/Motivation

Tests started failing on 9.5.x and 10.0.x like this:

1) Drupal\Tests\layout_bg\FunctionalJavascript\LayoutBgUiTest::testLayoutBuilderUi
Invalid permission administer node display.

/var/www/html/core/modules/user/tests/src/Traits/UserCreationTrait.php:306
/var/www/html/core/modules/user/tests/src/Traits/UserCreationTrait.php:261
/var/www/html/core/modules/user/tests/src/Traits/UserCreationTrait.php:164
/var/www/html/modules/contrib/layout_bg/tests/src/FunctionalJavascript/LayoutBgUiTest.php:42
/var/www/html/vendor/phpunit/phpunit/src/Framework/TestResult.php:726

Some sleuthing led me to this issue that was just committed: #2935999: Remove Layout Builder's hard dependency on Field UI

Proposed resolution

Either remove the permissions from the test (if they are not needed) or explicitly enable field_ui if there's something important being tested related to field_ui or those permissions.

Comments

danflanagan8 created an issue. See original summary.

danflanagan8’s picture

StatusFileSize
new500 bytes
danflanagan8’s picture

StatusFileSize
new392 bytes

I don't want to deal with enabling overrides, so let's just enable field_ui.

  • danflanagan8 committed e6e5ebd on 8.x-1.x
    Issue #3304857 by danflanagan8: Layout BG test broken now that field_ui...
danflanagan8’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.