namespace Drupal\FunctionalJavascriptTests

Same name in other branches
  1. 10 Drupal\FunctionalJavascriptTests
  2. 8.9.x Drupal\FunctionalJavascriptTests
  3. 11.x Drupal\FunctionalJavascriptTests
Object name File name Summary
BrowserWithJavascriptTest core/tests/Drupal/FunctionalJavascriptTests/BrowserWithJavascriptTest.php Tests if we can execute JavaScript in the browser.
DrupalSelenium2Driver core/tests/Drupal/FunctionalJavascriptTests/DrupalSelenium2Driver.php Provides a driver for Selenium testing.
JavascriptDeprecationTest core/tests/Drupal/FunctionalJavascriptTests/JavascriptDeprecationTest.php Tests Javascript deprecation notices.
JavascriptErrorsSuppressionTest core/tests/Drupal/FunctionalJavascriptTests/JavascriptErrorsSuppressionTest.php Tests that Drupal.throwError can be suppressed to allow a test to pass.
JavascriptErrorsTest core/tests/Drupal/FunctionalJavascriptTests/JavascriptErrorsTest.php Tests that Drupal.throwError will cause a deprecation warning.
JavascriptGetDrupalSettingsTest core/tests/Drupal/FunctionalJavascriptTests/JavascriptGetDrupalSettingsTest.php Tests Drupal settings retrieval in WebDriverTestBase tests.
JSWebAssert core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Defines a class with methods for asserting presence of elements during tests.
SortableTestTrait core/tests/Drupal/FunctionalJavascriptTests/SortableTestTrait.php Provides functions for simulating sort changes.
WebDriverCurlService core/tests/Drupal/FunctionalJavascriptTests/WebDriverCurlService.php Provides a curl service to interact with Selenium driver.
WebDriverTestBase core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php Runs a browser test using a driver that supports JavaScript.
WebDriverWebAssert core/tests/Drupal/FunctionalJavascriptTests/WebDriverWebAssert.php Defines a JSWebAssert with no support for status code and header assertions.

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