|
12 | 12 | <annotations>
|
13 | 13 | <features value="Tax"/>
|
14 | 14 | <stories value="Order taxes"/>
|
15 |
| - <title value="FPT correct Total amount in Order Summary section for multiple product amount"/> |
16 |
| - <description value="Tax information is calculated properly when order contains multiple amount of the product"/> |
| 15 | + <title value="Correct subtotal including FPT in product information section of order summary"/> |
| 16 | + <description value="Tax information is calculated properly in product information section when order contains multiple amount of the product"/> |
17 | 17 | <severity value="CRITICAL"/>
|
18 | 18 | <useCaseId value="ACP2E-350"/>
|
19 | 19 | <testCaseId value="AC-2110"/>
|
|
37 | 37 | <requiredEntity createDataKey="createProductFPTAttribute"/>
|
38 | 38 | </createData>
|
39 | 39 |
|
40 |
| - <!-- Simple product is created Price = 100 --> |
| 40 | + <!-- Simple product is created with Price = 100 and FPT = 2 for Germany --> |
41 | 41 | <createData entity="SimpleProduct2" stepKey="createSimpleProduct">
|
42 | 42 | <field key="price">100.00</field>
|
43 | 43 | </createData>
|
44 |
| - |
45 |
| - <!-- FPT for Germany is set to 2 --> |
46 | 44 | <actionGroup ref="AdminProductPageOpenByIdActionGroup" stepKey="openProductEditPage">
|
47 | 45 | <argument name="productId" value="$createSimpleProduct.id$"/>
|
48 | 46 | </actionGroup>
|
|
61 | 59 | <!-- Return Tax configuration including FPT to default status -->
|
62 | 60 | <createData entity="DefaultTaxConfig" stepKey="defaultTaxConfiguration"/>
|
63 | 61 | <createData entity="WeeeConfigDisable" stepKey="useSystemValueFTP"/>
|
64 |
| - <!-- Delete product and clear products filter--> |
| 62 | + <!-- Delete product and clear products filter --> |
65 | 63 | <deleteData createDataKey="createSimpleProduct" stepKey="deleteSimpleProduct"/>
|
66 | 64 | <actionGroup ref="AdminOpenProductIndexPageActionGroup" stepKey="navigateToProductIndex"/>
|
67 | 65 | <actionGroup ref="ClearFiltersAdminDataGridActionGroup" stepKey="clearProductsGridFilters"/>
|
|
72 | 70 | <!-- Test Steps -->
|
73 | 71 |
|
74 | 72 | <!-- Add simple product with qty 100 to shopping cart -->
|
75 |
| - <amOnPage url="{{StorefrontProductPage.url($createSimpleProduct.custom_attributes[url_key]$)}}" stepKey="amOnSimpleProductPage"/> |
76 |
| - <waitForPageLoad stepKey="waitForPageLoad"/> |
| 73 | + <actionGroup ref="StorefrontOpenProductEntityPageActionGroup" stepKey="openProductPage"> |
| 74 | + <argument name="product" value="$$createSimpleProduct$$"/> |
| 75 | + </actionGroup> |
77 | 76 | <actionGroup ref="AddProductWithQtyToCartFromStorefrontProductPageActionGroup" stepKey="cartAddSimpleProductToCart">
|
78 | 77 | <argument name="productName" value="$createSimpleProduct.name$"/>
|
79 | 78 | <argument name="productQty" value="100"/>
|
|
90 | 89 |
|
91 | 90 | <!-- Select shipping and payment methods -->
|
92 | 91 | <actionGroup ref="CheckoutSelectFlatRateShippingMethodActionGroup" stepKey="selectFlatRateShippingMethod"/>
|
93 |
| - <waitForElementVisible selector="{{CheckoutShippingSection.next}}" stepKey="waitNextButtonAppears"/> |
94 |
| - <click selector="{{CheckoutShippingSection.next}}" stepKey="clickNext"/> |
| 92 | + <actionGroup ref="StorefrontCheckoutForwardFromShippingStepActionGroup" stepKey="clickNext"/> |
95 | 93 | <actionGroup ref="CheckoutSelectCheckMoneyOrderPaymentActionGroup" stepKey="clickCheckMoneyOrderPayment"/>
|
96 | 94 |
|
97 | 95 | <!-- Open summary section for product -->
|
|
0 commit comments