'.block-field-blocknodebundle-with-section-fieldbody',
];
$this->
markTestSkipped("Skipped temporarily for random fails."
);
$this->
assertRegionBlocksOrder(0, 'content',
$expected_block_order);
// Add a top section using the Two column layout.
$page->
clickLink('Add section'
);
$assert_session->
waitForElementVisible('css', '#drupal-off-canvas'
);
$assert_session->
assertWaitOnAjaxRequest();
$page->
clickLink('Two column'
);
$assert_session->
assertWaitOnAjaxRequest();
$this->
assertNotEmpty($assert_session->
waitForElementVisible('css', 'input[value="Add section"]'
));
$page->
pressButton('Add section'
);
$this->
assertRegionBlocksOrder(1, 'content',
$expected_block_order);
// Add a 'Powered by Drupal' block in the 'first' region of the new section.
$first_region_block_locator = '[data-layout-delta="0"].layout--twocol-section [data-region="first"] [data-layout-block-uuid]';
$assert_session->
elementNotExists('css',
$first_region_block_locator);
$assert_session->
elementExists('css', '[data-layout-delta="0"].layout--twocol-section [data-region="first"] .layout-builder__add-block'
)->
click();
$this->
assertNotEmpty($assert_session->
waitForElementVisible('css', '#drupal-off-canvas a:contains("Powered by Drupal")'
));
$assert_session->
assertWaitOnAjaxRequest();
$page->
clickLink('Powered by Drupal'
);
$this->
assertNotEmpty($assert_session->
waitForElementVisible('css', 'input[value="Add block"]'
));