// Ensure the dragged block is still in the correct position after save.
$page->pressButton('Save layout'); $assert_session->elementExists('css', '.layout__region--second .block-system-powered-by-block'); $assert_session->elementTextContains('css', '.layout__region--second', 'Powered by Drupal');
// Reconfigure a block and ensure that the layout content is updated.
$this->drupalGet($layout_url); $this->markCurrentPage();