Метод | Описание | |
---|---|---|
__construct ( Sylius\Behat\Page\Shop\Product\ShowPageInterface $showPage, Sylius\Behat\Page\Shop\Product\IndexPageInterface $indexPage, Sylius\Behat\Page\Shop\ProductReview\IndexPageInterface $productReviewsIndexPage ) | ||
iCheckListOfProductsForTaxon ( Sylius\Component\Core\Model\TaxonInterface $taxon ) | ||
iCheckThisProductSReviews ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
iClearFilter ( ) | ||
iOpenPage ( $url ) | ||
iOpenProductPage ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
iSearchForProductsWithName ( $name ) | ||
iSelectVariant ( $variantName ) | ||
iSetItsOptionTo ( $optionName, $optionValue ) | ||
iShouldBeAbleToAccessProduct ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
iShouldBeNotifiedThatThereAreNoReviews ( ) | ||
iShouldBeNotifiedThatThisProductDoesNotHaveSufficientStock ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
iShouldBeOnProductDetailedPage ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
iShouldBeUnableToAddItToTheCart ( ) | ||
iShouldNotBeAbleToAccessProduct ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
iShouldNotBeNotifiedThatThisProductDoesNotHaveSufficientStock ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
iShouldNotSeeProduct ( $productName ) | ||
iShouldNotSeeReviewTitled ( $title ) | ||
iShouldNotSeeReviewTitledInTheList ( $title ) | ||
iShouldSeeAMainImage ( ) | ||
iShouldSeeAsItsAverageRating ( $rating ) | ||
iShouldSeeAttributes ( $count ) | ||
iShouldSeeEmptyListOfProducts ( ) | ||
iShouldSeeItIsOutOfStock ( ) | ||
iShouldSeeNumberOfProductReviewsInTheList ( $count ) | ||
iShouldSeeProduct ( $productName ) | ||
iShouldSeeProductName ( $name ) | ||
iShouldSeeProductReviews ( $count ) | ||
iShouldSeeProductWithName ( $name ) | ||
iShouldSeeProductsInTheList ( $numberOfProducts ) | ||
iShouldSeeReviewsTitled ( $reviews ) | ||
iShouldSeeTheProductAssociationWithProducts ( $productAssociationName, array $products ) | ||
iShouldSeeTheProductAttributeWithValue ( $attributeName, $expectedAttribute ) | ||
iShouldSeeTheProductPrice ( $price ) | ||
iShouldSeeTheProductWithPrice ( $productName, $productPrice ) | ||
iViewSortedProductsFromTaxon ( $sortDirection, Sylius\Component\Core\Model\TaxonInterface $taxon ) | ||
theFirstAttributeShouldBe ( $name ) | ||
theFirstProductOnTheListShouldHaveName ( $name ) | ||
theLastAttributeShouldBe ( $name ) | ||
theyShouldHaveOrderLikeAnd ( $productNames ) | ||
thisProductAverageRatingShouldBe ( Sylius\Component\Core\Model\ProductInterface $product, $averageRating ) |
Метод | Описание | |
---|---|---|
assertIsProductIsInAssociation ( string $productName, string $productAssociationName ) | ||
getProductAttributes ( ) : Behat\Mink\Element\NodeElement[] |
public __construct ( Sylius\Behat\Page\Shop\Product\ShowPageInterface $showPage, Sylius\Behat\Page\Shop\Product\IndexPageInterface $indexPage, Sylius\Behat\Page\Shop\ProductReview\IndexPageInterface $productReviewsIndexPage ) | ||
$showPage | Sylius\Behat\Page\Shop\Product\ShowPageInterface | |
$indexPage | Sylius\Behat\Page\Shop\Product\IndexPageInterface | |
$productReviewsIndexPage | Sylius\Behat\Page\Shop\ProductReview\IndexPageInterface |
public iCheckListOfProductsForTaxon ( Sylius\Component\Core\Model\TaxonInterface $taxon ) | ||
$taxon | Sylius\Component\Core\Model\TaxonInterface |
public iCheckThisProductSReviews ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
$product | Sylius\Component\Core\Model\ProductInterface |
public iOpenProductPage ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
$product | Sylius\Component\Core\Model\ProductInterface |
public iShouldBeAbleToAccessProduct ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
$product | Sylius\Component\Core\Model\ProductInterface |
public iShouldBeNotifiedThatThereAreNoReviews ( ) |
public iShouldBeNotifiedThatThisProductDoesNotHaveSufficientStock ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
$product | Sylius\Component\Core\Model\ProductInterface |
public iShouldBeOnProductDetailedPage ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
$product | Sylius\Component\Core\Model\ProductInterface |
public iShouldNotBeAbleToAccessProduct ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
$product | Sylius\Component\Core\Model\ProductInterface |
public iShouldNotBeNotifiedThatThisProductDoesNotHaveSufficientStock ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
$product | Sylius\Component\Core\Model\ProductInterface |
public iShouldNotSeeReviewTitledInTheList ( $title ) |
public iShouldSeeNumberOfProductReviewsInTheList ( $count ) |
public iShouldSeeProductsInTheList ( $numberOfProducts ) |
public iShouldSeeTheProductAssociationWithProducts ( $productAssociationName, array $products ) | ||
$products | array |
public iShouldSeeTheProductAttributeWithValue ( $attributeName, $expectedAttribute ) |
public iShouldSeeTheProductWithPrice ( $productName, $productPrice ) |
public iViewSortedProductsFromTaxon ( $sortDirection, Sylius\Component\Core\Model\TaxonInterface $taxon ) | ||
$taxon | Sylius\Component\Core\Model\TaxonInterface |
public theFirstProductOnTheListShouldHaveName ( $name ) |
public thisProductAverageRatingShouldBe ( Sylius\Component\Core\Model\ProductInterface $product, $averageRating ) | ||
$product | Sylius\Component\Core\Model\ProductInterface |