File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
app/code/Magento/Paypal/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 82
82
<actionGroup ref =" StorefrontAssertInvalidAddressErrorActionGroup" stepKey =" assertErrorMessageFromCartPage" >
83
83
<argument name =" invalidAddressError" value =" {{CheckoutCartMessageSection.invalidAddressError}}" />
84
84
</actionGroup >
85
- <!-- Open Mini Cart -->
86
- <actionGroup ref =" StorefrontOpenMiniCartActionGroup" stepKey =" openMiniCart" />
87
- <!-- Click on Paypal paypal button on mini cart page-->
88
- <actionGroup ref =" StorefrontClickPayPalButtonActionGroup" stepKey =" clickPayPalBtn" >
89
- <argument name =" selector" value =" {{SmartButtonsCartSection.ButtonsIframe}}" />
85
+ <click selector =" {{StorefrontMinicartSection.showCart}}" stepKey =" clickCart" />
86
+
87
+ <actionGroup ref =" ClickViewAndEditCartFromMiniCartActionGroup" stepKey =" openShoppingCart" />
88
+
89
+ <!-- Click Paypal button-->
90
+ <actionGroup ref =" SwitchToPayPalGroupBtnActionGroup" stepKey =" clickPayPalBtn" >
91
+ <argument name =" elementNumber" value =" 1" />
90
92
</actionGroup >
91
- <!-- Close Mini Cart-->
92
93
<click selector =" {{StorefrontMinicartSection.minicartclose}}" stepKey =" closeMiniCart" />
93
94
<!-- Assert invalid address error from mini cart page-->
94
95
<actionGroup ref =" StorefrontAssertInvalidAddressErrorActionGroup" stepKey =" assertErrorMessageFromMiniCartPage" >
You can’t perform that action at this time.
0 commit comments