Method | Description | |
---|---|---|
__construct ( Sylius\Behat\Service\SharedStorageInterface $sharedStorage, Sylius\Component\Product\Resolver\DefaultProductVariantResolver $defaultProductVariantResolver, Sylius\Behat\Page\Admin\ProductVariant\CreatePageInterface $createPage, Sylius\Behat\Page\Admin\ProductVariant\IndexPageInterface $indexPage, Sylius\Behat\Page\Admin\ProductVariant\UpdatePageInterface $updatePage, Sylius\Behat\Page\Admin\ProductVariant\GeneratePageInterface $generatePage, Sylius\Behat\Service\Resolver\CurrentPageResolverInterface $currentPageResolver, Sylius\Behat\Service\NotificationCheckerInterface $notificationChecker ) | ||
iAddIt ( ) | ||
iChangeItsPriceTo ( $price ) | ||
iChooseCalculator ( $calculatorName ) | ||
iClickGenerate ( ) | ||
iDeleteTheVariantOfProduct ( Sylius\Component\Core\Model\ProductVariantInterface $productVariant ) | ||
iDisableItsTracking ( ) | ||
iDoNetSetItsCurrentStockTo ( ) | ||
iEnableItsTracking ( ) | ||
iNameItIn ( $name ) | ||
iRemoveItsNameFromTranslation ( ) | ||
iRemoveVariantFromTheList ( $nthVariant ) | ||
iRenameItTo ( $name ) | ||
iSaveMyChanges ( ) | ||
iSetItsDimensionsTo ( $value ) | ||
iSetItsOptionAs ( $optionName, $optionValue ) | ||
iSetItsPriceTo ( $price = null, $channel = null ) | ||
iSetItsPriceToForCurrencyAndChannel ( $price, Sylius\Component\Currency\Model\CurrencyInterface $currency, Sylius\Component\Core\Model\ChannelInterface $channel ) | ||
iSetItsShippingCategoryAs ( $shippingCategoryName ) | ||
iShouldBeNotifiedOfFailure ( ) | ||
iShouldBeNotifiedThatCodeHasToBeUnique ( ) | ||
iShouldBeNotifiedThatCodeIsRequiredForVariant ( $position ) | ||
iShouldBeNotifiedThatIsHeightWidthDepthWeightCannotBeLowerThan ( ) | ||
iShouldBeNotifiedThatIsRequired ( $element ) | ||
iShouldBeNotifiedThatItHasBeenSuccessfullyGenerated ( ) | ||
iShouldBeNotifiedThatOnHandIsRequired ( ) | ||
iShouldBeNotifiedThatPriceCannotBeLowerThen ( ) | ||
iShouldBeNotifiedThatPricesInAllChannelsMustBeDefined ( ) | ||
iShouldBeNotifiedThatPricesInAllChannelsMustBeDefinedForTheVariant ( $position ) | ||
iShouldBeNotifiedThatThisVariantAlreadyExists ( ) | ||
iShouldSeeProductVariantsInTheList ( $numberOfProductVariants ) | ||
iShouldSeeThatIsNotTracked ( Sylius\Component\Core\Model\ProductVariantInterface $productVariant ) | ||
iShouldSeeThatTheVariantHasZeroOnHandQuantity ( Sylius\Component\Core\Model\ProductVariantInterface $productVariant ) | ||
iSpecifyItsCodeAs ( $code = null ) | ||
iSpecifyThereAreVariantsIdentifiedByCode ( $nthVariant, $code ) | ||
iSpecifyThereAreVariantsIdentifiedByCodeWithCost ( $nthVariant, $code, $price, $channelName ) | ||
iSpecifyThereAreVariantsWithCost ( $nthVariant, $price, $channelName ) | ||
iWantToCreateANewProduct ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
iWantToGenerateNewVariantsForThisProduct ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
iWantToModifyAProduct ( Sylius\Component\Core\Model\ProductVariantInterface $productVariant ) | ||
iWantToViewAllVariantsOfThisProduct ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
productShouldExistInTheProductCatalog ( Sylius\Component\Core\Model\ProductVariantInterface $productVariant ) | ||
productVariantShouldNotExist ( Sylius\Component\Core\Model\ProductVariantInterface $productVariant ) | ||
theCodeFieldShouldBeDisabled ( ) | ||
theProductForCurrencyAndChannelShouldBePricedAt ( Sylius\Component\Core\Model\ProductVariantInterface $productVariant, Sylius\Component\Currency\Model\CurrencyInterface $currency, Sylius\Component\Core\Model\ChannelInterface $channel, $price ) | ||
theProductShouldHaveNoVariants ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
theProductShouldHaveOnlyOneVariant ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
theProductVariantShouldAppearInTheShop ( $productVariantCode, Sylius\Component\Core\Model\ProductInterface $product ) | ||
theProductVariantShouldNotAppearInTheShop ( $productVariantCode, Sylius\Component\Core\Model\ProductInterface $product ) | ||
theVariantOfProductShouldHaveItemsOnHand ( $productVariantName, Sylius\Component\Core\Model\ProductInterface $product, $quantity ) | ||
theVariantOfProductShouldHaveItemsOnHold ( Sylius\Component\Core\Model\ProductVariantInterface $variant, Sylius\Component\Core\Model\ProductInterface $product, $amount ) | ||
theVariantWithCodeShouldBePricedAtForChannel ( Sylius\Component\Core\Model\ProductVariantInterface $productVariant, $price, $channelName ) | ||
thereShouldBeNoUnitsOfThisProductOnHold ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
thisProductVariantShouldBeTracked ( Sylius\Component\Core\Model\ProductVariantInterface $productVariant ) | ||
thisProductVariantShouldNotBeTracked ( Sylius\Component\Core\Model\ProductVariantInterface $productVariant ) | ||
thisVariantShouldHaveItemsOnHand ( $productVariantName, $quantity ) | ||
thisVariantShouldHaveItemsOnHold ( Sylius\Component\Core\Model\ProductVariantInterface $variant, $amount ) | ||
unitsOfThisProductShouldBeOnHand ( $quantity, Sylius\Component\Core\Model\ProductInterface $product ) | ||
unitsOfThisProductShouldBeOnHold ( $quantity, Sylius\Component\Core\Model\ProductInterface $product ) |
Method | Description | |
---|---|---|
assertNumberOfVariantsOnProductPage ( Sylius\Component\Core\Model\ProductInterface $product, integer $amount ) | ||
assertOnHoldQuantityOfVariant ( integer $expectedAmount, Sylius\Component\Core\Model\ProductVariantInterface $variant ) | ||
assertValidationMessage ( string $element, $message ) |
public __construct ( Sylius\Behat\Service\SharedStorageInterface $sharedStorage, Sylius\Component\Product\Resolver\DefaultProductVariantResolver $defaultProductVariantResolver, Sylius\Behat\Page\Admin\ProductVariant\CreatePageInterface $createPage, Sylius\Behat\Page\Admin\ProductVariant\IndexPageInterface $indexPage, Sylius\Behat\Page\Admin\ProductVariant\UpdatePageInterface $updatePage, Sylius\Behat\Page\Admin\ProductVariant\GeneratePageInterface $generatePage, Sylius\Behat\Service\Resolver\CurrentPageResolverInterface $currentPageResolver, Sylius\Behat\Service\NotificationCheckerInterface $notificationChecker ) | ||
$sharedStorage | Sylius\Behat\Service\SharedStorageInterface | |
$defaultProductVariantResolver | Sylius\Component\Product\Resolver\DefaultProductVariantResolver | |
$createPage | Sylius\Behat\Page\Admin\ProductVariant\CreatePageInterface | |
$indexPage | Sylius\Behat\Page\Admin\ProductVariant\IndexPageInterface | |
$updatePage | Sylius\Behat\Page\Admin\ProductVariant\UpdatePageInterface | |
$generatePage | Sylius\Behat\Page\Admin\ProductVariant\GeneratePageInterface | |
$currentPageResolver | Sylius\Behat\Service\Resolver\CurrentPageResolverInterface | |
$notificationChecker | Sylius\Behat\Service\NotificationCheckerInterface |
public iDeleteTheVariantOfProduct ( Sylius\Component\Core\Model\ProductVariantInterface $productVariant ) | ||
$productVariant | Sylius\Component\Core\Model\ProductVariantInterface |
public iSetItsPriceToForCurrencyAndChannel ( $price, Sylius\Component\Currency\Model\CurrencyInterface $currency, Sylius\Component\Core\Model\ChannelInterface $channel ) | ||
$currency | Sylius\Component\Currency\Model\CurrencyInterface | |
$channel | Sylius\Component\Core\Model\ChannelInterface |
public iSetItsShippingCategoryAs ( $shippingCategoryName ) |
public iShouldBeNotifiedThatCodeHasToBeUnique ( ) |
public iShouldBeNotifiedThatCodeIsRequiredForVariant ( $position ) |
public iShouldBeNotifiedThatOnHandIsRequired ( ) |
public iShouldBeNotifiedThatPriceCannotBeLowerThen ( ) |
public iShouldBeNotifiedThatPricesInAllChannelsMustBeDefinedForTheVariant ( $position ) |
public iShouldSeeProductVariantsInTheList ( $numberOfProductVariants ) |
public iShouldSeeThatIsNotTracked ( Sylius\Component\Core\Model\ProductVariantInterface $productVariant ) | ||
$productVariant | Sylius\Component\Core\Model\ProductVariantInterface |
public iShouldSeeThatTheVariantHasZeroOnHandQuantity ( Sylius\Component\Core\Model\ProductVariantInterface $productVariant ) | ||
$productVariant | Sylius\Component\Core\Model\ProductVariantInterface |
public iSpecifyThereAreVariantsIdentifiedByCode ( $nthVariant, $code ) |
public iSpecifyThereAreVariantsIdentifiedByCodeWithCost ( $nthVariant, $code, $price, $channelName ) |
public iSpecifyThereAreVariantsWithCost ( $nthVariant, $price, $channelName ) |
public iWantToCreateANewProduct ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
$product | Sylius\Component\Core\Model\ProductInterface |
public iWantToGenerateNewVariantsForThisProduct ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
$product | Sylius\Component\Core\Model\ProductInterface |
public iWantToModifyAProduct ( Sylius\Component\Core\Model\ProductVariantInterface $productVariant ) | ||
$productVariant | Sylius\Component\Core\Model\ProductVariantInterface |
public iWantToViewAllVariantsOfThisProduct ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
$product | Sylius\Component\Core\Model\ProductInterface |
public productShouldExistInTheProductCatalog ( Sylius\Component\Core\Model\ProductVariantInterface $productVariant ) | ||
$productVariant | Sylius\Component\Core\Model\ProductVariantInterface |
public productVariantShouldNotExist ( Sylius\Component\Core\Model\ProductVariantInterface $productVariant ) | ||
$productVariant | Sylius\Component\Core\Model\ProductVariantInterface |
public theProductForCurrencyAndChannelShouldBePricedAt ( Sylius\Component\Core\Model\ProductVariantInterface $productVariant, Sylius\Component\Currency\Model\CurrencyInterface $currency, Sylius\Component\Core\Model\ChannelInterface $channel, $price ) | ||
$productVariant | Sylius\Component\Core\Model\ProductVariantInterface | |
$currency | Sylius\Component\Currency\Model\CurrencyInterface | |
$channel | Sylius\Component\Core\Model\ChannelInterface |
public theProductShouldHaveNoVariants ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
$product | Sylius\Component\Core\Model\ProductInterface |
public theProductShouldHaveOnlyOneVariant ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
$product | Sylius\Component\Core\Model\ProductInterface |
public theProductVariantShouldAppearInTheShop ( $productVariantCode, Sylius\Component\Core\Model\ProductInterface $product ) | ||
$product | Sylius\Component\Core\Model\ProductInterface |
public theProductVariantShouldNotAppearInTheShop ( $productVariantCode, Sylius\Component\Core\Model\ProductInterface $product ) | ||
$product | Sylius\Component\Core\Model\ProductInterface |
public theVariantOfProductShouldHaveItemsOnHand ( $productVariantName, Sylius\Component\Core\Model\ProductInterface $product, $quantity ) | ||
$product | Sylius\Component\Core\Model\ProductInterface |
public theVariantOfProductShouldHaveItemsOnHold ( Sylius\Component\Core\Model\ProductVariantInterface $variant, Sylius\Component\Core\Model\ProductInterface $product, $amount ) | ||
$variant | Sylius\Component\Core\Model\ProductVariantInterface | |
$product | Sylius\Component\Core\Model\ProductInterface |
public theVariantWithCodeShouldBePricedAtForChannel ( Sylius\Component\Core\Model\ProductVariantInterface $productVariant, $price, $channelName ) | ||
$productVariant | Sylius\Component\Core\Model\ProductVariantInterface |
public thereShouldBeNoUnitsOfThisProductOnHold ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
$product | Sylius\Component\Core\Model\ProductInterface |
public thisProductVariantShouldBeTracked ( Sylius\Component\Core\Model\ProductVariantInterface $productVariant ) | ||
$productVariant | Sylius\Component\Core\Model\ProductVariantInterface |
public thisProductVariantShouldNotBeTracked ( Sylius\Component\Core\Model\ProductVariantInterface $productVariant ) | ||
$productVariant | Sylius\Component\Core\Model\ProductVariantInterface |
public thisVariantShouldHaveItemsOnHand ( $productVariantName, $quantity ) |
public thisVariantShouldHaveItemsOnHold ( Sylius\Component\Core\Model\ProductVariantInterface $variant, $amount ) | ||
$variant | Sylius\Component\Core\Model\ProductVariantInterface |
public unitsOfThisProductShouldBeOnHand ( $quantity, Sylius\Component\Core\Model\ProductInterface $product ) | ||
$product | Sylius\Component\Core\Model\ProductInterface |
public unitsOfThisProductShouldBeOnHold ( $quantity, Sylius\Component\Core\Model\ProductInterface $product ) | ||
$product | Sylius\Component\Core\Model\ProductInterface |