File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/code/Magento/Paypal/Test/Mftf/ActionGroup Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 55 * See COPYING.txt for license details.
66 */
77-->
8+
89<actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
910 xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
1011 <actionGroup name =" SwitchToPayPalGroupBtnActionGroup" >
1314 </annotations >
1415 <arguments >
1516 <argument name =" elementNumber" type =" string" defaultValue =" 0" />
16- <argument name =" frameName" type =" string" defaultValue =" myFrame" />
1717 </arguments >
1818 <!-- set ID for iframe of PayPal group button-->
19- <executeJS function =" document.getElementsByClassName('component-frame')[{{elementNumber}}].setAttribute('name', '{{frameName}} ');" stepKey =" setIDForIframe" />
19+ <executeJS function =" document.getElementsByClassName('component-frame')[{{elementNumber}}].setAttribute('name', 'myFrame ');" stepKey =" setIDForIframe" />
2020 <!-- switch to iframe of PayPal group button-->
2121 <switchToIFrame userInput =" myFrame" stepKey =" switchToIframe" />
22- <waitForElementClickable selector =" {{CheckoutPaymentSection.PayPalBtn}}" stepKey =" waitForPayPalBtn" />
22+ <waitForElementVisible selector =" {{CheckoutPaymentSection.PayPalBtn}}" stepKey =" waitForPayPalBtn" />
2323 <click selector =" {{CheckoutPaymentSection.PayPalBtn}}" stepKey =" clickPayPalBtn" />
2424 <switchToIFrame stepKey =" switchBackToMainFrame" />
2525 </actionGroup >
You can’t perform that action at this time.
0 commit comments