You are here

public function PanelsSubContext::waitForIPEtoActivate in Panopoly 7

Same name and namespace in other branches
  1. 8.2 modules/panopoly/panopoly_test/behat/steps/panopoly_test_panels.behat.inc \PanelsSubContext::waitForIpeToActivate()

Wait until the Panels IPE is activated.

@When I wait for the Panels IPE to activate

1 call to PanelsSubContext::waitForIPEtoActivate()
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 35
Provide Behat step-definitions for Panels.

Class

PanelsSubContext

Code

public function waitForIPEtoActivate() {
  $this
    ->getSession()
    ->wait(5000, 'jQuery(".panels-ipe-editing").length > 0');
}