Method | Description | |
---|---|---|
__construct ( Sylius\Behat\Page\Admin\ProductAttribute\CreatePageInterface $createPage, Sylius\Behat\Page\Admin\Crud\IndexPageInterface $indexPage, Sylius\Behat\Page\Admin\ProductAttribute\UpdatePageInterface $updatePage, Sylius\Behat\Service\Resolver\CurrentPageResolverInterface $currentPageResolver ) | ||
iAddIt ( ) | ||
iChangeItNameToIn ( $name, $language ) | ||
iDeleteThisProductAttribute ( Sylius\Component\Product\Model\ProductAttributeInterface $productAttribute ) | ||
iDoNotNameIt ( ) | ||
iRemoveItsNameFromTranslation ( $language ) | ||
iSaveMyChanges ( ) | ||
iShouldBeNotifiedThatIsRequired ( $element ) | ||
iShouldBeNotifiedThatProductAttributeWithThisCodeAlreadyExists ( ) | ||
iShouldSeeCustomersInTheList ( $amountOfProductAttributes ) | ||
iShouldSeeTheProductAttributeInTheList ( $name ) | ||
iSpecifyItsCodeAs ( $code = null ) | ||
iSpecifyItsNameAs ( $name, $language ) | ||
iWantToCreateANewTextProductAttribute ( $type ) | ||
iWantToEditThisAttribute ( Sylius\Component\Product\Model\ProductAttributeInterface $productAttribute ) | ||
iWantToSeeAllProductAttributesInStore ( ) | ||
theAttributeShouldAppearInTheStore ( $type, $name ) | ||
theAttributeWithCodeShouldNotAppearInTheStore ( $elementName, $elementValue ) | ||
theCodeFieldShouldBeDisabled ( ) | ||
theFirstProductAttributeOnTheListShouldHave ( $name ) | ||
theLastProductAttributeOnTheListShouldHave ( $name ) | ||
theTypeFieldShouldBeDisabled ( ) | ||
thereShouldStillBeOnlyOneProductAttributeWithCode ( $code ) | ||
thisProductAttributeShouldNoLongerExistInTheRegistry ( Sylius\Component\Product\Model\ProductAttributeInterface $productAttribute ) |
Method | Description | |
---|---|---|
assertFieldValidationMessage ( string $element, string $expectedMessage ) |
public __construct ( Sylius\Behat\Page\Admin\ProductAttribute\CreatePageInterface $createPage, Sylius\Behat\Page\Admin\Crud\IndexPageInterface $indexPage, Sylius\Behat\Page\Admin\ProductAttribute\UpdatePageInterface $updatePage, Sylius\Behat\Service\Resolver\CurrentPageResolverInterface $currentPageResolver ) | ||
$createPage | Sylius\Behat\Page\Admin\ProductAttribute\CreatePageInterface | |
$indexPage | Sylius\Behat\Page\Admin\Crud\IndexPageInterface | |
$updatePage | Sylius\Behat\Page\Admin\ProductAttribute\UpdatePageInterface | |
$currentPageResolver | Sylius\Behat\Service\Resolver\CurrentPageResolverInterface |
public iDeleteThisProductAttribute ( Sylius\Component\Product\Model\ProductAttributeInterface $productAttribute ) | ||
$productAttribute | Sylius\Component\Product\Model\ProductAttributeInterface |
public iShouldSeeCustomersInTheList ( $amountOfProductAttributes ) |
public iShouldSeeTheProductAttributeInTheList ( $name ) |
public iWantToCreateANewTextProductAttribute ( $type ) |
public iWantToEditThisAttribute ( Sylius\Component\Product\Model\ProductAttributeInterface $productAttribute ) | ||
$productAttribute | Sylius\Component\Product\Model\ProductAttributeInterface |
public iWantToSeeAllProductAttributesInStore ( ) |
public theAttributeShouldAppearInTheStore ( $type, $name ) |
public theAttributeWithCodeShouldNotAppearInTheStore ( $elementName, $elementValue ) |
public theFirstProductAttributeOnTheListShouldHave ( $name ) |
public theLastProductAttributeOnTheListShouldHave ( $name ) |
public thereShouldStillBeOnlyOneProductAttributeWithCode ( $code ) |
public thisProductAttributeShouldNoLongerExistInTheRegistry ( Sylius\Component\Product\Model\ProductAttributeInterface $productAttribute ) | ||
$productAttribute | Sylius\Component\Product\Model\ProductAttributeInterface |