You are here

private function FeatureContext::spinUntilMessageBoxIsPopulated in Acquia Lift Connector 7

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

Spin until the message box is populated.

1 call to FeatureContext::spinUntilMessageBoxIsPopulated()
FeatureContext::assertTextInMessagebox in behat-tests/features/bootstrap/FeatureContext.php
@Then I should see the message :text in the messagebox

File

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

Class

FeatureContext
Defines application features from the specific context.

Code

private function spinUntilMessageBoxIsPopulated() {
  $assertionScript = "(jQuery('#acquia-lift-message-box').length > 0 && jQuery('#acquia-lift-message-box').hasClass('acquia-lift-messagebox-shown'));";
  $this
    ->spinJavaScriptEvaluation($assertionScript);
}