core/drupalci.yml | 10 ++-- .../src/FunctionalJavascript/SourceEditingTest.php | 58 ++++++++++++++++++++-- core/package.json | 2 +- 3 files changed, 61 insertions(+), 9 deletions(-) diff --git a/core/drupalci.yml b/core/drupalci.yml index 94aa2ad22f..6b4e9a767b 100644 --- a/core/drupalci.yml +++ b/core/drupalci.yml @@ -15,30 +15,30 @@ build: # deprecated code. run_tests.phpunit: types: 'PHPUnit-Unit' - testgroups: '--all' + testgroups: '--module ckeditor5' suppress-deprecations: false halt-on-fail: false run_tests.kernel: types: 'PHPUnit-Kernel' - testgroups: '--all' + testgroups: '--module ckeditor5' suppress-deprecations: false halt-on-fail: false run_tests.build: # Limit concurrency due to disk space concerns. concurrency: 15 types: 'PHPUnit-Build' - testgroups: '--all' + testgroups: '--module ckeditor5' suppress-deprecations: false halt-on-fail: false run_tests.functional: types: 'PHPUnit-Functional' - testgroups: '--all' + testgroups: '--module ckeditor5' suppress-deprecations: false halt-on-fail: false run_tests.javascript: concurrency: 15 types: 'PHPUnit-FunctionalJavascript' - testgroups: '--all' + testgroups: '--module ckeditor5' suppress-deprecations: false halt-on-fail: false # Run nightwatch testing. diff --git a/core/modules/ckeditor5/tests/src/FunctionalJavascript/SourceEditingTest.php b/core/modules/ckeditor5/tests/src/FunctionalJavascript/SourceEditingTest.php index c6f9b6716d..83c8087d60 100644 --- a/core/modules/ckeditor5/tests/src/FunctionalJavascript/SourceEditingTest.php +++ b/core/modules/ckeditor5/tests/src/FunctionalJavascript/SourceEditingTest.php @@ -62,7 +62,7 @@ protected function setUp(): void { 'filter_html' => [ 'status' => TRUE, 'settings' => [ - 'allowed_html' => '
',
+ 'allowed_html' => '
',
+ '
',
+ ],
+ '' => [
+ '
',
+ '
',
+ '',
+ ],
+ '
' => [
+ '
',
+ '
',
+ '',
+ ],
+ 'no bulletedList-related additions to the Source Editing configuration' => [
+ '
',
+ '
',
+ ],
+ '' => [
+ '
',
+ '
',
+ '',
+ ],
+ '
' => [
+ '
',
+ '
',
+ '',
+ ],
];
}
diff --git a/core/package.json b/core/package.json
index 9f2cca7c99..8cb26fdcdc 100644
--- a/core/package.json
+++ b/core/package.json
@@ -22,7 +22,7 @@
"lint:css": "stylelint \"**/*.css\"",
"lint:css-checkstyle": "stylelint \"**/*.css\" --custom-formatter ./node_modules/stylelint-checkstyle-formatter/index.js",
"lint:yaml": "node ./node_modules/eslint/bin/eslint.js --ext .yml .",
- "test:nightwatch": "cross-env BABEL_ENV=development node -r dotenv-safe/config -r @babel/register ./node_modules/.bin/nightwatch --config ./tests/Drupal/Nightwatch/nightwatch.conf.js",
+ "test:nightwatch": "cross-env BABEL_ENV=development node -r dotenv-safe/config -r @babel/register ./node_modules/.bin/nightwatch --config ./tests/Drupal/Nightwatch/nightwatch.conf.js --tag ckeditor5",
"prettier": "prettier --write \"./**/*.es6.js\" \"./tests/Drupal/Nightwatch/**/*.js\" \"./modules/ckeditor5/js/ckeditor5_plugins/**/*.js\"",
"spellcheck": "cspell",
"spellcheck:make-drupal-dict": "rm -f misc/cspell/dictionary.txt && touch misc/cspell/dictionary.txt && yarn -s spellcheck:core --unique --wordsOnly | tr '[:upper:]' '[:lower:]' | tr -d \\\\\\\\ | LC_ALL=C sort -u -o misc/cspell/dictionary.txt",