PHP Class Sylius\Behat\Page\Admin\Product\UpdateConfigurableProductPage

Author: Łukasz Chruściel ([email protected])
Inheritance: extends Sylius\Behat\Page\Admin\Crud\UpdatePage, implements Sylius\Behat\Page\Admin\Product\UpdateConfigurableProductPageInterface, use trait Sylius\Behat\Behaviour\ChecksCodeImmutability
Exibir arquivo Open project: sylius/sylius

Public Methods

Method Description
attachImage ( $path, $code = null )
changeImageWithCode ( $code, $path )
countImages ( )
getValidationMessageForImage ( )
isImageCodeDisabled ( ) : boolean
isImageWithCodeDisplayed ( $code )
isMainTaxonChosen ( $taxonName )
isProductOptionChosen ( $option )
isProductOptionsDisabled ( ) : boolean
nameItIn ( $name, $localeCode )
removeFirstImage ( )
removeImageWithCode ( $code )
selectMainTaxon ( Sylius\Component\Taxonomy\Model\TaxonInterface $taxon )

Protected Methods

Method Description
getCodeElement ( )
getDefinedElements ( )

Private Methods

Method Description
clickTabIfItsNotActive ( string $tabName )
getFirstImageElement ( ) : Behat\Mink\Element\NodeElement
getImageElementByCode ( string $code ) : Behat\Mink\Element\NodeElement
getImageElements ( ) : Behat\Mink\Element\NodeElement[]
getLastImageElement ( ) : Behat\Mink\Element\NodeElement
openTaxonBookmarks ( )

Method Details

attachImage() public method

public attachImage ( $path, $code = null )

changeImageWithCode() public method

public changeImageWithCode ( $code, $path )

countImages() public method

public countImages ( )

getCodeElement() protected method

protected getCodeElement ( )

getDefinedElements() protected method

protected getDefinedElements ( )

getValidationMessageForImage() public method

isImageCodeDisabled() public method

public isImageCodeDisabled ( ) : boolean
return boolean

isImageWithCodeDisplayed() public method

public isImageWithCodeDisplayed ( $code )

isMainTaxonChosen() public method

public isMainTaxonChosen ( $taxonName )

isProductOptionChosen() public method

public isProductOptionChosen ( $option )

isProductOptionsDisabled() public method

nameItIn() public method

public nameItIn ( $name, $localeCode )

removeFirstImage() public method

public removeFirstImage ( )

removeImageWithCode() public method

public removeImageWithCode ( $code )

selectMainTaxon() public method

public selectMainTaxon ( Sylius\Component\Taxonomy\Model\TaxonInterface $taxon )
$taxon Sylius\Component\Taxonomy\Model\TaxonInterface