Skip to content

Commit b108635

Browse files
committed
ACQE-7276 | Mainline PR deployment
Test Fix
1 parent 46021b8 commit b108635

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<!--
2+
/**
3+
* Copyright © Magento, Inc. All rights reserved.
4+
* See COPYING.txt for license details.
5+
*/
6+
-->
7+
8+
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
10+
<actionGroup name="EnterAddressDetailOfStoreFrontCustomerActionGroup">
11+
<annotations>
12+
<description>Fills in the provided Customer details (First/Last Name, Company, Phone # and Address) on the Admin Customer creation/edit page. Clicks on the Save button.</description>
13+
</annotations>
14+
<arguments>
15+
<argument name="Address"/>
16+
</arguments>
17+
<waitForPageLoad stepKey="waitForAddressPage"/>
18+
<fillField stepKey="fillFirstName" selector="{{StorefrontCustomerCreateAccountSection.firstName}}" userInput="{{Address.firstname}}"/>
19+
<fillField stepKey="fillLastName" selector="{{StorefrontCustomerCreateAccountSection.lastName}}" userInput="{{Address.lastname}}"/>
20+
<fillField stepKey="fillCompany" selector="{{StorefrontCustomerCreateAccountSection.company}}" userInput="{{Address.company}}"/>
21+
<fillField stepKey="fillPhoneNumber" selector="{{StorefrontCustomerCreateAccountSection.phoneNumber}}" userInput="{{Address.telephone}}"/>
22+
<fillField stepKey="fillStreetAddress1" selector="{{StorefrontCustomerCreateAccountSection.streetAddress1}}" userInput="{{Address.street[0]}}"/>
23+
<fillField stepKey="fillStreetAddress2" selector="{{StorefrontCustomerCreateAccountSection.streetAddress2}}" userInput="{{Address.street[1]}}"/>
24+
<fillField stepKey="fillCityName" selector="{{StorefrontCustomerCreateAccountSection.city}}" userInput="{{Address.city}}"/>
25+
<selectOption stepKey="selectCounty" selector="{{StorefrontCustomerCreateAccountSection.country}}" userInput="{{Address.country_id}}"/>
26+
<selectOption stepKey="selectState" selector="{{StorefrontCustomerCreateAccountSection.stateProvince}}" userInput="{{Address.state}}"/>
27+
<fillField stepKey="fillZip" selector="{{StorefrontCustomerCreateAccountSection.zip}}" userInput="{{Address.postcode}}"/>
28+
</actionGroup>
29+
</actionGroups>

app/code/Magento/Multishipping/Test/Mftf/Test/MultiShippingWithCreationNewCustomerAndAddressesDuringCheckoutTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
<waitForElementVisible selector="{{AdminCreateUserSection.createAnAccountButtonForCustomer}}" stepKey="waitCreateAnAccountButton"/>
107107
<click selector="{{AdminCreateUserSection.createAnAccountButtonForCustomer}}" stepKey="clickOnCreateAnAccountButton"/>
108108
<waitForPageLoad stepKey="waitForCreateAccountPageToLoad"/>
109-
<actionGroup ref="EnterAddressDetailsActionGroup" stepKey="enterAddressInfo">
109+
<actionGroup ref="EnterAddressDetailOfStoreFrontCustomerActionGroup" stepKey="enterAddressInfo">
110110
<argument name="Address" value="US_Address_CA"/>
111111
</actionGroup>
112112
<actionGroup ref="StorefrontFillCustomerCreateAnAccountActionGroup" stepKey="fillDetails">

0 commit comments

Comments
 (0)