initial commit
This commit is contained in:
14
features/bootstrap/FeatureContext.php
Normal file
14
features/bootstrap/FeatureContext.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
use Behat\MinkExtension\Context\MinkContext;
|
||||
|
||||
class FeatureContext extends MinkContext
|
||||
{
|
||||
/**
|
||||
* @Then /^I wait for the suggestion box to appear$/
|
||||
*/
|
||||
public function iWaitForTheSuggestionBoxToAppear()
|
||||
{
|
||||
$this->getSession()->wait(5000, "$('.suggestions-results').children().length > 0");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user