public function PanelsSubContext::waitForIPEtoDeactivate in Panopoly 7
Same name and namespace in other branches
- 8.2 modules/panopoly/panopoly_test/behat/steps/panopoly_test_panels.behat.inc \PanelsSubContext::waitForIpeToDeactivate()
 
Wait until the Panels IPE is deactivated.
@When I wait for the Panels IPE to deactivate
1 call to PanelsSubContext::waitForIPEtoDeactivate()
- PanelsSubContext::customizeThisPageIPE in modules/
panopoly/ panopoly_test/ behat/ steps/ panopoly_test_panels.behat.inc  - Enable the Panels IPE if it's available on the current page.
 
File
- modules/
panopoly/ panopoly_test/ behat/ steps/ panopoly_test_panels.behat.inc, line 44  - Provide Behat step-definitions for Panels.
 
Class
Code
public function waitForIPEtoDeactivate() {
  $this
    ->getSession()
    ->wait(5000, 'jQuery(".panels-ipe-editing").length === 0');
}