function ContextualLinksTest::setUp
Overrides BrowserTestBase::setUp
File
-
core/
modules/ contextual/ tests/ src/ FunctionalJavascript/ ContextualLinksTest.php, line 31
Class
- ContextualLinksTest
- Tests the UI for correct contextual links.
Namespace
Drupal\Tests\contextual\FunctionalJavascriptCode
protected function setUp() : void {
parent::setUp();
$this->drupalLogin($this->createUser([
'access contextual links',
]));
$this->placeBlock('system_branding_block', [
'id' => 'branding',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.