protected function PageManagerIntegrationTest::setUp in Panels 8.4
Same name and namespace in other branches
- 8.3 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 41
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.
$this->user1 = $this
->drupalCreateUser([
'access panels in-place editing',
'administer blocks',
'administer pages',
]);
$this->user2 = $this
->drupalCreateUser([
'access panels in-place editing',
'administer blocks',
'administer pages',
]);
$this
->drupalLogin($this->user1);
$this->test_route = 'test-page';
}