|
66 | 66 | <waitForElementClickable selector="{{AdminOrderFormShippingAddressSection.SameAsBilling}}" stepKey="waitForElementClickableSameAsBilling"/> |
67 | 67 | <selectOption userInput="" selector="{{AdminOrderFormBillingAddressSection.selectAddress}}" stepKey="addNewBillingAddress" /> |
68 | 68 | <waitForAjaxLoad stepKey="waitForAjaxLoad"/> |
69 | | - <fillField selector="{{AdminOrderFormBillingAddressSection.FirstName}}" userInput="{{US_Address_NY_Not_Default_Address.firstname}}" stepKey="fillBillingAddressFirstName"/> |
70 | | - <fillField selector="{{AdminOrderFormBillingAddressSection.LastName}}" userInput="{{US_Address_NY_Not_Default_Address.lastname}}" stepKey="fillBillingAddressLastName"/> |
71 | | - <fillField selector="{{AdminOrderFormBillingAddressSection.StreetLine1}}" userInput="{{US_Address_NY_Not_Default_Address.street[0]}}" stepKey="fillBillingAddressStreetLine1"/> |
72 | | - <fillField selector="{{AdminOrderFormBillingAddressSection.StreetLine2}}" userInput="{{US_Address_NY_Not_Default_Address.street[1]}}" stepKey="fillBillingAddressStreetLine2"/> |
73 | | - <selectOption userInput="{{US_Address_NY_Not_Default_Address.country}}" selector="{{AdminOrderFormBillingAddressSection.Country}}" stepKey="selectBillingAddressCountry"/> |
74 | | - <waitForLoadingMaskToDisappear stepKey="waitForLoadingMaskToDisappearCountry"/> |
75 | | - <selectOption userInput="{{US_Address_NY_Not_Default_Address.state}}" selector="{{AdminOrderFormBillingAddressSection.State}}" stepKey="selectBillingAddressState"/> |
76 | | - <waitForLoadingMaskToDisappear stepKey="waitForLoadingMaskToDisappearState"/> |
77 | | - <fillField selector="{{AdminOrderFormBillingAddressSection.City}}" userInput="{{US_Address_NY_Not_Default_Address.city}}" stepKey="fillBillingAddressCity"/> |
78 | | - <fillField selector="{{AdminOrderFormBillingAddressSection.PostalCode}}" userInput="{{US_Address_NY_Not_Default_Address.postcode}}" stepKey="fillBillingAddressPostalCode"/> |
79 | | - <fillField selector="{{AdminOrderFormBillingAddressSection.Phone}}" userInput="{{US_Address_NY_Not_Default_Address.telephone}}" stepKey="fillBillingAddressPhone"/> |
| 69 | + <actionGroup ref="FillOrderCustomerInformationActionGroup" stepKey="FillOrderNewShippingAddress"> |
| 70 | + <argument name="customer" value="$$simpleCustomer$$"/> |
| 71 | + <argument name="address" value="US_Address_NY_Not_Default_Address"/> |
| 72 | + </actionGroup> |
80 | 73 | <scrollTo selector="section#order-addresses" stepKey="scrollToSameAsBillingAddress2"/> |
81 | 74 | <helper class="\Magento\Sales\Test\Mftf\Helper\AdminProductPage" method="rapidChecksOnCheckBox" stepKey="rapidClickOnSameAsBillingAddressCheckbox"> |
82 | 75 | <argument name="context">{{AdminOrderFormShippingAddressSection.SameAsBilling}}</argument> |
|
90 | 83 | <argument name="suffix" value=""/> |
91 | 84 | <argument name="company" value=""/> |
92 | 85 | <argument name="streetLine1" value="{{US_Address_NY_Not_Default_Address.street[0]}}"/> |
93 | | - <argument name="streetLine2" value="{{US_Address_NY_Not_Default_Address.street[1]}}"/> |
| 86 | + <argument name="streetLine2" value=""/> |
94 | 87 | <argument name="countryId" value="{{US_Address_NY_Not_Default_Address.country_id}}"/> |
95 | 88 | <argument name="state" value="{{US_Address_NY_Not_Default_Address.state}}"/> |
96 | 89 | <argument name="province" value=""/> |
|
0 commit comments