public function PanelsIPETestBase::testIPEChangeLayout in Panels 8.4
Same name and namespace in other branches
- 8.3 panels_ipe/tests/src/FunctionalJavascript/PanelsIPETestBase.php \Drupal\Tests\panels_ipe\FunctionalJavascript\PanelsIPETestBase::testIPEChangeLayout()
Tests that changing layout from one (default) to two columns works.
File
- panels_ipe/
tests/ src/ FunctionalJavascript/ PanelsIPETestBase.php, line 45
Class
- PanelsIPETestBase
- Base class which runs through standard Panels IPE test routines.
Namespace
Drupal\Tests\panels_ipe\FunctionalJavascriptCode
public function testIPEChangeLayout() {
$this
->visitIPERoute();
// Change the layout to two columns.
$this
->changeLayout('Columns: 2', 'layout_twocol');
$this
->waitUntilVisible('.layout--twocol', 10000, 'Layout changed to two column.');
}