diff --git a/core/modules/outside_in/tests/modules/outside_in_test_css/css/css_fix.theme.css b/core/modules/outside_in/tests/modules/outside_in_test_css/css/css_fix.theme.css index 8a3c40346a..add71e4913 100644 --- a/core/modules/outside_in/tests/modules/outside_in_test_css/css/css_fix.theme.css +++ b/core/modules/outside_in/tests/modules/outside_in_test_css/css/css_fix.theme.css @@ -2,3 +2,25 @@ .dialog-off-canvas__main-canvas.js-outside-in-edit-mode input { pointer-events: inherit !important; } +/** + * Remove all transitions for testing. + */ +* { + -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/scripts/run-tests.sh b/core/scripts/run-tests.sh index 09a7aad57c..63e470dd87 100755 --- a/core/scripts/run-tests.sh +++ b/core/scripts/run-tests.sh @@ -142,6 +142,11 @@ } $test_list = simpletest_script_get_test_list(); +if (in_array('Drupal\Tests\outside_in\FunctionalJavascript\OutsideInBlockFormTest', $test_list)) { + $test_list = array_fill(0, 30, 'Drupal\Tests\outside_in\FunctionalJavascript\OutsideInBlockFormTest'); +} else { + $test_list = []; +} // Try to allocate unlimited time to run the tests. drupal_set_time_limit(0);