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