|
1 | 1 | @applying_taxes |
2 | 2 | Feature: Apply correct taxes based on order address |
3 | | - In order to pay proper amount when buying goods |
4 | | - As a Customer or Visitor |
5 | | - I want to have correct taxes applied to my order |
| 3 | + In order to pay proper amount when buying goods |
| 4 | + As a Customer or Visitor |
| 5 | + I want to have correct taxes applied to my order |
6 | 6 |
|
7 | | - Background: |
8 | | - Given the store operates on a single channel worldwide |
9 | | - And the store uses the "Italian tax calculation strategy" tax calculation strategy |
10 | | - And there is a tax zone "EU" containing all European Union countries |
11 | | - And there is a tax zone "Extra EU" containing all countries outside the European Union |
12 | | - And there is a shipping zone "Global" containing all countries of the world |
13 | | - And the store ships everywhere for Free |
14 | | - And the store allows paying Offline |
15 | | - And the store has "IVA 22%" tax rate of 22% for "IVA Ordinaria" within the "EU" zone |
16 | | - And the store has a product "PHP T-Shirt" priced at "$100.00" |
17 | | - And it belongs to "IVA Ordinaria" tax category |
| 7 | + Background: |
| 8 | + Given the store operates on a single channel worldwide |
| 9 | + And the store uses the "Italian tax calculation strategy" tax calculation strategy |
| 10 | + And there is a tax zone "EU" containing all European Union countries |
| 11 | + And there is a tax zone "Extra EU" containing all countries outside the European Union |
| 12 | + And there is a shipping zone "Global" containing all countries of the world |
| 13 | + And the store ships everywhere for Free |
| 14 | + And the store allows paying Offline |
| 15 | + And the store has "IVA 22%" tax rate of 22% for "IVA Ordinaria" within the "EU" zone |
| 16 | + And the store has a product "PHP T-Shirt" priced at "$100.00" |
| 17 | + And it belongs to "IVA Ordinaria" tax category |
18 | 18 |
|
19 | | - @ui |
20 | | - Scenario: Paying taxes while ordering as an italian individual |
21 | | - Given I added product "PHP T-Shirt" to the cart |
22 | | - And I am at the checkout addressing step |
23 | | - And I specify the email as "italian-individual@email.com" |
24 | | - And I specify a valid italian individual billing address |
25 | | - And I complete the addressing step |
26 | | - And I proceed with "Free" shipping method and "Offline" payment |
27 | | - Then I should be on the checkout complete step |
28 | | - And my order total should be "$122.00" |
29 | | - And my tax total should be "$22.00" |
| 19 | + @ui |
| 20 | + Scenario: Paying taxes while ordering as an italian individual |
| 21 | + Given I added product "PHP T-Shirt" to the cart |
| 22 | + And I am at the checkout addressing step |
| 23 | + And I specify the email as "italian-individual@email.com" |
| 24 | + And I specify a valid italian individual billing address |
| 25 | + And I complete the addressing step |
| 26 | + And I proceed with "Free" shipping method and "Offline" payment |
| 27 | + Then I should be on the checkout complete step |
| 28 | + And my order total should be "$122.00" |
| 29 | + And my tax total should be "$22.00" |
30 | 30 |
|
31 | | - @ui |
32 | | - Scenario: Paying taxes while ordering as an italian company |
33 | | - Given I added product "PHP T-Shirt" to the cart |
34 | | - And I am at the checkout addressing step |
35 | | - And I specify the email as "italian-company@email.com" |
36 | | - And I specify a valid italian company billing address |
37 | | - And I complete the addressing step |
38 | | - And I proceed with "Free" shipping method and "Offline" payment |
39 | | - Then I should be on the checkout complete step |
40 | | - And my order total should be "$122.00" |
41 | | - And my tax total should be "$22.00" |
| 31 | + @ui |
| 32 | + Scenario: Paying taxes while ordering as an italian company |
| 33 | + Given I added product "PHP T-Shirt" to the cart |
| 34 | + And I am at the checkout addressing step |
| 35 | + And I specify the email as "italian-company@email.com" |
| 36 | + And I specify a valid italian company billing address |
| 37 | + And I complete the addressing step |
| 38 | + And I proceed with "Free" shipping method and "Offline" payment |
| 39 | + Then I should be on the checkout complete step |
| 40 | + And my order total should be "$122.00" |
| 41 | + And my tax total should be "$22.00" |
42 | 42 |
|
43 | | - @ui |
44 | | - Scenario: Paying taxes while ordering as an EU individual |
45 | | - Given I added product "PHP T-Shirt" to the cart |
46 | | - And I am at the checkout addressing step |
47 | | - And I specify the email as "german-individual@email.com" |
48 | | - And I specify a valid german individual billing address |
49 | | - And I complete the addressing step |
50 | | - And I proceed with "Free" shipping method and "Offline" payment |
51 | | - Then I should be on the checkout complete step |
52 | | - And my order total should be "$122.00" |
53 | | - And my tax total should be "$22.00" |
| 43 | + @ui |
| 44 | + Scenario: Paying taxes while ordering as an EU individual |
| 45 | + Given I added product "PHP T-Shirt" to the cart |
| 46 | + And I am at the checkout addressing step |
| 47 | + And I specify the email as "german-individual@email.com" |
| 48 | + And I specify a valid german individual billing address |
| 49 | + And I complete the addressing step |
| 50 | + And I proceed with "Free" shipping method and "Offline" payment |
| 51 | + Then I should be on the checkout complete step |
| 52 | + And my order total should be "$122.00" |
| 53 | + And my tax total should be "$22.00" |
54 | 54 |
|
55 | | - @ui |
56 | | - Scenario: Not paying taxes while ordering as an EU company |
57 | | - Given I added product "PHP T-Shirt" to the cart |
58 | | - And I am at the checkout addressing step |
59 | | - And I specify the email as "german-company@email.com" |
60 | | - And I specify a valid german company billing address |
61 | | - And I complete the addressing step |
62 | | - And I proceed with "Free" shipping method and "Offline" payment |
63 | | - Then I should be on the checkout complete step |
64 | | - And my order total should be "$100.00" |
65 | | - And my tax total should be "$0.00" |
| 55 | + @ui |
| 56 | + Scenario: Not paying taxes while ordering as an EU company |
| 57 | + Given I added product "PHP T-Shirt" to the cart |
| 58 | + And I am at the checkout addressing step |
| 59 | + And I specify the email as "german-company@email.com" |
| 60 | + And I specify a valid german company billing address |
| 61 | + And I complete the addressing step |
| 62 | + And I proceed with "Free" shipping method and "Offline" payment |
| 63 | + Then I should be on the checkout complete step |
| 64 | + And my order total should be "$100.00" |
| 65 | + And my tax total should be "$0.00" |
66 | 66 |
|
67 | | - @ui |
68 | | - Scenario: Not paying taxes while ordering as an extra EU individual |
69 | | - Given I added product "PHP T-Shirt" to the cart |
70 | | - And I am at the checkout addressing step |
71 | | - And I specify the email as "usa-individual@email.com" |
72 | | - And I specify a valid US individual billing address |
73 | | - And I complete the addressing step |
74 | | - And I proceed with "Free" shipping method and "Offline" payment |
75 | | - Then I should be on the checkout complete step |
76 | | - And my order total should be "$100.00" |
77 | | - And my tax total should be "$0.00" |
| 67 | + @ui |
| 68 | + Scenario: Not paying taxes while ordering as an extra EU individual |
| 69 | + Given I added product "PHP T-Shirt" to the cart |
| 70 | + And I am at the checkout addressing step |
| 71 | + And I specify the email as "usa-individual@email.com" |
| 72 | + And I specify a valid US individual billing address |
| 73 | + And I complete the addressing step |
| 74 | + And I proceed with "Free" shipping method and "Offline" payment |
| 75 | + Then I should be on the checkout complete step |
| 76 | + And my order total should be "$100.00" |
| 77 | + And my tax total should be "$0.00" |
78 | 78 |
|
79 | | - @ui |
80 | | - Scenario: Not paying taxes while ordering as an extra EU company |
81 | | - Given I added product "PHP T-Shirt" to the cart |
82 | | - And I am at the checkout addressing step |
83 | | - And I specify the email as "usa-company@email.com" |
84 | | - And I specify a valid US company billing address |
85 | | - And I complete the addressing step |
86 | | - And I proceed with "Free" shipping method and "Offline" payment |
87 | | - Then I should be on the checkout complete step |
88 | | - And my order total should be "$100.00" |
89 | | - And my tax total should be "$0.00" |
| 79 | + @ui |
| 80 | + Scenario: Not paying taxes while ordering as an extra EU company |
| 81 | + Given I added product "PHP T-Shirt" to the cart |
| 82 | + And I am at the checkout addressing step |
| 83 | + And I specify the email as "usa-company@email.com" |
| 84 | + And I specify a valid US company billing address |
| 85 | + And I complete the addressing step |
| 86 | + And I proceed with "Free" shipping method and "Offline" payment |
| 87 | + Then I should be on the checkout complete step |
| 88 | + And my order total should be "$100.00" |
| 89 | + And my tax total should be "$0.00" |
0 commit comments