Метод | Описание | |
---|---|---|
iAmOnThePackPage ( $packId ) | ||
iAmOnTheProductPage ( $productId ) | ||
iShouldSeeCategoryMenuItem ( Behat\Gherkin\Node\TableNode $table ) | ||
iShouldSeeExactlyXProducts ( $numberOfProducts ) | ||
iShouldSeeLessThanXProducts ( $numberOfProducts ) | ||
iShouldSeeMoreThanXProducts ( $numberOfProducts ) | ||
iShouldSeePurchasableName ( $id ) |
Метод | Описание | |
---|---|---|
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 |
protected getCategory ( integer $categoryId ) : Elcodi\Component\Product\Entity\Interfaces\CategoryInterface | ||
$categoryId | integer | Category Id |
Результат | Elcodi\Component\Product\Entity\Interfaces\CategoryInterface | Category |
protected getItemElements ( ) : Behat\Mink\Element\NodeElement[] | ||
Результат | Behat\Mink\Element\NodeElement[] |
protected getPurchasable ( integer $purchasableId ) : Elcodi\Component\Product\Entity\Interfaces\PurchasableInterface | ||
$purchasableId | integer | Purchasable Id |
Результат | Elcodi\Component\Product\Entity\Interfaces\PurchasableInterface | Purchasable |
public iShouldSeeCategoryMenuItem ( Behat\Gherkin\Node\TableNode $table ) | ||
$table | Behat\Gherkin\Node\TableNode |
public iShouldSeeExactlyXProducts ( $numberOfProducts ) |
public iShouldSeeLessThanXProducts ( $numberOfProducts ) |
public iShouldSeeMoreThanXProducts ( $numberOfProducts ) |