PHP Class Sylius\Behat\Page\Admin\Promotion\CreatePage

Author: Mateusz Zalewski ([email protected])
Author: Łuksaz Zalewski ([email protected])
Inheritance: extends Sylius\Behat\Page\Admin\Crud\CreatePage, implements Sylius\Behat\Page\Admin\Promotion\CreatePageInterface, use trait Sylius\Behat\Behaviour\NamesIt, use trait Sylius\Behat\Behaviour\SpecifiesItsCode
Mostra file Open project: sylius/sylius

Public Methods

Method Description
addAction ( $actionName )
addRule ( $ruleName )
checkChannel ( $name )
checkCouponBased ( )
fillActionOption ( $option, $value )
fillActionOptionForChannel ( $channelName, $option, $value )
fillRuleOption ( $option, $value )
fillRuleOptionForChannel ( $channelName, $option, $value )
fillUsageLimit ( $limit )
getValidationMessageForAction ( )
makeExclusive ( )
selectActionOption ( $option, $value, $multiple = false )
selectFilterOption ( $option, $value, $multiple = false )
selectRuleOption ( $option, $value, $multiple = false )
setEndsAt ( DateTime $dateTime )
setStartsAt ( DateTime $dateTime )

Protected Methods

Method Description
getDefinedElements ( )

Private Methods

Method Description
getChannelConfigurationOfLastAction ( string $channelName ) : Behat\Mink\Element\NodeElement
getChannelConfigurationOfLastRule ( string $channelName ) : Behat\Mink\Element\NodeElement
getCollectionItems ( string $collection ) : Behat\Mink\Element\NodeElement[]
getLastCollectionItem ( string $collection ) : Behat\Mink\Element\NodeElement

Method Details

addAction() public method

public addAction ( $actionName )

addRule() public method

public addRule ( $ruleName )

checkChannel() public method

public checkChannel ( $name )

checkCouponBased() public method

public checkCouponBased ( )

fillActionOption() public method

public fillActionOption ( $option, $value )

fillActionOptionForChannel() public method

public fillActionOptionForChannel ( $channelName, $option, $value )

fillRuleOption() public method

public fillRuleOption ( $option, $value )

fillRuleOptionForChannel() public method

public fillRuleOptionForChannel ( $channelName, $option, $value )

fillUsageLimit() public method

public fillUsageLimit ( $limit )

getDefinedElements() protected method

protected getDefinedElements ( )

getValidationMessageForAction() public method

makeExclusive() public method

public makeExclusive ( )

selectActionOption() public method

public selectActionOption ( $option, $value, $multiple = false )

selectFilterOption() public method

public selectFilterOption ( $option, $value, $multiple = false )

selectRuleOption() public method

public selectRuleOption ( $option, $value, $multiple = false )

setEndsAt() public method

public setEndsAt ( DateTime $dateTime )
$dateTime DateTime

setStartsAt() public method

public setStartsAt ( DateTime $dateTime )
$dateTime DateTime