Skip to content

Commit 7735db7

Browse files
committed
MC-32679: Create automated Paypal tests
- Fix Mexico Minicart Test cleanup
1 parent 597a841 commit 7735db7

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

app/code/Magento/Paypal/Test/Mftf/ActionGroup/SwitchToPayPalGroupBtnActionGroup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<arguments>
1616
<argument name="elementNumber" type="string" defaultValue="0"/>
1717
</arguments>
18-
<!--<waitForElementVisible selector="{{CheckoutPaymentSection.smartButtonPayPalFrame}}" stepKey="waitForIframeVisible"/>-->
18+
<waitForElementVisible selector="{{CheckoutPaymentSection.smartButtonPayPalFrame}}" stepKey="waitForIframeVisible"/>
1919
<!--set ID for iframe of PayPal group button-->
2020
<executeJS function="document.getElementsByClassName('component-frame')[{{elementNumber}}].setAttribute('name', 'myFrame');" stepKey="setIDForIframe"/>
2121
<!--switch to iframe of PayPal group button-->

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@
1818
<testCaseId value="MC-28711"/>
1919
<group value="paypal"/>
2020
<group value="paypalExpress"/>
21-
<skip>
22-
<issueId value="MQE-1576"/>
23-
</skip>
2421
</annotations>
2522
<before>
2623
<magentoCLI command="setup:static-content:deploy {{GeneralLocalCodeConfigsForMexico.value}}" stepKey="deployStaticContentWithMexicoLocale"/>
@@ -32,6 +29,8 @@
3229
<magentoCLI command="config:set {{GeneralLocalCodeConfigsForMexico.path}} {{GeneralLocalCodeConfigsForMexico.value}}" stepKey="setLocaleMexico"/>
3330
</before>
3431
<after>
32+
<magentoCLI command="setup:static-content:deploy {{GeneralLocalCodeConfigsForUS.value}}" stepKey="deployStaticContentWithUSLocale"/>
33+
<magentoCLI command="config:set {{GeneralLocalCodeConfigsForUS.path}} {{GeneralLocalCodeConfigsForUS.value}}" stepKey="setLocaleUS"/>
3534
<magentoCLI command="config:set {{StorefrontPaypalMiniCartDisableCustomizeButtonConfigData.path}} {{StorefrontPaypalMiniCartDisableCustomizeButtonConfigData.value}}" stepKey="disableCustomizeButton"/>
3635
</after>
3736
<!-- Add Product to Cart -->

0 commit comments

Comments
 (0)