Loading core/modules/ckeditor5/tests/src/Nightwatch/Tests/ckEditor5CodeSyntaxTest.js +2 −1 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ module.exports = { '@tags': ['core', 'ckeditor5'], before(browser) { browser.drupalInstall({ installProfile: 'minimal' }); browser.drupalInstall({ installProfile: 'testing' }); }, after(browser) { browser.drupalUninstall(); Loading @@ -14,6 +14,7 @@ module.exports = { // Enable required modules. .drupalRelativeURL('/admin/modules') .click('[name="modules[ckeditor5][enable]"]') .click('[name="modules[node][enable]"]') .click('[name="modules[field_ui][enable]"]') .submitForm('input[type="submit"]') // Submit module form. .waitForElementVisible( Loading core/modules/ckeditor5/tests/src/Nightwatch/Tests/ckEditor5EditorHeightTest.js +3 −2 Original line number Diff line number Diff line Loading @@ -4,9 +4,10 @@ module.exports = { '@tags': ['core', 'ckeditor5'], before(browser) { browser .drupalInstall({ installProfile: 'minimal' }) .drupalInstall({ installProfile: 'testing' }) .drupalInstallModule('ckeditor5', true) .drupalInstallModule('field_ui'); .drupalInstallModule('field_ui') .drupalInstallModule('node', true); // Set fixed (desktop-ish) size to ensure a maximum viewport. browser.resizeWindow(1920, 1080); Loading core/modules/node/src/NodeTypeForm.php +3 −1 Original line number Diff line number Diff line Loading @@ -235,7 +235,9 @@ public function save(array $form, FormStateInterface $form_state) { $this->messenger()->addStatus($this->t('The content type %name has been updated.', $t_args)); } elseif ($status == SAVED_NEW) { if (\Drupal::installProfile() === 'testing') { node_add_body_field($type); } $this->messenger()->addStatus($this->t('The content type %name has been added.', $t_args)); $context = array_merge($t_args, ['link' => $type->toLink($this->t('View'), 'collection')->toString()]); $this->logger('node')->notice('Added content type %name.', $context); Loading Loading
core/modules/ckeditor5/tests/src/Nightwatch/Tests/ckEditor5CodeSyntaxTest.js +2 −1 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ module.exports = { '@tags': ['core', 'ckeditor5'], before(browser) { browser.drupalInstall({ installProfile: 'minimal' }); browser.drupalInstall({ installProfile: 'testing' }); }, after(browser) { browser.drupalUninstall(); Loading @@ -14,6 +14,7 @@ module.exports = { // Enable required modules. .drupalRelativeURL('/admin/modules') .click('[name="modules[ckeditor5][enable]"]') .click('[name="modules[node][enable]"]') .click('[name="modules[field_ui][enable]"]') .submitForm('input[type="submit"]') // Submit module form. .waitForElementVisible( Loading
core/modules/ckeditor5/tests/src/Nightwatch/Tests/ckEditor5EditorHeightTest.js +3 −2 Original line number Diff line number Diff line Loading @@ -4,9 +4,10 @@ module.exports = { '@tags': ['core', 'ckeditor5'], before(browser) { browser .drupalInstall({ installProfile: 'minimal' }) .drupalInstall({ installProfile: 'testing' }) .drupalInstallModule('ckeditor5', true) .drupalInstallModule('field_ui'); .drupalInstallModule('field_ui') .drupalInstallModule('node', true); // Set fixed (desktop-ish) size to ensure a maximum viewport. browser.resizeWindow(1920, 1080); Loading
core/modules/node/src/NodeTypeForm.php +3 −1 Original line number Diff line number Diff line Loading @@ -235,7 +235,9 @@ public function save(array $form, FormStateInterface $form_state) { $this->messenger()->addStatus($this->t('The content type %name has been updated.', $t_args)); } elseif ($status == SAVED_NEW) { if (\Drupal::installProfile() === 'testing') { node_add_body_field($type); } $this->messenger()->addStatus($this->t('The content type %name has been added.', $t_args)); $context = array_merge($t_args, ['link' => $type->toLink($this->t('View'), 'collection')->toString()]); $this->logger('node')->notice('Added content type %name.', $context); Loading