Skip to content

Commit ba75f0d

Browse files
kieuphan2406Rrego6
authored andcommitted
MC-32679: Create automated Paypal tests
- Added fixes for label tests
1 parent 6bbd142 commit ba75f0d

3 files changed

+3
-3
lines changed

app/code/Magento/Paypal/Test/Mftf/Test/StorefrontCheckPayPalSmartButtonWithCheckoutLabelOnCartPageTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
<actionGroup ref="ClickViewAndEditCartFromMiniCartActionGroup" stepKey="goToPayPalSmartButtonPage"/>
3838

39-
<actionGroup ref="SwitchToPayPalGroupBtnActionGroup" stepKey="switchToIframe">
39+
<actionGroup ref="StorefrontSwitchToPayPalButtonIframeActionGroup" stepKey="switchToIframe">
4040
<argument name="elementNumber" value="1"/>
4141
</actionGroup>
4242
<!-- Check PayPal smart button configurations -->

app/code/Magento/Paypal/Test/Mftf/Test/StorefrontCheckPayPalSmartButtonWithInstallmentLabelOnMiniCartTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
</before>
3131
<after>
3232
<magentoCLI command="config:set {{StorefrontPaypalMiniCartDisableCustomizeButtonConfigData.path}} {{StorefrontPaypalMiniCartDisableCustomizeButtonConfigData.value}}" stepKey="disableCustomizeButton"/>
33-
<magentoCLI command="config:set {{GeneralLocalCodeConfigsForMexico.path}} {{GeneralLocalCodeConfigsForUS.value}}" stepKey="setLocaleUS"/>
33+
<magentoCLI command="setup:static-content:deploy {{GeneralLocalCodeConfigsForUS.value}}" stepKey="setLocaleUS"/>
3434
</after>
3535
<!-- Add Product to Cart -->
3636
<actionGroup ref="StorefrontAddSimpleProductToShoppingCartActionGroup" before="goToPayPalSmartButtonPage" stepKey="addProductToCart">

app/code/Magento/Paypal/Test/Mftf/Test/StorefrontCheckPayPalSmartButtonWithPayLabelOnCartPageTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<argument name="product" value="$createProduct$"/>
3535
</actionGroup>
3636
<actionGroup ref="ClickViewAndEditCartFromMiniCartActionGroup" stepKey="goToPayPalSmartButtonPage"/>
37-
<actionGroup ref="SwitchToPayPalGroupBtnActionGroup" stepKey="switchToIframe">
37+
<actionGroup ref="StorefrontSwitchToPayPalButtonIframeActionGroup" stepKey="switchToIframe">
3838
<argument name="elementNumber" value="1"/>
3939
</actionGroup>
4040
<!-- Check PayPal smart button configurations -->

0 commit comments

Comments
 (0)