public function PanelizerIntegrationTest::testIPEChangeLayout in Panelizer 8.5
Same name and namespace in other branches
- 8.4 tests/src/FunctionalJavascript/PanelizerIntegrationTest.php \Drupal\Tests\panelizer\FunctionalJavascript\PanelizerIntegrationTest::testIPEChangeLayout()
Tests that changing layout from one (default) to two columns works.
File
- tests/
src/ FunctionalJavascript/ PanelizerIntegrationTest.php, line 110
Class
- PanelizerIntegrationTest
- Tests the JavaScript functionality of Panels IPE with Panelizer.
Namespace
Drupal\Tests\panelizer\FunctionalJavascriptCode
public function testIPEChangeLayout() {
$this
->drupalGet('/node/1');
// Change the layout to two columns.
$this
->changeLayout('Columns: 2', 'layout_twocol');
$this
->waitUntilVisible('.layout--twocol', 10000, 'Layout changed to two column.');
}