function SelectProfileFormTest::initMink
Overrides WebDriverTestBase::initMink
1 call to SelectProfileFormTest::initMink()
- SelectProfileFormTest::setUp in core/
tests/ Drupal/ FunctionalJavascriptTests/ Core/ Installer/ Form/ SelectProfileFormTest.php
File
-
core/
tests/ Drupal/ FunctionalJavascriptTests/ Core/ Installer/ Form/ SelectProfileFormTest.php, line 95
Class
- SelectProfileFormTest
- Tests the select profile form.
Namespace
Drupal\FunctionalJavascriptTests\Core\Installer\FormCode
protected function initMink() {
// The temporary files directory doesn't exist yet, as install_base_system()
// has not run. We need to create the template cache directory recursively.
$path = $this->tempFilesDirectory . DIRECTORY_SEPARATOR . 'browsertestbase-templatecache';
if (!file_exists($path)) {
mkdir($path, 0777, TRUE);
}
parent::initMink();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.