function DrupalSelenium2DriverTest::setUp
Same name in other branches
- 9 core/tests/Drupal/FunctionalJavascriptTests/Tests/DrupalSelenium2DriverTest.php \Drupal\FunctionalJavascriptTests\Tests\DrupalSelenium2DriverTest::setUp()
- 8.9.x core/tests/Drupal/FunctionalJavascriptTests/Tests/DrupalSelenium2DriverTest.php \Drupal\FunctionalJavascriptTests\Tests\DrupalSelenium2DriverTest::setUp()
- 11.x core/tests/Drupal/FunctionalJavascriptTests/Tests/DrupalSelenium2DriverTest.php \Drupal\FunctionalJavascriptTests\Tests\DrupalSelenium2DriverTest::setUp()
Overrides BrowserTestBase::setUp
File
-
core/
tests/ Drupal/ FunctionalJavascriptTests/ Tests/ DrupalSelenium2DriverTest.php, line 37
Class
- DrupalSelenium2DriverTest
- Tests the DrupalSelenium2Driver methods.
Namespace
Drupal\FunctionalJavascriptTests\TestsCode
protected function setUp() : void {
parent::setUp();
$storage_settings = [
'cardinality' => 3,
];
$this->createFileField('field_file', 'entity_test', 'entity_test', $storage_settings);
$this->drupalLogin($this->drupalCreateUser([
'administer entity_test content',
'access content',
]));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.