PHP Class Elcodi\Store\ProductBundle\Behat\Context

Inheritance: extends Elcodi\Bridge\BehatBridgeBundle\Abstracts\AbstractElcodiContext
Afficher le fichier Open project: elcodi/bamboo

Méthodes publiques

Méthode Description
iAmOnThePackPage ( $packId )
iAmOnTheProductPage ( $productId )
iShouldSeeCategoryMenuItem ( Behat\Gherkin\Node\TableNode $table )
iShouldSeeExactlyXProducts ( $numberOfProducts )
iShouldSeeLessThanXProducts ( $numberOfProducts )
iShouldSeeMoreThanXProducts ( $numberOfProducts )
iShouldSeePurchasableName ( $id )

Méthodes protégées

Méthode Description
getCategory ( integer $categoryId ) : Elcodi\Component\Product\Entity\Interfaces\CategoryInterface Get category by id
getItemElements ( ) : Behat\Mink\Element\NodeElement[]
getPurchasable ( integer $purchasableId ) : Elcodi\Component\Product\Entity\Interfaces\PurchasableInterface Get purchasable by id

Method Details

getCategory() protected méthode

Get category by id
protected getCategory ( integer $categoryId ) : Elcodi\Component\Product\Entity\Interfaces\CategoryInterface
$categoryId integer Category Id
Résultat Elcodi\Component\Product\Entity\Interfaces\CategoryInterface Category

getItemElements() protected méthode

protected getItemElements ( ) : Behat\Mink\Element\NodeElement[]
Résultat Behat\Mink\Element\NodeElement[]

getPurchasable() protected méthode

Get purchasable by id
protected getPurchasable ( integer $purchasableId ) : Elcodi\Component\Product\Entity\Interfaces\PurchasableInterface
$purchasableId integer Purchasable Id
Résultat Elcodi\Component\Product\Entity\Interfaces\PurchasableInterface Purchasable

iAmOnThePackPage() public méthode

public iAmOnThePackPage ( $packId )

iAmOnTheProductPage() public méthode

public iAmOnTheProductPage ( $productId )

iShouldSeeCategoryMenuItem() public méthode

public iShouldSeeCategoryMenuItem ( Behat\Gherkin\Node\TableNode $table )
$table Behat\Gherkin\Node\TableNode

iShouldSeeExactlyXProducts() public méthode

public iShouldSeeExactlyXProducts ( $numberOfProducts )

iShouldSeeLessThanXProducts() public méthode

public iShouldSeeLessThanXProducts ( $numberOfProducts )

iShouldSeeMoreThanXProducts() public méthode

public iShouldSeeMoreThanXProducts ( $numberOfProducts )

iShouldSeePurchasableName() public méthode

public iShouldSeePurchasableName ( $id )