Search for all
| Title | Object type | File name | Summary |
|---|---|---|---|
| BrowserTestBase.php | file | core/ |
|
| BrowserTestBase.php | file | core/ |
|
| BrowserTestBase::$baseUrl | property | core/ |
The base URL. |
| BrowserTestBase::$configImporter | property | core/ |
The config importer that can be used in a test. |
| BrowserTestBase::$customTranslations | property | core/ |
An array of custom translations suitable for drupal_rewrite_settings(). |
| BrowserTestBase::$databasePrefix | property | core/ |
The database prefix of this test run. |
| BrowserTestBase::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| BrowserTestBase::$mink | property | core/ |
Mink session manager. |
| BrowserTestBase::$minkDefaultDriverArgs | property | core/ |
|
| BrowserTestBase::$minkDefaultDriverClass | property | core/ |
|
| BrowserTestBase::$modules | property | core/ |
Modules to enable. |
| BrowserTestBase::$originalContainer | property | core/ |
The original container. |
| BrowserTestBase::$originalShutdownCallbacks | property | core/ |
The original array of shutdown function callbacks. |
| BrowserTestBase::$preserveGlobalState | property | core/ |
|
| BrowserTestBase::$profile | property | core/ |
The profile to install as a basis for testing. |
| BrowserTestBase::$root | property | core/ |
The app root. |
| BrowserTestBase::$runTestInSeparateProcess | property | core/ |
Browser tests are run in separate processes to prevent collisions between code that may be loaded by tests. |
| BrowserTestBase::$timeLimit | property | core/ |
Time limit in seconds for the test. |
| BrowserTestBase::$translationFilesDirectory | property | core/ |
The translation file directory for the test environment. |
| BrowserTestBase::cleanupEnvironment | function | core/ |
Clean up the Simpletest environment. |
| BrowserTestBase::config | function | core/ |
Configuration accessor for tests. Returns non-overridden configuration. |
| BrowserTestBase::cssSelectToXpath | function | core/ |
Translates a CSS expression to its XPath equivalent. |
| BrowserTestBase::drupalGetHeader | function | core/ |
Gets the value of an HTTP response header. |
| BrowserTestBase::drupalGetHeaders | function | core/ |
Returns all response headers. |
| BrowserTestBase::filePreDeleteCallback | function | core/ |
Ensures test files are deletable. |
| BrowserTestBase::getDefaultDriverInstance | function | core/ |
Gets an instance of the default Mink driver. |
| BrowserTestBase::getDrupalSettings | function | core/ |
Gets the JavaScript drupalSettings variable for the currently-loaded page. |
| BrowserTestBase::getHttpClient | function | core/ |
Obtain the HTTP client for the system under test. |
| BrowserTestBase::getMinkDriverArgs | function | core/ |
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/ |
Helper function to get the options of select field. |
| BrowserTestBase::getResponseLogHandler | function | core/ |
Provides a Guzzle middleware handler to log every response received. |
| BrowserTestBase::getSession | function | core/ |
Returns Mink session. |
| BrowserTestBase::getSessionCookies | function | core/ |
Get session cookies from current session. |
| BrowserTestBase::getTestMethodCaller | function | core/ |
Retrieves the current calling line in the class under test. |
| BrowserTestBase::initFrontPage | function | core/ |
Visits the front page when initializing Mink. |
| BrowserTestBase::initMink | function | core/ |
Initializes Mink sessions. |
| BrowserTestBase::installDrupal | function | core/ |
Installs Drupal into the Simpletest site. |
| BrowserTestBase::registerSessions | function | core/ |
Registers additional Mink sessions. |
| BrowserTestBase::setUp | function | core/ |
|
| BrowserTestBase::tearDown | function | core/ |
|
| BrowserTestBase::translatePostValues | function | core/ |
Transforms a nested array into a flat array suitable for drupalPostForm(). |
| BrowserTestBase::xpath | function | core/ |
Performs an xpath search on the contents of the internal browser. |
| BrowserTestBase::__construct | function | core/ |
|
| BrowserTestBase::__sleep | function | core/ |
Prevents serializing any properties. |
| BrowserTestBaseLegacyTest | class | core/ |
Tests BrowserTestBase legacy functionality. |
| BrowserTestBaseLegacyTest.php | file | core/ |
|
| BrowserTestBaseLegacyTest::testDrupalGetHeaders | function | core/ |
Test ::drupalGetHeaders(). |
| BrowserTestBaseTest | class | core/ |
@group Test @group FunctionalTests |
| BrowserTestBaseTest | class | core/ |
@coversDefaultClass \Drupal\Tests\BrowserTestBase[[api-linebreak]] @group Test |
| BrowserTestBaseTest | class | core/ |
Tests BrowserTestBase functionality. |
Pagination
- Previous page
- Page 131
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.