Method | Description | |
---|---|---|
__construct ( Sylius\Behat\Service\SharedStorageInterface $sharedStorage, Sylius\Behat\Page\Admin\Crud\IndexPageInterface $indexPage, Sylius\Behat\Page\Admin\ShippingMethod\CreatePageInterface $createPage, Sylius\Behat\Page\Admin\ShippingMethod\UpdatePageInterface $updatePage, Sylius\Behat\Service\Resolver\CurrentPageResolverInterface $currentPageResolver, Sylius\Behat\Service\NotificationCheckerInterface $notificationChecker ) | ||
iAddIt ( ) | ||
iChooseCalculator ( $calculatorName ) | ||
iDefineItForTheZone ( $zoneName ) | ||
iDeleteShippingMethod ( Sylius\Component\Core\Model\ShippingMethodInterface $shippingMethod ) | ||
iDescribeItAsIn ( $description, $language ) | ||
iDisableIt ( ) | ||
iDoNotNameIt ( ) | ||
iDoNotSpecifyItsZone ( ) | ||
iEnableIt ( ) | ||
iMakeItAvailableInChannel ( $channelName ) | ||
iNameItIn ( $name, $language ) | ||
iRemoveItsNameFromTranslation ( $language ) | ||
iSaveMyChanges ( ) | ||
iShouldBeNotifiedThatAmountForChannelShouldNotBeBlank ( Sylius\Component\Channel\Model\ChannelInterface $channel ) | ||
iShouldBeNotifiedThatCodeShouldContain ( ) | ||
iShouldBeNotifiedThatElementHasToBeSelected ( $element ) | ||
iShouldBeNotifiedThatIsRequired ( $element ) | ||
iShouldBeNotifiedThatItIsInUse ( ) | ||
iShouldBeNotifiedThatShippingMethodWithThisCodeAlreadyExists ( ) | ||
iShouldSeeShippingMethodsInTheList ( $numberOfShippingMethods ) | ||
iSortShippingMethodsBy ( $field ) | ||
iSpecifyItsAmountForChannel ( $amount, Sylius\Component\Channel\Model\ChannelInterface $channel ) | ||
iSpecifyItsCodeAs ( $code = null ) | ||
iSpecifyItsPositionAs ( $position = null ) | ||
iWantToBrowseShippingMethods ( ) | ||
iWantToCreateANewShippingMethod ( ) | ||
iWantToModifyAShippingMethod ( Sylius\Component\Core\Model\ShippingMethodInterface $shippingMethod ) | ||
shippingMethodWithElementValueShouldNotBeAdded ( $element, $name ) | ||
theCodeFieldShouldBeDisabled ( ) | ||
theFirstShippingMethodOnTheListShouldHave ( $field, $value ) | ||
theLastShippingMethodOnTheListShouldHave ( $field, $value ) | ||
theShipmentMethodShouldAppearInTheRegistry ( $shipmentMethodName ) | ||
theShippingMethodShouldBeAvailableInChannel ( Sylius\Component\Core\Model\ShippingMethodInterface $shippingMethod, $channelName ) | ||
thereShouldStillBeOnlyOneShippingMethodWith ( $element, $code ) | ||
thisShippingMethodNameShouldBe ( Sylius\Component\Core\Model\ShippingMethodInterface $shippingMethod, $shippingMethodName ) | ||
thisShippingMethodShouldBeDisabled ( Sylius\Component\Core\Model\ShippingMethodInterface $shippingMethod ) | ||
thisShippingMethodShouldBeEnabled ( Sylius\Component\Core\Model\ShippingMethodInterface $shippingMethod ) | ||
thisShippingMethodShouldNoLongerExistInTheRegistry ( Sylius\Component\Core\Model\ShippingMethodInterface $shippingMethod ) | ||
thisShippingMethodShouldStillBeInTheRegistry ( Sylius\Component\Core\Model\ShippingMethodInterface $shippingMethod ) |
Method | Description | |
---|---|---|
assertFieldValidationMessage ( string $element, string $expectedMessage ) | ||
assertShippingMethodState ( Sylius\Component\Core\Model\ShippingMethodInterface $shippingMethod, boolean $state ) |
public __construct ( Sylius\Behat\Service\SharedStorageInterface $sharedStorage, Sylius\Behat\Page\Admin\Crud\IndexPageInterface $indexPage, Sylius\Behat\Page\Admin\ShippingMethod\CreatePageInterface $createPage, Sylius\Behat\Page\Admin\ShippingMethod\UpdatePageInterface $updatePage, Sylius\Behat\Service\Resolver\CurrentPageResolverInterface $currentPageResolver, Sylius\Behat\Service\NotificationCheckerInterface $notificationChecker ) | ||
$sharedStorage | Sylius\Behat\Service\SharedStorageInterface | |
$indexPage | Sylius\Behat\Page\Admin\Crud\IndexPageInterface | |
$createPage | Sylius\Behat\Page\Admin\ShippingMethod\CreatePageInterface | |
$updatePage | Sylius\Behat\Page\Admin\ShippingMethod\UpdatePageInterface | |
$currentPageResolver | Sylius\Behat\Service\Resolver\CurrentPageResolverInterface | |
$notificationChecker | Sylius\Behat\Service\NotificationCheckerInterface |
public iDeleteShippingMethod ( Sylius\Component\Core\Model\ShippingMethodInterface $shippingMethod ) | ||
$shippingMethod | Sylius\Component\Core\Model\ShippingMethodInterface |
public iShouldBeNotifiedThatAmountForChannelShouldNotBeBlank ( Sylius\Component\Channel\Model\ChannelInterface $channel ) | ||
$channel | Sylius\Component\Channel\Model\ChannelInterface |
public iShouldBeNotifiedThatCodeShouldContain ( ) |
public iShouldBeNotifiedThatElementHasToBeSelected ( $element ) |
public iShouldSeeShippingMethodsInTheList ( $numberOfShippingMethods ) |
public iSpecifyItsAmountForChannel ( $amount, Sylius\Component\Channel\Model\ChannelInterface $channel ) | ||
$channel | Sylius\Component\Channel\Model\ChannelInterface |
public iWantToModifyAShippingMethod ( Sylius\Component\Core\Model\ShippingMethodInterface $shippingMethod ) | ||
$shippingMethod | Sylius\Component\Core\Model\ShippingMethodInterface |
public shippingMethodWithElementValueShouldNotBeAdded ( $element, $name ) |
public theFirstShippingMethodOnTheListShouldHave ( $field, $value ) |
public theLastShippingMethodOnTheListShouldHave ( $field, $value ) |
public theShipmentMethodShouldAppearInTheRegistry ( $shipmentMethodName ) |
public theShippingMethodShouldBeAvailableInChannel ( Sylius\Component\Core\Model\ShippingMethodInterface $shippingMethod, $channelName ) | ||
$shippingMethod | Sylius\Component\Core\Model\ShippingMethodInterface |
public thereShouldStillBeOnlyOneShippingMethodWith ( $element, $code ) |
public thisShippingMethodNameShouldBe ( Sylius\Component\Core\Model\ShippingMethodInterface $shippingMethod, $shippingMethodName ) | ||
$shippingMethod | Sylius\Component\Core\Model\ShippingMethodInterface |
public thisShippingMethodShouldBeDisabled ( Sylius\Component\Core\Model\ShippingMethodInterface $shippingMethod ) | ||
$shippingMethod | Sylius\Component\Core\Model\ShippingMethodInterface |
public thisShippingMethodShouldBeEnabled ( Sylius\Component\Core\Model\ShippingMethodInterface $shippingMethod ) | ||
$shippingMethod | Sylius\Component\Core\Model\ShippingMethodInterface |
public thisShippingMethodShouldNoLongerExistInTheRegistry ( Sylius\Component\Core\Model\ShippingMethodInterface $shippingMethod ) | ||
$shippingMethod | Sylius\Component\Core\Model\ShippingMethodInterface |
public thisShippingMethodShouldStillBeInTheRegistry ( Sylius\Component\Core\Model\ShippingMethodInterface $shippingMethod ) | ||
$shippingMethod | Sylius\Component\Core\Model\ShippingMethodInterface |