public function PanelsSubContext::customizeThisPageIPE in Panopoly 7
Same name and namespace in other branches
- 8.2 modules/panopoly/panopoly_test/behat/steps/panopoly_test_panels.behat.inc \PanelsSubContext::customizeThisPageIpe()
 
Enable the Panels IPE if it's available on the current page.
@When I customize this page with the Panels IPE
File
- modules/
panopoly/ panopoly_test/ behat/ steps/ panopoly_test_panels.behat.inc, line 53  - Provide Behat step-definitions for Panels.
 
Class
Code
public function customizeThisPageIPE() {
  $this
    ->getSession()
    ->getDriver()
    ->maximizeWindow();
  $this
    ->waitForIPEtoDeactivate();
  $this
    ->getSession()
    ->getPage()
    ->clickLink('Customize this page');
  $this
    ->waitForIPEtoActivate();
}