Skip to content

Commit 945dba2

Browse files
authored
ACQE-6361 | [AC-3995] Customer is notified if address is invalid for PayPal through Checkout flow
Incorporated Comments . Utilized existing AG
1 parent 5f509e9 commit 945dba2

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

app/code/Magento/Paypal/Test/Mftf/Test/StorefrontNotifyInvalidAddressToCustomerForPayPalCheckoutTest.xml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,10 @@
5353
<fillField selector="{{CheckoutShippingSection.street}}" userInput="[email protected]" stepKey="SetInvalidStreetAddress"/>
5454
<waitForElementVisible selector="{{CheckoutShippingSection.country}}" stepKey="waitToSelectCountry"/>
5555
<selectOption selector="{{CheckoutShippingSection.country}}" userInput="United States" stepKey="selectCountryInStorefrontAddressBook"/>
56-
<waitForElementVisible selector="{{CheckoutShippingSection.region}}" stepKey="waitToSelectState"/>
57-
<selectOption selector="{{CheckoutShippingSection.region}}" userInput="California" stepKey="selectStateInStorefrontAddressBook"/>
58-
<fillField selector="{{CheckoutShippingSection.city}}" userInput="[email protected]" stepKey="SetInvalidCity"/>
59-
<fillField selector="{{CheckoutShippingSection.postcode}}" userInput="[email protected]" stepKey="SetInvalidZipCode"/>
60-
<fillField selector="{{CheckoutShippingSection.telephone}}" userInput="[email protected]" stepKey="SetInvalidPhoneNumber"/>
56+
<actionGroup ref="GuestCheckoutFillNewShippingAddressActionGroup" stepKey="guestCheckoutFillingShippingSection">
57+
<argument name="customer" value="CustomerEntityOne" />
58+
<argument name="address" value="CustomerInvalidAddress" />
59+
</actionGroup>
6160
<!--Select Flat Rate shipping method-->
6261
<waitForElementClickable selector="{{CheckoutShippingMethodsSection.shippingMethodFlatRate}}" stepKey="waitForFlatRateShippingMethod"/>
6362
<actionGroup ref="CheckoutSelectFlatRateShippingMethodActionGroup" stepKey="selectFlatRateShippingMethod"/>

0 commit comments

Comments
 (0)