protected function PageManagerIntegrationTest::setUp in Panels 8.3
Same name and namespace in other branches
- 8.4 panels_ipe/tests/src/FunctionalJavascript/PageManagerIntegrationTest.php \Drupal\Tests\panels_ipe\FunctionalJavascript\PageManagerIntegrationTest::setUp()
Overrides BrowserTestBase::setUp
File
- panels_ipe/
tests/ src/ FunctionalJavascript/ PageManagerIntegrationTest.php, line 30
Class
- PageManagerIntegrationTest
- Tests the JavaScript functionality of Panels IPE with PageManager.
Namespace
Drupal\Tests\panels_ipe\FunctionalJavascriptCode
protected function setUp() {
parent::setUp();
// Create a user with appropriate permissions to use Panels IPE.
$admin_user = $this
->drupalCreateUser([
'access panels in-place editing',
'administer blocks',
'administer pages',
]);
$this
->drupalLogin($admin_user);
$this->test_route = 'test-page';
}