$web_assert->
elementExists('css', '[data-drupal-selector="edit-settings-some-setting"]'
);
break;
} if (isset($new_page_text)) { $page->
pressButton($button_text);
// Make sure the changes are present.
$new_page_text_locator = "
$block_selector $label_selector:contains(
$new_page_text)";
$this->
assertElementVisibleAfterWait('css',
$new_page_text_locator);
// The page is loaded with the new change but make sure page is
// completely loaded.
$this->
assertPageLoadComplete();
} $this->
openBlockForm($block_selector);
$this->
disableEditMode();
// Canvas should close when editing module is closed.
$this->
waitForOffCanvasToClose();
$this->
enableEditMode();
// Open block form by clicking an element inside the block.