private function FeatureContext::spinUntilMessageBoxIsPopulated in Acquia Lift Connector 7.2
Same name and namespace in other branches
- 7 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 1135
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);
}