You are here

public function PanelizerIntegrationTest::testIPEChangeLayout in Panelizer 8.4

Same name and namespace in other branches
  1. 8.5 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 123

Class

PanelizerIntegrationTest
Tests the JavaScript functionality of Panels IPE with Panelizer.

Namespace

Drupal\Tests\panelizer\FunctionalJavascript

Code

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.');
}