PHP 클래스 Sylius\Behat\Page\Admin\Product\CreateSimpleProductPage

저자: Łukasz Chruściel ([email protected])
상속: extends Sylius\Behat\Page\Admin\Crud\CreatePage, implements Sylius\Behat\Page\Admin\Product\CreateSimpleProductPageInterface, use trait Sylius\Behat\Behaviour\SpecifiesItsCode
파일 보기 프로젝트 열기: sylius/sylius

공개 메소드들

메소드 설명
activateLanguageTab ( $locale )
addAttribute ( $attribute, $value )
associateProducts ( Sylius\Component\Product\Model\ProductAssociationTypeInterface $productAssociationType, array $productsNames )
attachImage ( $path, $code = null )
checkChannel ( $channelName )
choosePricingCalculator ( $name )
getRouteName ( )
nameItIn ( $name, $localeCode )
removeAssociatedProduct ( $productName, Sylius\Component\Product\Model\ProductAssociationTypeInterface $productAssociationType )
removeAttribute ( $attribute )
selectShippingCategory ( $shippingCategoryName )
specifyPrice ( $channelName, $price )
specifyPriceForChannelAndCurrency ( $price, Sylius\Component\Core\Model\ChannelInterface $channel, Sylius\Component\Currency\Model\CurrencyInterface $currency )
specifySlugIn ( $slug, $locale )

보호된 메소드들

메소드 설명
getDefinedElements ( )
getElement ( $name, array $parameters = [] )

비공개 메소드들

메소드 설명
clickTab ( string $tabName )
clickTabIfItsNotActive ( string $tabName )
getLastImageElement ( ) : Behat\Mink\Element\NodeElement
selectElementFromAttributesDropdown ( integer $id )
waitForFormElement ( integer $timeout = 5 )
waitForSlugGenerationIfNecessary ( string $locale )

메소드 상세

activateLanguageTab() 공개 메소드

public activateLanguageTab ( $locale )

addAttribute() 공개 메소드

public addAttribute ( $attribute, $value )

associateProducts() 공개 메소드

public associateProducts ( Sylius\Component\Product\Model\ProductAssociationTypeInterface $productAssociationType, array $productsNames )
$productAssociationType Sylius\Component\Product\Model\ProductAssociationTypeInterface
$productsNames array

attachImage() 공개 메소드

public attachImage ( $path, $code = null )

checkChannel() 공개 메소드

public checkChannel ( $channelName )

choosePricingCalculator() 공개 메소드

public choosePricingCalculator ( $name )

getDefinedElements() 보호된 메소드

protected getDefinedElements ( )

getElement() 보호된 메소드

protected getElement ( $name, array $parameters = [] )
$parameters array

getRouteName() 공개 메소드

public getRouteName ( )

nameItIn() 공개 메소드

public nameItIn ( $name, $localeCode )

removeAssociatedProduct() 공개 메소드

public removeAssociatedProduct ( $productName, Sylius\Component\Product\Model\ProductAssociationTypeInterface $productAssociationType )
$productAssociationType Sylius\Component\Product\Model\ProductAssociationTypeInterface

removeAttribute() 공개 메소드

public removeAttribute ( $attribute )

selectShippingCategory() 공개 메소드

public selectShippingCategory ( $shippingCategoryName )

specifyPrice() 공개 메소드

public specifyPrice ( $channelName, $price )

specifyPriceForChannelAndCurrency() 공개 메소드

public specifyPriceForChannelAndCurrency ( $price, Sylius\Component\Core\Model\ChannelInterface $channel, Sylius\Component\Currency\Model\CurrencyInterface $currency )
$channel Sylius\Component\Core\Model\ChannelInterface
$currency Sylius\Component\Currency\Model\CurrencyInterface

specifySlugIn() 공개 메소드

public specifySlugIn ( $slug, $locale )