protected function PanelizerIntegrationTest::visitIPERoute in Panelizer 8.4
Visits the test route and sets an appropriate window size for IPE.
4 calls to PanelizerIntegrationTest::visitIPERoute()
- PanelizerIntegrationTest::testIPEAddBlock in tests/
src/ FunctionalJavascript/ PanelizerIntegrationTest.php - Tests that adding a block with default configuration works.
- PanelizerIntegrationTest::testIPEChangeLayout in tests/
src/ FunctionalJavascript/ PanelizerIntegrationTest.php - Tests that changing layout from one (default) to two columns works.
- PanelizerIntegrationTest::testIPEIsLoaded in tests/
src/ FunctionalJavascript/ PanelizerIntegrationTest.php - Tests that the IPE is loaded on the current test route.
- PanelizerIntegrationTest::testUserEditSession in tests/
src/ FunctionalJavascript/ PanelizerIntegrationTest.php - Tests that the IPE editing session is specific to a user.
File
- tests/
src/ FunctionalJavascript/ PanelizerIntegrationTest.php, line 134
Class
- PanelizerIntegrationTest
- Tests the JavaScript functionality of Panels IPE with Panelizer.
Namespace
Drupal\Tests\panelizer\FunctionalJavascriptCode
protected function visitIPERoute() {
$this
->drupalGet($this->test_route);
// Set the window size to ensure that IPE elements are visible.
call_user_func_array([
$this
->getSession(),
'resizeWindow',
], $this->window_size);
}