Method | Description | |
---|---|---|
__construct ( Sylius\Behat\Service\SharedStorageInterface $sharedStorage, Sylius\Behat\Page\Admin\Product\CreateSimpleProductPageInterface $createSimpleProductPage, Sylius\Behat\Page\Admin\Product\CreateConfigurableProductPageInterface $createConfigurableProductPage, Sylius\Behat\Page\Admin\Product\IndexPageInterface $indexPage, Sylius\Behat\Page\Admin\Product\UpdateSimpleProductPageInterface $updateSimpleProductPage, Sylius\Behat\Page\Admin\Product\UpdateConfigurableProductPageInterface $updateConfigurableProductPage, Sylius\Behat\Page\Admin\ProductReview\IndexPageInterface $productReviewIndexPage, Sylius\Behat\Page\Admin\Product\IndexPerTaxonPageInterface $indexPerTaxonPage, Sylius\Behat\Service\Resolver\CurrentPageResolverInterface $currentPageResolver, Sylius\Behat\Service\NotificationCheckerInterface $notificationChecker ) | ||
iAddIt ( ) | ||
iAddTheOptionToIt ( $optionName ) | ||
iAmBrowsingProductsFromTaxon ( Sylius\Component\Taxonomy\Model\TaxonInterface $taxon ) | ||
iAssociateProductsAsProductAssociation ( Sylius\Component\Product\Model\ProductAssociationTypeInterface $productAssociationType, $productsNames ) | ||
iAttachImageWithACode ( $path, $code ) | ||
iAttachImageWithoutACode ( $path ) | ||
iChangeItsImageToPathForTheCode ( $path, $code ) | ||
iChangeItsPriceTo ( $price, $channelName ) | ||
iChooseCalculator ( $calculatorName ) | ||
iChooseMainTaxon ( Sylius\Component\Taxonomy\Model\TaxonInterface $taxon ) | ||
iDeleteProduct ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
iDisableItsTracking ( ) | ||
iEnableItsTracking ( ) | ||
iEnableSlugModification ( $localeCode = 'en_US' ) | ||
iFilterThemByTaxon ( $taxonName ) | ||
iMakeItAvailableInChannel ( $channel ) | ||
iRemoveAnAssociatedProductFromProductAssociation ( $productName, Sylius\Component\Product\Model\ProductAssociationTypeInterface $productAssociationType ) | ||
iRemoveAnImageWithACode ( $code ) | ||
iRemoveItsAttribute ( $attribute ) | ||
iRemoveItsNameFromTranslation ( $language ) | ||
iRemoveTheFirstImage ( ) | ||
iRenameItToIn ( $name, $language ) | ||
iSaveMyChanges ( ) | ||
iSaveMyNewConfiguration ( ) | ||
iSetItsAttributeTo ( $attribute, $value ) | ||
iSetItsPriceTo ( $price, $channelName ) | ||
iSetItsShippingCategoryAs ( $shippingCategoryName ) | ||
iSetItsSlugToIn ( $slug = null, $language = 'en_US' ) | ||
iSetThePositionOfTo ( $productName, $position ) | ||
iShouldBeNotifiedOfFailure ( ) | ||
iShouldBeNotifiedThatAnImageCodeIsRequired ( ) | ||
iShouldBeNotifiedThatCodeHasToBeUnique ( ) | ||
iShouldBeNotifiedThatIsRequired ( $element ) | ||
iShouldBeNotifiedThatPriceIsRequired ( ) | ||
iShouldBeNotifiedThatPriceMustBeDefinedForEveryChannel ( ) | ||
iShouldBeNotifiedThatSimpleProductCodeHasToBeUnique ( ) | ||
iShouldBeNotifiedThatTheImageWithThisCodeAlreadyExists ( ) | ||
iShouldNotSeeAnyProductWith ( $field, $value ) | ||
iShouldSeeProductWith ( $field, $value ) | ||
iShouldSeeProductsInTheList ( $numberOfProducts ) | ||
iSortProductsBy ( $field ) | ||
iSpecifyItsCodeAs ( $code = null ) | ||
iWantToBrowseProducts ( ) | ||
iWantToCreateANewConfigurableProduct ( ) | ||
iWantToCreateANewSimpleProduct ( ) | ||
iWantToModifyAProduct ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
itShouldBePricedAtForChannel ( Sylius\Component\Core\Model\ProductInterface $product, $price, $channelName ) | ||
itsAttributeShouldBe ( $attribute, Sylius\Component\Core\Model\ProductInterface $product, $value ) | ||
productShouldExistInTheProductCatalog ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
productShouldNotExist ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
productShouldNotHaveAttribute ( Sylius\Component\Core\Model\ProductInterface $product, $attribute ) | ||
productSlugShouldBe ( Sylius\Component\Core\Model\ProductInterface $product, $slug, $locale = "en_US" ) | ||
productWithNameShouldNotBeAdded ( $element, $value ) | ||
theCodeFieldShouldBeDisabled ( ) | ||
theFirstProductOnTheListShouldHave ( $field, $value ) | ||
theImageCodeFieldShouldBeDisabled ( ) | ||
theLastProductOnTheListShouldHave ( $field, $value ) | ||
theOptionFieldShouldBeDisabled ( ) | ||
theProductForCurrencyAndChannelShouldBePricedAt ( Sylius\Component\Currency\Model\CurrencyInterface $currency, Sylius\Component\Core\Model\ChannelInterface $channel, $price ) | ||
theProductShouldAppearInTheShop ( $productName ) | ||
theProductShouldHaveAnAssociationWithProducts ( Sylius\Component\Product\Model\ProductAssociationTypeInterface $productAssociationType, $productsNames ) | ||
theProductShouldNotHaveAnAssociationWithProducts ( Sylius\Component\Product\Model\ProductAssociationTypeInterface $productAssociationType, $productName ) | ||
theSlugFieldShouldNotBeEditable ( $localeCode = 'en_US' ) | ||
thereAreNoProductReviews ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
thereShouldStillBeOnlyOneImageInThisTaxon ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
theyShouldHaveOrderLikeAnd ( $productNames ) | ||
thisProductElementShouldBe ( $name ) | ||
thisProductElementShouldHaveSlugIn ( $slug, $language ) | ||
thisProductMainTaxonShouldBe ( Sylius\Component\Core\Model\ProductInterface $product, $taxonName ) | ||
thisProductPriceShouldBeEqualTo ( $price ) | ||
thisProductShouldBeTracked ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
thisProductShouldHaveAnImageWithCode ( Sylius\Component\Core\Model\ProductInterface $product, $code ) | ||
thisProductShouldHaveOption ( $productOption ) | ||
thisProductShouldNoLongerHavePriceForChannel ( Sylius\Component\Core\Model\ProductInterface $product, $channelName ) | ||
thisProductShouldNotBeTracked ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
thisProductShouldNotHaveAnImageWithCode ( Sylius\Component\Core\Model\ProductInterface $product, $code ) | ||
thisProductShouldNotHaveImages ( Sylius\Component\Core\Model\ProductInterface $product ) |
Method | Description | |
---|---|---|
assertElementValue ( string $element, string $value ) | ||
assertValidationMessage ( string $element, string $message ) | ||
resolveCurrentPage ( ) : Sylius\Behat\Page\SymfonyPageInterface |
public __construct ( Sylius\Behat\Service\SharedStorageInterface $sharedStorage, Sylius\Behat\Page\Admin\Product\CreateSimpleProductPageInterface $createSimpleProductPage, Sylius\Behat\Page\Admin\Product\CreateConfigurableProductPageInterface $createConfigurableProductPage, Sylius\Behat\Page\Admin\Product\IndexPageInterface $indexPage, Sylius\Behat\Page\Admin\Product\UpdateSimpleProductPageInterface $updateSimpleProductPage, Sylius\Behat\Page\Admin\Product\UpdateConfigurableProductPageInterface $updateConfigurableProductPage, Sylius\Behat\Page\Admin\ProductReview\IndexPageInterface $productReviewIndexPage, Sylius\Behat\Page\Admin\Product\IndexPerTaxonPageInterface $indexPerTaxonPage, Sylius\Behat\Service\Resolver\CurrentPageResolverInterface $currentPageResolver, Sylius\Behat\Service\NotificationCheckerInterface $notificationChecker ) | ||
$sharedStorage | Sylius\Behat\Service\SharedStorageInterface | |
$createSimpleProductPage | Sylius\Behat\Page\Admin\Product\CreateSimpleProductPageInterface | |
$createConfigurableProductPage | Sylius\Behat\Page\Admin\Product\CreateConfigurableProductPageInterface | |
$indexPage | Sylius\Behat\Page\Admin\Product\IndexPageInterface | |
$updateSimpleProductPage | Sylius\Behat\Page\Admin\Product\UpdateSimpleProductPageInterface | |
$updateConfigurableProductPage | Sylius\Behat\Page\Admin\Product\UpdateConfigurableProductPageInterface | |
$productReviewIndexPage | Sylius\Behat\Page\Admin\ProductReview\IndexPageInterface | |
$indexPerTaxonPage | Sylius\Behat\Page\Admin\Product\IndexPerTaxonPageInterface | |
$currentPageResolver | Sylius\Behat\Service\Resolver\CurrentPageResolverInterface | |
$notificationChecker | Sylius\Behat\Service\NotificationCheckerInterface |
public iAmBrowsingProductsFromTaxon ( Sylius\Component\Taxonomy\Model\TaxonInterface $taxon ) | ||
$taxon | Sylius\Component\Taxonomy\Model\TaxonInterface |
public iAssociateProductsAsProductAssociation ( Sylius\Component\Product\Model\ProductAssociationTypeInterface $productAssociationType, $productsNames ) | ||
$productAssociationType | Sylius\Component\Product\Model\ProductAssociationTypeInterface |
public iChangeItsImageToPathForTheCode ( $path, $code ) |
public iChooseMainTaxon ( Sylius\Component\Taxonomy\Model\TaxonInterface $taxon ) | ||
$taxon | Sylius\Component\Taxonomy\Model\TaxonInterface |
public iDeleteProduct ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
$product | Sylius\Component\Core\Model\ProductInterface |
public iRemoveAnAssociatedProductFromProductAssociation ( $productName, Sylius\Component\Product\Model\ProductAssociationTypeInterface $productAssociationType ) | ||
$productAssociationType | Sylius\Component\Product\Model\ProductAssociationTypeInterface |
public iSetItsShippingCategoryAs ( $shippingCategoryName ) |
public iShouldBeNotifiedThatAnImageCodeIsRequired ( ) |
public iShouldBeNotifiedThatCodeHasToBeUnique ( ) |
public iShouldBeNotifiedThatPriceIsRequired ( ) |
public iShouldSeeProductsInTheList ( $numberOfProducts ) |
public iWantToCreateANewConfigurableProduct ( ) |
public iWantToModifyAProduct ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
$product | Sylius\Component\Core\Model\ProductInterface |
public itShouldBePricedAtForChannel ( Sylius\Component\Core\Model\ProductInterface $product, $price, $channelName ) | ||
$product | Sylius\Component\Core\Model\ProductInterface |
public itsAttributeShouldBe ( $attribute, Sylius\Component\Core\Model\ProductInterface $product, $value ) | ||
$product | Sylius\Component\Core\Model\ProductInterface |
public productShouldExistInTheProductCatalog ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
$product | Sylius\Component\Core\Model\ProductInterface |
public productShouldNotExist ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
$product | Sylius\Component\Core\Model\ProductInterface |
public productShouldNotHaveAttribute ( Sylius\Component\Core\Model\ProductInterface $product, $attribute ) | ||
$product | Sylius\Component\Core\Model\ProductInterface |
public productSlugShouldBe ( Sylius\Component\Core\Model\ProductInterface $product, $slug, $locale = "en_US" ) | ||
$product | Sylius\Component\Core\Model\ProductInterface |
public productWithNameShouldNotBeAdded ( $element, $value ) |
public theFirstProductOnTheListShouldHave ( $field, $value ) |
public theLastProductOnTheListShouldHave ( $field, $value ) |
public theProductForCurrencyAndChannelShouldBePricedAt ( Sylius\Component\Currency\Model\CurrencyInterface $currency, Sylius\Component\Core\Model\ChannelInterface $channel, $price ) | ||
$currency | Sylius\Component\Currency\Model\CurrencyInterface | |
$channel | Sylius\Component\Core\Model\ChannelInterface |
public theProductShouldAppearInTheShop ( $productName ) |
public theProductShouldHaveAnAssociationWithProducts ( Sylius\Component\Product\Model\ProductAssociationTypeInterface $productAssociationType, $productsNames ) | ||
$productAssociationType | Sylius\Component\Product\Model\ProductAssociationTypeInterface |
public theProductShouldNotHaveAnAssociationWithProducts ( Sylius\Component\Product\Model\ProductAssociationTypeInterface $productAssociationType, $productName ) | ||
$productAssociationType | Sylius\Component\Product\Model\ProductAssociationTypeInterface |
public theSlugFieldShouldNotBeEditable ( $localeCode = 'en_US' ) |
public thereAreNoProductReviews ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
$product | Sylius\Component\Core\Model\ProductInterface |
public thereShouldStillBeOnlyOneImageInThisTaxon ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
$product | Sylius\Component\Core\Model\ProductInterface |
public thisProductElementShouldHaveSlugIn ( $slug, $language ) |
public thisProductMainTaxonShouldBe ( Sylius\Component\Core\Model\ProductInterface $product, $taxonName ) | ||
$product | Sylius\Component\Core\Model\ProductInterface |
public thisProductShouldBeTracked ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
$product | Sylius\Component\Core\Model\ProductInterface |
public thisProductShouldHaveAnImageWithCode ( Sylius\Component\Core\Model\ProductInterface $product, $code ) | ||
$product | Sylius\Component\Core\Model\ProductInterface |
public thisProductShouldNoLongerHavePriceForChannel ( Sylius\Component\Core\Model\ProductInterface $product, $channelName ) | ||
$product | Sylius\Component\Core\Model\ProductInterface |
public thisProductShouldNotBeTracked ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
$product | Sylius\Component\Core\Model\ProductInterface |
public thisProductShouldNotHaveAnImageWithCode ( Sylius\Component\Core\Model\ProductInterface $product, $code ) | ||
$product | Sylius\Component\Core\Model\ProductInterface |
public thisProductShouldNotHaveImages ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
$product | Sylius\Component\Core\Model\ProductInterface |