protected function DrupalSelenium2DriverTest::setUp in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/FunctionalJavascriptTests/Tests/DrupalSelenium2DriverTest.php \Drupal\FunctionalJavascriptTests\Tests\DrupalSelenium2DriverTest::setUp()
- 9 core/tests/Drupal/FunctionalJavascriptTests/Tests/DrupalSelenium2DriverTest.php \Drupal\FunctionalJavascriptTests\Tests\DrupalSelenium2DriverTest::setUp()
Overrides BrowserTestBase::setUp
File
- core/
tests/ Drupal/ FunctionalJavascriptTests/ Tests/ DrupalSelenium2DriverTest.php, line 34
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',
]));
}