diff --git a/core/drupalci.yml b/core/drupalci.yml index 2085b9737b..9fdb18c358 100644 --- a/core/drupalci.yml +++ b/core/drupalci.yml @@ -3,48 +3,15 @@ # https://www.drupal.org/drupalorg/docs/drupal-ci/customizing-drupalci-testing build: assessment: - validate_codebase: - phplint: - 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: '--all' + testgroups: '--class "Drupal\Tests\layout_builder\FunctionalJavascript\LivePreviewToggleTest"' suppress-deprecations: false halt-on-fail: false - # Run nightwatch testing. - # @see https://www.drupal.org/project/drupal/issues/2869825 - nightwatchjs: + repeat: 2 diff --git a/core/modules/layout_builder/tests/src/FunctionalJavascript/LivePreviewToggleTest.php b/core/modules/layout_builder/tests/src/FunctionalJavascript/LivePreviewToggleTest.php index 686201e453..b3b97fdf93 100644 --- a/core/modules/layout_builder/tests/src/FunctionalJavascript/LivePreviewToggleTest.php +++ b/core/modules/layout_builder/tests/src/FunctionalJavascript/LivePreviewToggleTest.php @@ -103,7 +103,7 @@ public function testLivePreviewGridModeToggle() { // Check that the drag-triggered rebuild did not take UI out of grid mode. $assert_session->pageTextNotContains($live_preview_body_text); // Check that drag successfully repositioned blocks. - $this->assertOrderInPage(['Placeholder for the "Body" field', 'Placeholder for the "Links" field']); + $this->assertOrderInPage(['Placeholder for the "Links" field', 'Placeholder for the "Body" field']); // Check if block position maintained after switching back to live preview. $page->checkField('layout-builder-live-preview');