Method | Description | |
---|---|---|
__construct ( Sylius\Behat\Page\Admin\Crud\IndexPageInterface $indexPage, Sylius\Behat\Page\Admin\TaxRate\CreatePageInterface $createPage, Sylius\Behat\Page\Admin\TaxRate\UpdatePageInterface $updatePage, Sylius\Behat\Service\Resolver\CurrentPageResolverInterface $currentPageResolver ) | ||
iAddIt ( ) | ||
iChooseOption ( ) | ||
iDefineItForTheZone ( $zoneName ) | ||
iDeletedTaxRate ( Sylius\Component\Core\Model\TaxRateInterface $taxRate ) | ||
iDoNotSpecifyItsZone ( ) | ||
iDoNotSpecifyRelatedTaxCategory ( ) | ||
iMakeItApplicableForTheTaxCategory ( $taxCategoryName ) | ||
iNameIt ( $name = null ) | ||
iSaveMyChanges ( ) | ||
iShouldBeNotifiedThatElementHasToBeSelected ( $element ) | ||
iShouldBeNotifiedThatIsRequired ( $element ) | ||
iShouldBeNotifiedThatTaxRateWithThisCodeAlreadyExists ( ) | ||
iSpecifyItsAmountAs ( $amount = null ) | ||
iSpecifyItsCodeAs ( $code = null ) | ||
iWantToCreateNewTaxRate ( ) | ||
iWantToModifyTaxRate ( Sylius\Component\Core\Model\TaxRateInterface $taxRate ) | ||
iWantToUseTheDefaultTaxCalculator ( ) | ||
taxRateWithElementValueShouldNotBeAdded ( $element, $name ) | ||
theCodeFieldShouldBeDisabled ( ) | ||
theTaxRateShouldAppearInTheRegistry ( $taxRateName ) | ||
thereShouldStillBeOnlyOneTaxRateWith ( $element, $code ) | ||
thisTaxRateAmountShouldBe ( Sylius\Component\Core\Model\TaxRateInterface $taxRate, $taxRateAmount ) | ||
thisTaxRateNameShouldBe ( Sylius\Component\Core\Model\TaxRateInterface $taxRate, $taxRateName ) | ||
thisTaxRateShouldBeApplicableForTaxCategory ( Sylius\Component\Core\Model\TaxRateInterface $taxRate, $taxCategory ) | ||
thisTaxRateShouldBeApplicableInZone ( Sylius\Component\Core\Model\TaxRateInterface $taxRate, $zone ) | ||
thisTaxRateShouldNoLongerExistInTheRegistry ( Sylius\Component\Core\Model\TaxRateInterface $taxRate ) |
Method | Description | |
---|---|---|
assertFieldValidationMessage ( string $element, string $expectedMessage ) | ||
assertFieldValue ( Sylius\Component\Core\Model\TaxRateInterface $taxRate, string $element, string $taxRateElement ) |
public __construct ( Sylius\Behat\Page\Admin\Crud\IndexPageInterface $indexPage, Sylius\Behat\Page\Admin\TaxRate\CreatePageInterface $createPage, Sylius\Behat\Page\Admin\TaxRate\UpdatePageInterface $updatePage, Sylius\Behat\Service\Resolver\CurrentPageResolverInterface $currentPageResolver ) | ||
$indexPage | Sylius\Behat\Page\Admin\Crud\IndexPageInterface | |
$createPage | Sylius\Behat\Page\Admin\TaxRate\CreatePageInterface | |
$updatePage | Sylius\Behat\Page\Admin\TaxRate\UpdatePageInterface | |
$currentPageResolver | Sylius\Behat\Service\Resolver\CurrentPageResolverInterface |
public iDeletedTaxRate ( Sylius\Component\Core\Model\TaxRateInterface $taxRate ) | ||
$taxRate | Sylius\Component\Core\Model\TaxRateInterface |
public iMakeItApplicableForTheTaxCategory ( $taxCategoryName ) |
public iShouldBeNotifiedThatElementHasToBeSelected ( $element ) |
public iWantToModifyTaxRate ( Sylius\Component\Core\Model\TaxRateInterface $taxRate ) | ||
$taxRate | Sylius\Component\Core\Model\TaxRateInterface |
public taxRateWithElementValueShouldNotBeAdded ( $element, $name ) |
public theTaxRateShouldAppearInTheRegistry ( $taxRateName ) |
public thereShouldStillBeOnlyOneTaxRateWith ( $element, $code ) |
public thisTaxRateAmountShouldBe ( Sylius\Component\Core\Model\TaxRateInterface $taxRate, $taxRateAmount ) | ||
$taxRate | Sylius\Component\Core\Model\TaxRateInterface |
public thisTaxRateNameShouldBe ( Sylius\Component\Core\Model\TaxRateInterface $taxRate, $taxRateName ) | ||
$taxRate | Sylius\Component\Core\Model\TaxRateInterface |
public thisTaxRateShouldBeApplicableForTaxCategory ( Sylius\Component\Core\Model\TaxRateInterface $taxRate, $taxCategory ) | ||
$taxRate | Sylius\Component\Core\Model\TaxRateInterface |
public thisTaxRateShouldBeApplicableInZone ( Sylius\Component\Core\Model\TaxRateInterface $taxRate, $zone ) | ||
$taxRate | Sylius\Component\Core\Model\TaxRateInterface |
public thisTaxRateShouldNoLongerExistInTheRegistry ( Sylius\Component\Core\Model\TaxRateInterface $taxRate ) | ||
$taxRate | Sylius\Component\Core\Model\TaxRateInterface |