Method | Description | |
---|---|---|
addToCart ( ) | ||
addToCartWithOption ( Sylius\Component\Product\Model\ProductOptionInterface $option, $optionValue ) | ||
addToCartWithQuantity ( $quantity ) | ||
addToCartWithVariant ( $variant ) | ||
countReviews ( ) | ||
getAttributeByName ( $name ) | ||
getAttributes ( ) | ||
getAverageRating ( ) | ||
getName ( ) | ||
getPrice ( ) | ||
getRouteName ( ) | ||
hasAddToCartButton ( ) | ||
hasAssociation ( $productAssociationName ) | ||
hasProductInAssociation ( $productName, $productAssociationName ) | ||
hasProductOutOfStockValidationMessage ( Sylius\Component\Product\Model\ProductInterface $product ) | ||
hasReviewTitled ( $title ) | ||
isMainImageDisplayed ( ) | ||
isOutOfStock ( ) | ||
selectOption ( $optionName, $optionValue ) | ||
selectVariant ( $variantName ) | ||
visit ( $url ) | ||
waitForValidationErrors ( $timeout ) |
Method | Description | |
---|---|---|
getDefinedElements ( ) |
public addToCartWithOption ( Sylius\Component\Product\Model\ProductOptionInterface $option, $optionValue ) | ||
$option | Sylius\Component\Product\Model\ProductOptionInterface |
public hasProductInAssociation ( $productName, $productAssociationName ) |
public hasProductOutOfStockValidationMessage ( Sylius\Component\Product\Model\ProductInterface $product ) | ||
$product | Sylius\Component\Product\Model\ProductInterface |