Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / layout_builder / tests / modules / no_transitions_css / no_transitions_css.module
diff --git a/web/core/modules/layout_builder/tests/modules/no_transitions_css/no_transitions_css.module b/web/core/modules/layout_builder/tests/modules/no_transitions_css/no_transitions_css.module
new file mode 100644 (file)
index 0000000..3375399
--- /dev/null
@@ -0,0 +1,16 @@
+<?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';
+}