$this->
drupalGet('block/add'
);
$this->
assertSession()->
fieldExists('body[0][value]'
);
// Now we have all configuration imported, test all of them for schema
// conformance. Ensures all imported default configuration is valid when
// standard profile modules are enabled.
$names =
$this->container->
get('config.storage'
)->
listAll();
/** @var \Drupal\Core\Config\TypedConfigManagerInterface $typed_config */
$typed_config =
$this->container->
get('config.typed'
);
foreach ($names as $name) { $config =
$this->
config($name);
$this->
assertConfigSchema($typed_config,
$name,
$config->
get());
} // Validate all configuration.
// @todo Generalize in https://www.drupal.org/project/drupal/issues/2164373
foreach (Editor::
loadMultiple() as $editor) { // Currently only text editors using CKEditor 5 can be validated.
if ($editor->
getEditor() !== 'ckeditor5'
) { continue;
} $this->
assertSame([],
array_map(