PHP Class Sylius\Behat\Page\Admin\Taxon\UpdatePage

Author: Arkadiusz Krakowiak ([email protected])
Inheritance: extends Sylius\Behat\Page\Admin\Crud\UpdatePage, implements Sylius\Behat\Page\Admin\Taxon\UpdatePageInterface, use trait Sylius\Behat\Behaviour\ChecksCodeImmutability
Datei anzeigen Open project: sylius/sylius

Public Methods

Method Description
activateLanguageTab ( $locale )
attachImage ( $path, $code = null )
changeImageWithCode ( $code, $path )
chooseParent ( Sylius\Component\Core\Model\TaxonInterface $taxon )
countImages ( )
describeItAs ( $description, $languageCode )
enableSlugModification ( $languageCode = 'en_US' )
getParent ( )
getSlug ( $languageCode = 'en_US' )
getValidationMessageForImage ( )
getValidationMessageForImageAtPlace ( $place )
isImageCodeDisabled ( ) : boolean
isImageWithCodeDisplayed ( $code )
isSlugReadOnly ( $languageCode = 'en_US' )
nameIt ( $name, $languageCode )
removeFirstImage ( )
removeImageWithCode ( $code )
specifySlug ( $slug, $languageCode )

Protected Methods

Method Description
getCodeElement ( ) : Behat\Mink\Element\NodeElement
getDefinedElements ( )
getElement ( $name, array $parameters = [] )

Private Methods

Method Description
getFirstImageElement ( ) : Behat\Mink\Element\NodeElement
getImageElementByCode ( string $code ) : Behat\Mink\Element\NodeElement
getImageElements ( ) : Behat\Mink\Element\NodeElement[]
getLastImageElement ( ) : Behat\Mink\Element\NodeElement
waitForSlugGenerationIfNecessary ( string $languageCode = 'en_US' )

Method Details

activateLanguageTab() public method

public activateLanguageTab ( $locale )

attachImage() public method

public attachImage ( $path, $code = null )

changeImageWithCode() public method

public changeImageWithCode ( $code, $path )

chooseParent() public method

public chooseParent ( Sylius\Component\Core\Model\TaxonInterface $taxon )
$taxon Sylius\Component\Core\Model\TaxonInterface

countImages() public method

public countImages ( )

describeItAs() public method

public describeItAs ( $description, $languageCode )

enableSlugModification() public method

public enableSlugModification ( $languageCode = 'en_US' )

getCodeElement() protected method

protected getCodeElement ( ) : Behat\Mink\Element\NodeElement
return Behat\Mink\Element\NodeElement

getDefinedElements() protected method

protected getDefinedElements ( )

getElement() protected method

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

getParent() public method

public getParent ( )

getSlug() public method

public getSlug ( $languageCode = 'en_US' )

getValidationMessageForImage() public method

getValidationMessageForImageAtPlace() public method

isImageCodeDisabled() public method

public isImageCodeDisabled ( ) : boolean
return boolean

isImageWithCodeDisplayed() public method

public isImageWithCodeDisplayed ( $code )

isSlugReadOnly() public method

public isSlugReadOnly ( $languageCode = 'en_US' )

nameIt() public method

public nameIt ( $name, $languageCode )

removeFirstImage() public method

public removeFirstImage ( )

removeImageWithCode() public method

public removeImageWithCode ( $code )

specifySlug() public method

public specifySlug ( $slug, $languageCode )