PHP 클래스 Sylius\Behat\Context\Ui\Admin\ManagingProductAttributesContext

저자: Anna Walasek ([email protected])
상속: implements Behat\Behat\Context\Context
파일 보기 프로젝트 열기: sylius/sylius

공개 메소드들

메소드 설명
__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 )

비공개 메소드들

메소드 설명
assertFieldValidationMessage ( string $element, string $expectedMessage )

메소드 상세

__construct() 공개 메소드

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

iAddIt() 공개 메소드

public iAddIt ( )

iChangeItNameToIn() 공개 메소드

public iChangeItNameToIn ( $name, $language )

iDeleteThisProductAttribute() 공개 메소드

public iDeleteThisProductAttribute ( Sylius\Component\Product\Model\ProductAttributeInterface $productAttribute )
$productAttribute Sylius\Component\Product\Model\ProductAttributeInterface

iDoNotNameIt() 공개 메소드

public iDoNotNameIt ( )

iRemoveItsNameFromTranslation() 공개 메소드

public iRemoveItsNameFromTranslation ( $language )

iSaveMyChanges() 공개 메소드

public iSaveMyChanges ( )

iShouldBeNotifiedThatIsRequired() 공개 메소드

public iShouldBeNotifiedThatIsRequired ( $element )

iShouldBeNotifiedThatProductAttributeWithThisCodeAlreadyExists() 공개 메소드

iShouldSeeCustomersInTheList() 공개 메소드

public iShouldSeeCustomersInTheList ( $amountOfProductAttributes )

iShouldSeeTheProductAttributeInTheList() 공개 메소드

iSpecifyItsCodeAs() 공개 메소드

public iSpecifyItsCodeAs ( $code = null )

iSpecifyItsNameAs() 공개 메소드

public iSpecifyItsNameAs ( $name, $language )

iWantToCreateANewTextProductAttribute() 공개 메소드

iWantToEditThisAttribute() 공개 메소드

public iWantToEditThisAttribute ( Sylius\Component\Product\Model\ProductAttributeInterface $productAttribute )
$productAttribute Sylius\Component\Product\Model\ProductAttributeInterface

iWantToSeeAllProductAttributesInStore() 공개 메소드

theAttributeShouldAppearInTheStore() 공개 메소드

public theAttributeShouldAppearInTheStore ( $type, $name )

theAttributeWithCodeShouldNotAppearInTheStore() 공개 메소드

public theAttributeWithCodeShouldNotAppearInTheStore ( $elementName, $elementValue )

theCodeFieldShouldBeDisabled() 공개 메소드

theFirstProductAttributeOnTheListShouldHave() 공개 메소드

theLastProductAttributeOnTheListShouldHave() 공개 메소드

theTypeFieldShouldBeDisabled() 공개 메소드

thereShouldStillBeOnlyOneProductAttributeWithCode() 공개 메소드

thisProductAttributeShouldNoLongerExistInTheRegistry() 공개 메소드

public thisProductAttributeShouldNoLongerExistInTheRegistry ( Sylius\Component\Product\Model\ProductAttributeInterface $productAttribute )
$productAttribute Sylius\Component\Product\Model\ProductAttributeInterface