mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
37 lines
1.6 KiB
Gherkin
37 lines
1.6 KiB
Gherkin
@managing_tax_rates
|
|
Feature: Adding a new tax rate
|
|
In order to apply different tax rates to various tax categories
|
|
As an Administrator
|
|
I want to add a new tax rate to the registry
|
|
|
|
Background:
|
|
Given the store operates on a single channel in "United States"
|
|
And the store has a tax category "Food and Beverage"
|
|
And I am logged in as an administrator
|
|
|
|
@ui
|
|
Scenario: Adding a new tax rate
|
|
When I want to create a new tax rate
|
|
And I specify its code as "US_SALES_TAX"
|
|
And I name it "United States Sales Tax"
|
|
And I define it for the "United States" zone
|
|
And I make it applicable for the "Food and Beverage" tax category
|
|
And I specify its amount as 20%
|
|
And I choose the default tax calculator
|
|
And I add it
|
|
Then I should be notified that it has been successfully created
|
|
And the tax rate "United States Sales Tax" should appear in the registry
|
|
|
|
@ui @javascript
|
|
Scenario: Adding a new tax rate which will be included in product price
|
|
When I want to create a new tax rate
|
|
And I specify its code as "US_SALES_TAX"
|
|
And I name it "United States Sales Tax"
|
|
And I define it for the "United States" zone
|
|
And I make it applicable for the "Food and Beverage" tax category
|
|
And I specify its amount as 20%
|
|
And I choose the default tax calculator
|
|
And I choose "Included in price" option
|
|
And I add it
|
|
Then I should be notified that it has been successfully created
|
|
And the tax rate "United States Sales Tax" should appear in the registry
|