Unverified Commit 1f4544c9 authored by alexpott's avatar alexpott

Issue #3020142 by mglaman, tim.plunkett: Test module no_transitions_css has...

Issue #3020142 by mglaman, tim.plunkett: Test module no_transitions_css has invalid hook_page_attachments

(cherry picked from commit c00be4c4)
parent 78816375
* 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;
name: 'CSS Test fix'
type: module
description: 'Provides CSS fixes for tests.'
package: Testing
version: VERSION
core: 8.x
version: VERSION
css/css_fix.theme.css: {}
* @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';
......@@ -32,8 +32,6 @@ abstract class InlineBlockTestBase extends WebDriverTestBase {
// @todo Remove after https://www.drupal.org/project/drupal/issues/2901792.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment