summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorAlex Pott2019-01-10 08:57:29 (GMT)
committerAlex Pott2019-01-10 08:57:36 (GMT)
commit1f4544c9923c84199b36edb21f06b089dd775aa8 (patch)
tree266eb903376fedd1d2e6fe353ebc12efecdc48fd /core
parent7881637548a18fdc0b31e5eb3aa3cf479c44ebf4 (diff)
Issue #3020142 by mglaman, tim.plunkett: Test module no_transitions_css has invalid hook_page_attachments
(cherry picked from commit c00be4c49c4cd47138173fbed9bc144fd224a7de)
Diffstat (limited to 'core')
-rw-r--r--core/modules/layout_builder/tests/modules/no_transitions_css/css/css_fix.theme.css23
-rw-r--r--core/modules/layout_builder/tests/modules/no_transitions_css/no_transitions_css.info.yml6
-rw-r--r--core/modules/layout_builder/tests/modules/no_transitions_css/no_transitions_css.libraries.yml5
-rw-r--r--core/modules/layout_builder/tests/modules/no_transitions_css/no_transitions_css.module16
-rw-r--r--core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTestBase.php2
5 files changed, 0 insertions, 52 deletions
diff --git a/core/modules/layout_builder/tests/modules/no_transitions_css/css/css_fix.theme.css b/core/modules/layout_builder/tests/modules/no_transitions_css/css/css_fix.theme.css
deleted file mode 100644
index ffe0614..0000000
--- a/core/modules/layout_builder/tests/modules/no_transitions_css/css/css_fix.theme.css
+++ /dev/null
@@ -1,23 +0,0 @@
-/**
- * Remove all transitions for testing.
- */
-* {
- /* CSS transitions. */
- -o-transition-property: none !important;
- -moz-transition-property: none !important;
- -ms-transition-property: none !important;
- -webkit-transition-property: none !important;
- transition-property: none !important;
- /* CSS transforms. */
- -o-transform: none !important;
- -moz-transform: none !important;
- -ms-transform: none !important;
- -webkit-transform: none !important;
- transform: none !important;
- /* CSS animations. */
- -webkit-animation: none !important;
- -moz-animation: none !important;
- -o-animation: none !important;
- -ms-animation: none !important;
- animation: none !important;
-}
diff --git a/core/modules/layout_builder/tests/modules/no_transitions_css/no_transitions_css.info.yml b/core/modules/layout_builder/tests/modules/no_transitions_css/no_transitions_css.info.yml
deleted file mode 100644
index 80082db..0000000
--- a/core/modules/layout_builder/tests/modules/no_transitions_css/no_transitions_css.info.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-name: 'CSS Test fix'
-type: module
-description: 'Provides CSS fixes for tests.'
-package: Testing
-version: VERSION
-core: 8.x
diff --git a/core/modules/layout_builder/tests/modules/no_transitions_css/no_transitions_css.libraries.yml b/core/modules/layout_builder/tests/modules/no_transitions_css/no_transitions_css.libraries.yml
deleted file mode 100644
index 0fdaffd..0000000
--- a/core/modules/layout_builder/tests/modules/no_transitions_css/no_transitions_css.libraries.yml
+++ /dev/null
@@ -1,5 +0,0 @@
-drupal.css_fix:
- version: VERSION
- css:
- theme:
- css/css_fix.theme.css: {}
diff --git a/core/modules/layout_builder/tests/modules/no_transitions_css/no_transitions_css.module b/core/modules/layout_builder/tests/modules/no_transitions_css/no_transitions_css.module
deleted file mode 100644
index 3375399..0000000
--- a/core/modules/layout_builder/tests/modules/no_transitions_css/no_transitions_css.module
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-
-/**
- * @file
- * Module for attaching CSS during tests.
- *
- * CSS pointer-events properties cause testing errors.
- */
-
-/**
- * Implements hook_page_attachments().
- */
-function settings_tray_test_css_page_attachments(array &$attachments) {
- // Unconditionally attach an asset to the page.
- $attachments['#attached']['library'][] = 'settings_tray_test_css/drupal.css_fix';
-}
diff --git a/core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTestBase.php b/core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTestBase.php
index 2b78176..441ec96 100644
--- a/core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTestBase.php
+++ b/core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTestBase.php
@@ -32,8 +32,6 @@ abstract class InlineBlockTestBase extends WebDriverTestBase {
'block',
'node',
'contextual',
- // @todo Remove after https://www.drupal.org/project/drupal/issues/2901792.
- 'no_transitions_css',
];
/**