diff --git a/core/drupalci.yml b/core/drupalci.yml index 05bdd9da59..66a3b121b4 100644 --- a/core/drupalci.yml +++ b/core/drupalci.yml @@ -3,15 +3,53 @@ # https://www.drupal.org/drupalorg/docs/drupal-ci/customizing-drupalci-testing build: assessment: + validate_codebase: + phplint: + # Re-run composer install to ensure the dependencies resolve for the + # containerized PHP version. + container_composer: + options: ' install --prefer-dist --no-suggest --no-progress --no-interaction' + halt-on-fail: true + csslint: + halt-on-fail: false + eslint: + # A test must pass eslinting standards check in order to continue processing. + halt-on-fail: false + phpcs: + # phpcs will use core's specified version of Coder. + sniff-all-files: false + halt-on-fail: false testing: # run_tests task is executed several times in order of performance speeds. # halt-on-fail can be set on the run_tests tasks in order to fail fast. # suppress-deprecations is false in order to be alerted to usages of # deprecated code. + run_tests.phpunit: + types: 'PHPUnit-Unit' + testgroups: '--all' + suppress-deprecations: false + halt-on-fail: false + run_tests.kernel: + types: 'PHPUnit-Kernel' + testgroups: '--all' + suppress-deprecations: false + halt-on-fail: false + run_tests.simpletest: + types: 'Simpletest' + testgroups: '--all' + suppress-deprecations: false + halt-on-fail: false + run_tests.functional: + types: 'PHPUnit-Functional' + testgroups: '--all' + suppress-deprecations: false + halt-on-fail: false run_tests.javascript: concurrency: 15 types: 'PHPUnit-FunctionalJavascript' - testgroups: '--class "Drupal\Tests\layout_builder\FunctionalJavascript\LayoutBuilderTest"' + testgroups: '--all' suppress-deprecations: false halt-on-fail: false - repeat: 20 + # Run nightwatch testing. + # @see https://www.drupal.org/project/drupal/issues/2869825 + nightwatchjs: diff --git a/core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderTest.php b/core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderDisableInteractionsTest.php similarity index 96% rename from core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderTest.php rename to core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderDisableInteractionsTest.php index 4fa330b16b..88f2aee816 100644 --- a/core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderTest.php +++ b/core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderDisableInteractionsTest.php @@ -7,16 +7,16 @@ use Drupal\FunctionalJavascriptTests\WebDriverTestBase; /** - * Tests the Layout Builder UI Javascript functionality. + * Tests the Layout Builder disables interactions of rendered blocks. * * @group layout_builder */ -class LayoutBuilderTest extends WebDriverTestBase { +class LayoutBuilderDisableInteractionsTest extends WebDriverTestBase { /** * {@inheritdoc} */ - public static $modules = [ + protected static $modules = [ 'layout_builder', 'block', 'node', @@ -90,7 +90,7 @@ public function testFormsLinksDisabled() { $this->drupalGet("$field_ui_prefix/display-layout/default"); - // Add a block with a link and one with a form. + // Add a block with a link and block with a form. $this->addBlock('Block with link', '#layout-builder .block-block-content'); $this->drupalGet("$field_ui_prefix/display-layout/default"); $this->clickLink('Save Layout');