|
10 | 10 | <test name="StorefrontVerifyGuestCheckoutUsingFreeShippingAndTaxesTest">
|
11 | 11 | <annotations>
|
12 | 12 | <features value="Checkout"/>
|
13 |
| - <stories value="Checkout"/> |
| 13 | + <stories value="Checkout via Guest Checkout"/> |
14 | 14 | <title value="Verify guest checkout using free shipping and tax variations"/>
|
15 | 15 | <description value="Verify guest checkout using free shipping and tax variations"/>
|
16 | 16 | <severity value="CRITICAL"/>
|
17 | 17 | <testCaseId value="MC-28285"/>
|
18 | 18 | <group value="mtf_migrated"/>
|
19 | 19 | <group value="checkout"/>
|
| 20 | + <group value="tax"/> |
20 | 21 | </annotations>
|
21 | 22 | <before>
|
22 | 23 | <createData entity="FlatRateShippingMethodConfig" stepKey="enableFlatRate"/>
|
|
107 | 108 | <actionGroup ref="AssertProductNameAndSkuInStorefrontProductPageByCustomAttributeUrlKeyActionGroup" stepKey="openProductPageAndVerifyProduct">
|
108 | 109 | <argument name="product" value="$simpleProduct$"/>
|
109 | 110 | </actionGroup>
|
110 |
| - <actionGroup ref="StorefrontAddProductToCartWithQtyActionGroup" stepKey="addProductToTheCart"> |
| 111 | + <actionGroup ref="StorefrontAddProductToCartWithQtyActionGroup" stepKey="addSimpleProductToTheCart"> |
111 | 112 | <argument name="productQty" value="1"/>
|
112 | 113 | </actionGroup>
|
113 | 114 | <actionGroup ref="StorefrontAddConfigurableProductToTheCartActionGroup" stepKey="addConfigurableProductToCart">
|
|
128 | 129 | <actionGroup ref="CheckoutFillEstimateShippingAndTaxActionGroup" stepKey="fillEstimateShippingAndTaxFields">
|
129 | 130 | <argument name="address" value="US_Address_NY_Default_Shipping"/>
|
130 | 131 | </actionGroup>
|
131 |
| - <actionGroup ref="StorefrontCartPageSelectShippingMethodActionGroup" stepKey="selectFreeShippingShippingMethod"> |
132 |
| - <argument name="carrierCode" value="freeshipping"/> |
133 |
| - <argument name="methodCode" value="freeshipping"/> |
134 |
| - </actionGroup> |
| 132 | + <click selector="{{CheckoutCartSummarySection.shippingMethodElementId('freeshipping', 'freeshipping')}}" stepKey="selectShippingMethod"/> |
135 | 133 | <see selector="{{CheckoutCartSummarySection.taxAmount}}" userInput="$9.72" stepKey="seeTaxAmount"/>
|
136 | 134 | <reloadPage stepKey="reloadThePage"/>
|
137 | 135 | <waitForPageLoad stepKey="waitForPageToReload"/>
|
|
0 commit comments