File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
app/code/Magento/Paypal/Test/Mftf Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 17
17
<argument name =" countryCode" type =" string" defaultValue =" us" />
18
18
</arguments >
19
19
<amOnPage url =" {{AdminConfigPaymentMethodsPage.url}}" stepKey =" navigateToPaymentConfigurationPage" />
20
- <waitForPageLoad stepKey =" waitForPageLoad1 " />
21
- <waitForElementClickable selector =" {{OtherPayPalPaymentsConfigSection.expandTab(countryCode)}}" stepKey =" waitForExpandOtherPaypalConfigButton " />
22
- <click selector =" {{OtherPayPalPaymentsConfigSection.expandTab(countryCode)}}" stepKey =" expandOtherPaypalConfigButton" />
20
+ <waitForPageLoad stepKey =" waitForConfigPageLoad " />
21
+ <waitForElementVisible selector =" {{OtherPayPalPaymentsConfigSection.expandTab(countryCode)}}" stepKey =" waitForOtherPayPalPaymentsSection " />
22
+ <conditionalClick selector =" {{OtherPayPalPaymentsConfigSection.expandTab(countryCode)}}" dependentSelector = " {{OtherPayPalPaymentsConfigSection.expandedTab(countryCode)}} " visible = " false " stepKey =" expandOtherPaypalConfigButton" />
23
23
<scrollTo selector =" {{PayPalStandardConfigSection.configureBtn(countryCode)}}" x =" 0" y =" -80" stepKey =" scrollToConfigure" />
24
24
<waitForElementClickable selector =" {{PayPalStandardConfigSection.configureBtn(countryCode)}}" stepKey =" waitForPayPalStandardConfigureBtn" />
25
25
<click selector =" {{PayPalStandardConfigSection.configureBtn(countryCode)}}" stepKey =" clickPayPalStandardConfigureBtn" />
Original file line number Diff line number Diff line change 8
8
<sections xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
9
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Page/etc/SectionObject.xsd" >
10
10
<section name =" PayPalStandardConfigSection" >
11
- <element name =" configureBtn" type =" button" selector =" //button[@id=' payment_{{countryCode}}_paypal_group_all_in_one_wps_express-head'] " parameterized =" true" />
11
+ <element name =" configureBtn" type =" button" selector =" # payment_{{countryCode}}_paypal_group_all_in_one_wps_express-head" parameterized =" true" />
12
12
<element name =" email" type =" input" selector =" #payment_{{countryCode}}_paypal_group_all_in_one_wps_express_express_checkout_required_express_checkout_required_express_checkout_business_account" parameterized =" true" />
13
13
<element name =" apiMethod" type =" input" selector =" #payment_{{countryCode}}_paypal_group_all_in_one_wps_express_express_checkout_required_express_checkout_required_express_checkout_api_authentication" parameterized =" true" />
14
14
<element name =" username" type =" input" selector =" #payment_{{countryCode}}_paypal_group_all_in_one_wps_express_express_checkout_required_express_checkout_required_express_checkout_api_username" parameterized =" true" />
You can’t perform that action at this time.
0 commit comments