added homepage definition shortcut
This commit is contained in:
@@ -92,6 +92,17 @@ trait MinkDictionary
|
||||
return $this->getMink()->assertSession($name);
|
||||
}
|
||||
|
||||
/**
|
||||
* Opens homepage.
|
||||
*
|
||||
* @Given /^(?:|I )am on homepage$/
|
||||
* @When /^(?:|I )go to homepage$/
|
||||
*/
|
||||
public function iAmOnHomepage()
|
||||
{
|
||||
$this->getSession()->visit($this->locatePath('/'));
|
||||
}
|
||||
|
||||
/**
|
||||
* Opens specified page.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user