You are here

private function FeatureContext::spinUntilLiftCampaignsAreSynchronized in Acquia Lift Connector 7

Same name and namespace in other branches
  1. 7.2 behat-tests/features/bootstrap/FeatureContext.php \FeatureContext::spinUntilLiftCampaignsAreSynchronized()

Spin until the Lift Campaigns are synchronized.

1 call to FeatureContext::spinUntilLiftCampaignsAreSynchronized()
FeatureContext::waitForLiftSynchronize in behat-tests/features/bootstrap/FeatureContext.php
@When I wait for Lift to synchronize

File

behat-tests/features/bootstrap/FeatureContext.php, line 836

Class

FeatureContext
Defines application features from the specific context.

Code

private function spinUntilLiftCampaignsAreSynchronized() {
  $assertionScript = '(typeof(jQuery)=="undefined" || (0 === jQuery.active && 0 === Drupal.acquiaLift.queueCount));';
  $this
    ->spinJavaScriptEvaluation($assertionScript);
}