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 8282 <actionGroup ref =" StorefrontAssertInvalidAddressErrorActionGroup" stepKey =" assertErrorMessageFromCartPage" >
8383 <argument name =" invalidAddressError" value =" {{CheckoutCartMessageSection.invalidAddressError}}" />
8484 </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" />
9092 </actionGroup >
91- <!-- Close Mini Cart-->
9293 <click selector =" {{StorefrontMinicartSection.minicartclose}}" stepKey =" closeMiniCart" />
9394 <!-- Assert invalid address error from mini cart page-->
9495 <actionGroup ref =" StorefrontAssertInvalidAddressErrorActionGroup" stepKey =" assertErrorMessageFromMiniCartPage" >
You can’t perform that action at this time.
0 commit comments