WebDriverTestBase::$disableCssAnimations

Same name in other branches
  1. 8.9.x core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php \Drupal\FunctionalJavascriptTests\WebDriverTestBase::disableCssAnimations
  2. 10 core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php \Drupal\FunctionalJavascriptTests\WebDriverTestBase::disableCssAnimations
  3. 11.x core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php \Drupal\FunctionalJavascriptTests\WebDriverTestBase::disableCssAnimations

Disables CSS animations in tests for more reliable testing.

CSS animations are disabled by installing the css_disable_transitions_test module. Set to FALSE to test CSS animations.

Type: bool

File

core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php, line 34

Class

WebDriverTestBase
Runs a browser test using a driver that supports JavaScript.

Namespace

Drupal\FunctionalJavascriptTests

Code

protected $disableCssAnimations = TRUE;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.