diff --git a/core/modules/layout_builder/tests/src/Functional/LayoutBuilderTest.php b/core/modules/layout_builder/tests/src/Functional/LayoutBuilderTest.php index ece653c94e..d3b6eb1b68 100644 --- a/core/modules/layout_builder/tests/src/Functional/LayoutBuilderTest.php +++ b/core/modules/layout_builder/tests/src/Functional/LayoutBuilderTest.php @@ -584,12 +584,12 @@ public function testConcurrentEditing() { $this->drupalPostForm('admin/structure/types/manage/bundle_with_section_field/display/default', ['layout[enabled]' => TRUE], 'Save'); $this->drupalGet('admin/structure/types/manage/bundle_with_section_field/display/default/layout'); - $assert_session->elementsCount('css', '.layout-builder--layout', 1); + $assert_session->elementsCount('css', '.layout-builder__layout', 1); $assert_session->elementNotExists('css', '.layout--twocol-section'); $page->clickLink('Add Section'); $page->clickLink('Two column'); $page->pressButton('Add section'); - $assert_session->elementsCount('css', '.layout-builder--layout', 2); + $assert_session->elementsCount('css', '.layout-builder__layout', 2); $assert_session->elementExists('css', '.layout--twocol-section'); $assert_session->pageTextContains('You have unsaved changes.'); $assert_session->buttonExists('Save layout'); @@ -597,7 +597,7 @@ public function testConcurrentEditing() { $this->drupalLogin($user2); $this->drupalGet('admin/structure/types/manage/bundle_with_section_field/display/default/layout'); - $assert_session->elementsCount('css', '.layout-builder--layout', 0); + $assert_session->elementsCount('css', '.layout-builder__layout', 0); $assert_session->pageTextContains(sprintf('This layout is being edited by user %s, and is therefore locked from editing by others.', $user1->getDisplayName())); $assert_session->pageTextNotContains('You have unsaved changes.'); $assert_session->buttonNotExists('Save layout'); @@ -605,7 +605,7 @@ public function testConcurrentEditing() { $page->clickLink('break this lock'); $page->pressButton('Confirm'); - $assert_session->elementsCount('css', '.layout-builder--layout', 1); + $assert_session->elementsCount('css', '.layout-builder__layout', 1); $assert_session->elementNotExists('css', '.layout--twocol-section'); $assert_session->pageTextNotContains(sprintf('This layout is being edited by user %s, and is therefore locked from editing by others.', $user1->getDisplayName())); $assert_session->pageTextNotContains('You have unsaved changes.');