PHP Class Sylius\Behat\Context\Ui\Admin\ManagingChannelsContext

Author: Łukasz Chruściel ([email protected])
Inheritance: implements Behat\Behat\Context\Context
Afficher le fichier Open project: sylius/sylius

Méthodes publiques

Méthode Description
__construct ( Sylius\Behat\Page\Admin\Channel\IndexPageInterface $indexPage, Sylius\Behat\Page\Admin\Channel\CreatePageInterface $createPage, Sylius\Behat\Page\Admin\Channel\UpdatePageInterface $updatePage, Sylius\Behat\Service\Resolver\CurrentPageResolverInterface $currentPageResolver, Sylius\Behat\Service\NotificationCheckerInterface $notificationChecker )
channelShouldNotHaveDefaultTaxZone ( Sylius\Component\Core\Model\ChannelInterface $channel )
channelWithShouldNotBeAdded ( $element, $value )
iAddIt ( )
iAllowToPayingForThisChannel ( $currencyCode )
iChooseAsABaseCurrency ( $currency = null )
iChooseAsADefaultLocale ( $locale = null )
iDefineItsColorAs ( $color )
iDeleteChannel ( Sylius\Component\Core\Model\ChannelInterface $channel )
iDescribeItAs ( $description )
iDisableIt ( )
iEnableIt ( )
iMakeItAvailableIn ( $locale )
iNameIt ( $name = null )
iRemoveItsDefaultTaxZone ( )
iSaveMyChanges ( )
iSelectDefaultTaxZone ( $taxZone )
iSelectTaxCalculationStrategy ( $taxCalculationStrategy )
iSetItsHostnameAs ( $hostname )
iShouldBeNotifiedThatAtLeastOneChannelHasToBeDefinedIsRequired ( )
iShouldBeNotifiedThatChannelWithThisCodeAlreadyExists ( )
iShouldBeNotifiedThatIsRequired ( $element )
iShouldBeNotifiedThatItCannotBeDeleted ( )
iShouldSeeChannelsInTheList ( $numberOfChannels )
iSpecifyItsCodeAs ( $code = null )
iWantToBrowseChannels ( )
iWantToCreateANewChannel ( )
iWantToModifyChannel ( Sylius\Component\Core\Model\ChannelInterface $channel )
payingInEuroShouldBePossibleForTheChannel ( $currencyCode, Sylius\Component\Core\Model\ChannelInterface $channel )
theBaseCurrencyFieldShouldBeDisabled ( )
theChannelShouldAppearInTheRegistry ( $channelName )
theChannelShouldBeAvailableIn ( Sylius\Component\Core\Model\ChannelInterface $channel, $locale )
theCodeFieldShouldBeDisabled ( )
theDefaultTaxZoneForTheChannelShouldBe ( Sylius\Component\Core\Model\ChannelInterface $channel, $taxZone )
theTaxCalculationStrategyForTheChannelShouldBe ( Sylius\Component\Core\Model\ChannelInterface $channel, $taxCalculationStrategy )
thereShouldStillBeOnlyOneChannelWithCode ( $element, $value )
thisChannelNameShouldBe ( Sylius\Component\Core\Model\ChannelInterface $channel, $channelName )
thisChannelShouldAppearInTheRegistry ( Sylius\Component\Core\Model\ChannelInterface $channel )
thisChannelShouldBeDisabled ( Sylius\Component\Core\Model\ChannelInterface $channel )
thisChannelShouldBeEnabled ( Sylius\Component\Core\Model\ChannelInterface $channel )
thisChannelShouldNoLongerExistInTheRegistry ( $channelName )

Private Methods

Méthode Description
assertChannelState ( Sylius\Component\Core\Model\ChannelInterface $channel, boolean $state )

Method Details

__construct() public méthode

public __construct ( Sylius\Behat\Page\Admin\Channel\IndexPageInterface $indexPage, Sylius\Behat\Page\Admin\Channel\CreatePageInterface $createPage, Sylius\Behat\Page\Admin\Channel\UpdatePageInterface $updatePage, Sylius\Behat\Service\Resolver\CurrentPageResolverInterface $currentPageResolver, Sylius\Behat\Service\NotificationCheckerInterface $notificationChecker )
$indexPage Sylius\Behat\Page\Admin\Channel\IndexPageInterface
$createPage Sylius\Behat\Page\Admin\Channel\CreatePageInterface
$updatePage Sylius\Behat\Page\Admin\Channel\UpdatePageInterface
$currentPageResolver Sylius\Behat\Service\Resolver\CurrentPageResolverInterface
$notificationChecker Sylius\Behat\Service\NotificationCheckerInterface

channelShouldNotHaveDefaultTaxZone() public méthode

public channelShouldNotHaveDefaultTaxZone ( Sylius\Component\Core\Model\ChannelInterface $channel )
$channel Sylius\Component\Core\Model\ChannelInterface

channelWithShouldNotBeAdded() public méthode

public channelWithShouldNotBeAdded ( $element, $value )

iAddIt() public méthode

public iAddIt ( )

iAllowToPayingForThisChannel() public méthode

public iAllowToPayingForThisChannel ( $currencyCode )

iChooseAsABaseCurrency() public méthode

public iChooseAsABaseCurrency ( $currency = null )

iChooseAsADefaultLocale() public méthode

public iChooseAsADefaultLocale ( $locale = null )

iDefineItsColorAs() public méthode

public iDefineItsColorAs ( $color )

iDeleteChannel() public méthode

public iDeleteChannel ( Sylius\Component\Core\Model\ChannelInterface $channel )
$channel Sylius\Component\Core\Model\ChannelInterface

iDescribeItAs() public méthode

public iDescribeItAs ( $description )

iDisableIt() public méthode

public iDisableIt ( )

iEnableIt() public méthode

public iEnableIt ( )

iMakeItAvailableIn() public méthode

public iMakeItAvailableIn ( $locale )

iNameIt() public méthode

public iNameIt ( $name = null )

iRemoveItsDefaultTaxZone() public méthode

iSaveMyChanges() public méthode

public iSaveMyChanges ( )

iSelectDefaultTaxZone() public méthode

public iSelectDefaultTaxZone ( $taxZone )

iSelectTaxCalculationStrategy() public méthode

public iSelectTaxCalculationStrategy ( $taxCalculationStrategy )

iSetItsHostnameAs() public méthode

public iSetItsHostnameAs ( $hostname )

iShouldBeNotifiedThatAtLeastOneChannelHasToBeDefinedIsRequired() public méthode

iShouldBeNotifiedThatChannelWithThisCodeAlreadyExists() public méthode

iShouldBeNotifiedThatIsRequired() public méthode

public iShouldBeNotifiedThatIsRequired ( $element )

iShouldBeNotifiedThatItCannotBeDeleted() public méthode

iShouldSeeChannelsInTheList() public méthode

public iShouldSeeChannelsInTheList ( $numberOfChannels )

iSpecifyItsCodeAs() public méthode

public iSpecifyItsCodeAs ( $code = null )

iWantToBrowseChannels() public méthode

iWantToCreateANewChannel() public méthode

iWantToModifyChannel() public méthode

public iWantToModifyChannel ( Sylius\Component\Core\Model\ChannelInterface $channel )
$channel Sylius\Component\Core\Model\ChannelInterface

payingInEuroShouldBePossibleForTheChannel() public méthode

public payingInEuroShouldBePossibleForTheChannel ( $currencyCode, Sylius\Component\Core\Model\ChannelInterface $channel )
$channel Sylius\Component\Core\Model\ChannelInterface

theBaseCurrencyFieldShouldBeDisabled() public méthode

theChannelShouldAppearInTheRegistry() public méthode

public theChannelShouldAppearInTheRegistry ( $channelName )

theChannelShouldBeAvailableIn() public méthode

public theChannelShouldBeAvailableIn ( Sylius\Component\Core\Model\ChannelInterface $channel, $locale )
$channel Sylius\Component\Core\Model\ChannelInterface

theCodeFieldShouldBeDisabled() public méthode

theDefaultTaxZoneForTheChannelShouldBe() public méthode

public theDefaultTaxZoneForTheChannelShouldBe ( Sylius\Component\Core\Model\ChannelInterface $channel, $taxZone )
$channel Sylius\Component\Core\Model\ChannelInterface

theTaxCalculationStrategyForTheChannelShouldBe() public méthode

public theTaxCalculationStrategyForTheChannelShouldBe ( Sylius\Component\Core\Model\ChannelInterface $channel, $taxCalculationStrategy )
$channel Sylius\Component\Core\Model\ChannelInterface

thereShouldStillBeOnlyOneChannelWithCode() public méthode

public thereShouldStillBeOnlyOneChannelWithCode ( $element, $value )

thisChannelNameShouldBe() public méthode

public thisChannelNameShouldBe ( Sylius\Component\Core\Model\ChannelInterface $channel, $channelName )
$channel Sylius\Component\Core\Model\ChannelInterface

thisChannelShouldAppearInTheRegistry() public méthode

public thisChannelShouldAppearInTheRegistry ( Sylius\Component\Core\Model\ChannelInterface $channel )
$channel Sylius\Component\Core\Model\ChannelInterface

thisChannelShouldBeDisabled() public méthode

public thisChannelShouldBeDisabled ( Sylius\Component\Core\Model\ChannelInterface $channel )
$channel Sylius\Component\Core\Model\ChannelInterface

thisChannelShouldBeEnabled() public méthode

public thisChannelShouldBeEnabled ( Sylius\Component\Core\Model\ChannelInterface $channel )
$channel Sylius\Component\Core\Model\ChannelInterface

thisChannelShouldNoLongerExistInTheRegistry() public méthode