Skip to content

Commit 2680325

Browse files
committed
ACQE-8617: [MFTF TESTS] GuestCheckoutWithPayPalButtonFromCheckoutPageFreeShippingTest
- Fix paypal screen change issue
1 parent 36d4d6f commit 2680325

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
</arguments>
1818
<waitForElementClickable selector="{{PayPalPaymentSection.changeShippingAddressButton}}" stepKey="waitForChangeShippingAddressButton"/>
1919
<click selector="{{PayPalPaymentSection.changeShippingAddressButton}}" stepKey="clickChangeShippingAddressButton"/>
20-
<waitForElementClickable selector ="{{PayPalPaymentSection.shippingAddressDropdown(address.ShippingAddress)}}" stepKey="waitForAddressDropdown"/>
21-
<executeJS function="document.evaluate(&quot;{{PayPalPaymentSection.shippingAddressDropdown(address.ShippingAddress)}}&quot;, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.click();" stepKey="selectShippingAddress"/>
20+
<waitForElementClickable selector="{{PayPalPaymentSection.shippingAddressDropdown(address.ShippingAddress)}}" stepKey="waitForAddressDropdown"/>
21+
<click selector="{{PayPalPaymentSection.shippingAddressDropdown(address.ShippingAddress)}}" stepKey="selectShippingAddress"/>
2222
</actionGroup>
2323
</actionGroups>
2424

app/code/Magento/Paypal/Test/Mftf/Data/PaypalAddressData.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:DataGenerator/etc/dataProfileSchema.xsd">
1111
<entity name="ShippingAddressUS">
1212
<data key="shippingCustomerName">US cust1</data>
13-
<data key="ShippingAddress">6161 West Centinela Avenue, Culver City, CA 90230</data>
13+
<data key="ShippingAddress">6161 W Centinela Avenue, Culver City, CA 90230</data>
1414
</entity>
1515
</entities>

0 commit comments

Comments
 (0)