Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
BrowserTestBase.php file core/tests/Drupal/Tests/BrowserTestBase.php
BrowserTestBase.php file core/modules/simpletest/src/BrowserTestBase.php
BrowserTestBase::$baseUrl property core/tests/Drupal/Tests/BrowserTestBase.php The base URL.
BrowserTestBase::$configImporter property core/tests/Drupal/Tests/BrowserTestBase.php The config importer that can be used in a test.
BrowserTestBase::$customTranslations property core/tests/Drupal/Tests/BrowserTestBase.php An array of custom translations suitable for drupal_rewrite_settings().
BrowserTestBase::$databasePrefix property core/tests/Drupal/Tests/BrowserTestBase.php The database prefix of this test run.
BrowserTestBase::$defaultTheme property core/tests/Drupal/Tests/BrowserTestBase.php The theme to install as the default for testing.
BrowserTestBase::$mink property core/tests/Drupal/Tests/BrowserTestBase.php Mink session manager.
BrowserTestBase::$minkDefaultDriverArgs property core/tests/Drupal/Tests/BrowserTestBase.php
BrowserTestBase::$minkDefaultDriverClass property core/tests/Drupal/Tests/BrowserTestBase.php
BrowserTestBase::$modules property core/tests/Drupal/Tests/BrowserTestBase.php Modules to enable.
BrowserTestBase::$originalContainer property core/tests/Drupal/Tests/BrowserTestBase.php The original container.
BrowserTestBase::$originalShutdownCallbacks property core/tests/Drupal/Tests/BrowserTestBase.php The original array of shutdown function callbacks.
BrowserTestBase::$preserveGlobalState property core/tests/Drupal/Tests/BrowserTestBase.php
BrowserTestBase::$profile property core/tests/Drupal/Tests/BrowserTestBase.php The profile to install as a basis for testing.
BrowserTestBase::$root property core/tests/Drupal/Tests/BrowserTestBase.php The app root.
BrowserTestBase::$runTestInSeparateProcess property core/tests/Drupal/Tests/BrowserTestBase.php Browser tests are run in separate processes to prevent collisions between
code that may be loaded by tests.
BrowserTestBase::$timeLimit property core/tests/Drupal/Tests/BrowserTestBase.php Time limit in seconds for the test.
BrowserTestBase::$translationFilesDirectory property core/tests/Drupal/Tests/BrowserTestBase.php The translation file directory for the test environment.
BrowserTestBase::cleanupEnvironment function core/tests/Drupal/Tests/BrowserTestBase.php Clean up the Simpletest environment.
BrowserTestBase::config function core/tests/Drupal/Tests/BrowserTestBase.php Configuration accessor for tests. Returns non-overridden configuration.
BrowserTestBase::cssSelectToXpath function core/tests/Drupal/Tests/BrowserTestBase.php Translates a CSS expression to its XPath equivalent.
BrowserTestBase::drupalGetHeader function core/tests/Drupal/Tests/BrowserTestBase.php Gets the value of an HTTP response header.
BrowserTestBase::drupalGetHeaders function core/tests/Drupal/Tests/BrowserTestBase.php Returns all response headers.
BrowserTestBase::filePreDeleteCallback function core/tests/Drupal/Tests/BrowserTestBase.php Ensures test files are deletable.
BrowserTestBase::getDefaultDriverInstance function core/tests/Drupal/Tests/BrowserTestBase.php Gets an instance of the default Mink driver.
BrowserTestBase::getDrupalSettings function core/tests/Drupal/Tests/BrowserTestBase.php Gets the JavaScript drupalSettings variable for the currently-loaded page.
BrowserTestBase::getHttpClient function core/tests/Drupal/Tests/BrowserTestBase.php Obtain the HTTP client for the system under test.
BrowserTestBase::getMinkDriverArgs function core/tests/Drupal/Tests/BrowserTestBase.php Get the Mink driver args from an environment variable, if it is set. Can
be overridden in a derived class so it is possible to use a different
value for a subset of tests, e.g. the JavaScript tests.
BrowserTestBase::getOptions function core/tests/Drupal/Tests/BrowserTestBase.php Helper function to get the options of select field.
BrowserTestBase::getResponseLogHandler function core/tests/Drupal/Tests/BrowserTestBase.php Provides a Guzzle middleware handler to log every response received.
BrowserTestBase::getSession function core/tests/Drupal/Tests/BrowserTestBase.php Returns Mink session.
BrowserTestBase::getSessionCookies function core/tests/Drupal/Tests/BrowserTestBase.php Get session cookies from current session.
BrowserTestBase::getTestMethodCaller function core/tests/Drupal/Tests/BrowserTestBase.php Retrieves the current calling line in the class under test.
BrowserTestBase::initFrontPage function core/tests/Drupal/Tests/BrowserTestBase.php Visits the front page when initializing Mink.
BrowserTestBase::initMink function core/tests/Drupal/Tests/BrowserTestBase.php Initializes Mink sessions.
BrowserTestBase::installDrupal function core/tests/Drupal/Tests/BrowserTestBase.php Installs Drupal into the Simpletest site.
BrowserTestBase::registerSessions function core/tests/Drupal/Tests/BrowserTestBase.php Registers additional Mink sessions.
BrowserTestBase::setUp function core/tests/Drupal/Tests/BrowserTestBase.php
BrowserTestBase::tearDown function core/tests/Drupal/Tests/BrowserTestBase.php
BrowserTestBase::translatePostValues function core/tests/Drupal/Tests/BrowserTestBase.php Transforms a nested array into a flat array suitable for drupalPostForm().
BrowserTestBase::xpath function core/tests/Drupal/Tests/BrowserTestBase.php Performs an xpath search on the contents of the internal browser.
BrowserTestBase::__construct function core/tests/Drupal/Tests/BrowserTestBase.php
BrowserTestBase::__sleep function core/tests/Drupal/Tests/BrowserTestBase.php Prevents serializing any properties.
BrowserTestBaseLegacyTest class core/tests/Drupal/FunctionalTests/BrowserTestBaseLegacyTest.php Tests BrowserTestBase legacy functionality.
BrowserTestBaseLegacyTest.php file core/tests/Drupal/FunctionalTests/BrowserTestBaseLegacyTest.php
BrowserTestBaseLegacyTest::testDrupalGetHeaders function core/tests/Drupal/FunctionalTests/BrowserTestBaseLegacyTest.php Test ::drupalGetHeaders().
BrowserTestBaseTest class core/tests/Drupal/KernelTests/Core/Test/BrowserTestBaseTest.php @group Test
@group FunctionalTests
BrowserTestBaseTest class core/tests/Drupal/Tests/Core/Test/BrowserTestBaseTest.php @coversDefaultClass \Drupal\Tests\BrowserTestBase[[api-linebreak]]
@group Test
BrowserTestBaseTest class core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php Tests BrowserTestBase functionality.

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