public function PanelsSubContext::changeLayoutIPE in Panopoly 7
Same name and namespace in other branches
- 8.2 modules/panopoly/panopoly_test/behat/steps/panopoly_test_panels.behat.inc \PanelsSubContext::changeLayoutIpe()
 
Open 'Change layout' dialog if it's available on the current page.
@When I change layout with the Panels IPE
File
- modules/
panopoly/ panopoly_test/ behat/ steps/ panopoly_test_panels.behat.inc, line 65  - Provide Behat step-definitions for Panels.
 
Class
Code
public function changeLayoutIPE() {
  $this
    ->getSession()
    ->wait(5000, 'jQuery(".panels-choose-layout").length === 0');
  $this
    ->getSession()
    ->getPage()
    ->clickLink('Change layout');
  $this
    ->getSession()
    ->wait(5000, 'jQuery(".panels-choose-layout").length > 0');
}