|
17 | 17 | <severity value="MAJOR"/>
|
18 | 18 | <testCaseId value="MC-33274"/>
|
19 | 19 | <group value="paypalExpress"/>
|
20 |
| - <skip> |
21 |
| - <issueId value="MC-33951"/> |
22 |
| - </skip> |
23 | 20 | </annotations>
|
24 | 21 | <before>
|
| 22 | + <!--Set price scope global--> |
| 23 | + <magentoCLI command="config:set {{CatalogPriceScopeGlobalConfigData.path}} {{CatalogPriceScopeGlobalConfigData.value}}" stepKey="setCatalogPriceScopeWebsite"/> |
25 | 24 | <!--Set merchant country-->
|
26 | 25 | <magentoCLI command="config:set {{MerchantFrance.path}} {{MerchantFrance.value}}" stepKey="setMerchantCountryUK"/>
|
27 | 26 | <!--Enable Advanced Setting-->
|
28 | 27 | <magentoCLI command="config:set {{StorefrontPaypalEnableSkipOrderReviewStepConfigData.path}} {{StorefrontPaypalEnableSkipOrderReviewStepConfigData.value}}" stepKey="enableSkipOrderReview"/>
|
29 | 28 | <createData entity="FreeShippinMethodConfig" stepKey="enableFreeShipping"/>
|
| 29 | + <magentoCLI command="cache:flush" stepKey="flushCache"/> |
30 | 30 | </before>
|
31 | 31 | <after>
|
32 | 32 | <magentoCLI command="config:set {{StorefrontPaypalDisableSkipOrderReviewStepConfigData.path}} {{StorefrontPaypalDisableSkipOrderReviewStepConfigData.value}}" stepKey="disableSkipOrderReview"/>
|
33 | 33 | <!--Set default merchant country-->
|
34 | 34 | <magentoCLI command="config:set {{MerchantUnitedStates.path}} {{MerchantUnitedStates.value}}" stepKey="setMerchantCountryDefault"/>
|
35 | 35 | <createData entity="FreeShippinMethodDefault" stepKey="disableFreeShippingMethod"/>
|
36 | 36 | </after>
|
| 37 | + <!-- Switch to USD-US Dollar--> |
| 38 | + <actionGroup ref="StorefrontSwitchCurrencyActionGroup" after="waitForProductPagePageLoad" stepKey="switchCurrency"> |
| 39 | + <argument name="currency" value="USD"/> |
| 40 | + </actionGroup> |
| 41 | + |
37 | 42 | <!-- click on PayPal payment radio button -->
|
38 | 43 | <waitForElement selector="{{CheckoutPaymentSection.paymentSectionTitle}}" after="guestCheckoutFillingShippingSection" stepKey="waitForPlaceOrderButton"/>
|
39 | 44 | <click selector="{{CheckoutPaymentSection.PayPalPaymentRadio}}" stepKey="guestSelectCheckMoneyOrderPayment"/>
|
|
0 commit comments