|
10 | 10 | xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
|
11 | 11 | <test name="StorefrontCashOnDeliveryPaymentForSpecificCountryTest">
|
12 | 12 | <annotations>
|
13 |
| - <title value="OnePageCheckout Cash on Delivery method is not visible, if it is not allowed for that specific Country."/> |
14 |
| - <description value="OnePageCheckout Cash on Delivery method is visible only for the allowed Countries, while disappears if the billing address selected from the not allowed Countries."/> |
15 |
| - <stories value="OnePageCheckout Cash on Delivery method disappears, if the address changed to the Country which is not allowed for it."/> |
| 13 | + <title value="OnePageCheckout cash on delivery method available only for the allowed specific Countries."/> |
| 14 | + <description value="OnePageCheckout cash on delivery method is visible only for the allowed Countries, while disappears if the billing address changed to not allowed Countries."/> |
| 15 | + <stories value="OnePageCheckout cash on delivery method disappears, if the address changed to the Country which is not allowed for it."/> |
16 | 16 | <features value="OnePageCheckout"/>
|
17 | 17 | <severity value="AVERAGE"/>
|
18 | 18 | <testCaseId value="AC-3216"/>
|
19 | 19 | <useCaseId value="ACP2E-862"/>
|
20 | 20 | <group value="checkout"/>
|
21 | 21 | </annotations>
|
22 | 22 | <before>
|
| 23 | + <magentoCLI command="config:set {{DisplayBillingAddressOnPaymentMethod.path}} {{DisplayBillingAddressOnPaymentMethod.value}}" stepKey="displayBillingAddressOnPaymentMethod"/> |
23 | 24 | <!--Enable Cash On Delivery payment method-->
|
24 | 25 | <magentoCLI command="config:set {{CashOnDeliveryEnableConfigData.path}} {{CashOnDeliveryEnableConfigData.value}}" stepKey="enableCashOnDelivery"/>
|
25 | 26 | <!--Allow Cash On Delivery for Specific Country-->
|
|
60 | 61 |
|
61 | 62 | <!-- Select Shipping Method-->
|
62 | 63 | <actionGroup ref="StorefrontSetShippingMethodActionGroup" stepKey="selectFlatRateShippingMethod"/>
|
63 |
| - |
64 | 64 | <!--Click next button to open payment section-->
|
65 | 65 | <actionGroup ref="StorefrontGuestCheckoutProceedToPaymentStepActionGroup" stepKey="clickNext"/>
|
66 | 66 |
|
|
84 | 84 |
|
85 | 85 | <!--Assert COD payment method not available anymore-->
|
86 | 86 | <dontSeeElement selector="input#cashondelivery" stepKey="dontSeeCodPaymentMethod"/>
|
| 87 | + |
| 88 | + <!-- Place order --> |
| 89 | + <actionGroup ref="ClickPlaceOrderActionGroup" stepKey="PlaceOrder" /> |
87 | 90 | </test>
|
88 | 91 | </tests>
|
| 92 | + |
0 commit comments